Bug#986821: freecad: Garbled menu makes freecad unusable

Tobias Frost tobi at debian.org
Sat Jan 4 09:35:57 GMT 2025


Control: close -1
Control:_fixed -1 1.0.0+dfsg-1


Short update after 1.0 is in unstable:

On Wed, 10 May 2023 16:14:29 +0200 Werner Mayer <werner.wm.mayer at gmx.de>
wrote:
> Hi tobi,
> 
> > It is still garbled when running it with QT_SCALE_FACTOR=0.9
> Setting a value < 1 doesn't only cause problems with FreeCAD but with
> other Qt applications, too.
> 
> For example, Qt Designer's user interface is completely garbled, not
> only the menus. For other Qt based applications (assistant, linguist,
> cmake-gui, vlc) it doesn't look much better.
> 
> So, there are two causes to get a garbled user interface:
> 
> * Changing the DPI value of the system. This is fixed with the
> suggestion of my last mail.
> Alternatively, this can be tested by setting the environment variable
> QT_FONT_DPI (e.g. QT_FONT_DPI=80)

This seems to be fixed in FreeCAD 1.0 - at least here everything looks
fine when playing with that env. (used several values between 50 and
150)

> * Setting a value < 1 for QT_SCALE_FACTOR. This is not specific to
> FreeCAD but is a general Qt issue that affects many other
applications.


Ok, seems indeed not limited to FreeCAD and after finding 
https://forum.qt.io/topic/126067/qt_scale_factor-issue-for-values-1 and
the linked issue therein-
https://bugreports.qt.io/plugins/servlet/mobile#issue/QTBUG-51552,
QT_SCALE_FACTOR < 1 is not supported by QT.

> BR,
> Werner

So I guess this bug can be closed. (If needed, please reopen)



More information about the debian-science-maintainers mailing list