Freecad .19 GUI Issues on Manjaro Linux [SOLVED]

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
darbu12345
Posts: 2
Joined: Wed Apr 21, 2021 7:16 pm

Freecad .19 GUI Issues on Manjaro Linux [SOLVED]

Post by darbu12345 »

Hi all,

I've been using FreeCAD for a long time, and I'm quite a fan!
This is my first post, so far I've never met an issue I can't resolve on my own, but the last few weeks have been quite frustrating.

Ever since I upgraded to a 4k monitor, the FreeCAD GUI has been putting up a fight. Usually, I used to run Freecad from the latest APP image, but icons and text there are too small, and the GUI is not cooperating with system-wide settings like general scaling and qt5 font size settings.

I was happy to see that FreeCAD was back on the supported packages of Manjaro again, and I decided to install it. The good news is that now the text size is responding to changes from qt5 settings, but all of the Icons and drop-down menus are messed up, misaligned, and constantly disappearing.
freecad-gui.png
freecad-gui.png (286.92 KiB) Viewed 519 times
I did not find a similar issue on the forum.
I'm running with the latest Nvidia drivers available for my kernel.

My guess is that there is something wrong with my qt5 environment, but I have no idea what to do, what to check, in order to fix my issue :/.

This info is from the package installed from the Manjaro repos:

Manjaro Linux (XFCE/xfce)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24276 (Git)
Build type: Release
Branch: makepkg
Hash: a88db11e0a908f6e38f92bfc5187b13ebe470438
Python version: 3.9.2
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/United States (en_US)
Last edited by darbu12345 on Thu Apr 22, 2021 2:29 pm, edited 2 times in total.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Freecad .19 GUI Issues on Manjaro Linux

Post by Kunda1 »

This is a HiDPI thing. Search for that in the forum.
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
darbu12345
Posts: 2
Joined: Wed Apr 21, 2021 7:16 pm

Re: Freecad .19 GUI Issues on Manjaro Linux

Post by darbu12345 »

Hi Kunda1,

Thank you for the speedy reply!
You are correct! Turns out the issue is with QT5 handling the high dpi scaling.

In order to fix the issue I added the following to my bashrc:

Code: Select all

#Disable qt auto-scale
export QT_AUTO_SCREEN_SCALE_FACTOR=0
#Set manual scaling factor
export QT_SCALE_FACTOR=1.5
Post Reply