July 4, 2022, 11:39pm
I have this issue on quite a few of my systems, Freecad’s UI is broken:
Version: FreeCAD 0.19, Libs: 0.19R24415 (Git)
Freecad is completely unusable. Any hints what could cause this?
Few issues with the Freecad UI that are known is due the way you set the theme.
So, if you set your better workspace in FreeCAD without Kvnatum, and once you are happy with it apply a Kvantum theme, doesn’t work?
Hello, I have a problem with Freecad 0.19. I’m not sure if it a problem from OS or software itself, so I think I will ask here and Freecad forum too. I have tried searching but did not see anyone ask about it.
When I use Freecad and click on every Dropdown menu it has no background, only text floating on the list, make it hard to read.
I have tried change Gnome’s theme but it not solved the problem. Never happen before when I use Freecad 0.18.
Unless is something else, you should be specific, on my end all looks fine.
Thanks for the pointer. Indeed my other workstations did not have kvantum so i ran ‘pacman -Rcs kvantum’ resulting in:
[2022-07-06T05:26:25+0200] [ALPM] removed kvantum-theme-matchama (20191118-1)
[2022-07-06T05:26:25+0200] [ALPM] removed kvantum-theme-matcha (20190810-1)
[2022-07-06T05:26:25+0200] [ALPM] removed kvantum-manjaro (0.13.5+1+g333aa00-1)
[2022-07-06T05:26:25+0200] [ALPM] removed kvantum (1.0.0-1)
[2022-07-06T05:26:25+0200] [ALPM] removed kwindowsystem (5.91.0-1)
I rebooted after that but the problem remained unchanged, any leftovers i might have missed? or should i assume for now that kvantum was not responsible?
July 6, 2022, 12:40pm
you should be specific
Would love to share a screenshot, but I’m not allowed to do that yet. I’ll try to describe as best i can. 3D view and controls works fine, menu’s appear, but hovering them results in glitched text. Menu’s are also drawn in the wrong place and icons are chopped or missing.
I’m running Manjaro XFCE, i believe originally a spin from 2017 as base install.
This will help you do that
[HowTo] post screenshots and links
You need to check what are you using for Qt applications and if you have an environment variable.
Personally i prefer
If you took care of the updates so far and also followed the changes that came with, as for example this
then that should be an easy fix.
Otherwise maybe this will help
From what i recall, QT_QPA_PLATFORMTHERE=qt5ct (at the time of qt5ct, now qt6ct) was set in ~/.profile, and qt5ct was configured to use kvantum. One could also directly use export QT_STYLE_OVERRIDE=kvantum instead in order not to use qt5ct as intermediary. (I now have those commented since i switched to KDE.)
July 10, 2022, 1:33am
I’m aware of the problems with qt5-styleplugins, but since Freecad was running without crashing i found it difficult to blame it on styleplugins.
While overthinking the issue i concluded the rendering of the fonts was the only problem. And then it dawned on me, the affected systems have low DPI monitors.
I then ran Freecad using the following line:
This turned out to be the fix. Apparently display DPI isn’t properly applied or detected by QT?
Seems to be a known issue: https://forum.freecadweb.org/viewtopic.php?p=461864#p461864
Best solution is to run freecad like this:
QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_SCALE_FACTOR=1. freecad
July 12, 2022, 3:34pm
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.