kicadStepUpMod icon indicating copy to clipboard operation
kicadStepUpMod copied to clipboard

Preferences is squished.

Open mwoehlke-kitware opened this issue 2 years ago • 7 comments

Many of the labels are unreadable or nearly so:

image

Possibly related to display scaling?

mwoehlke-kitware avatar Apr 04 '23 14:04 mwoehlke-kitware

@mwoehlke-kitware would you mind to post your full FreeCAd info? Moreover from your picture it seems the preferences are squished in all preferences tabs/wbs... Probably is an issue in FreeCAD or your video drivers and your display scaling or your FC stylesheet (i.e. Dark Theme font size) PS I'm using FC on a High DPI monitor without issues

OS: Windows 10 Version 1909
Word size of FreeCAD: 64-bit
Version: 0.21.0.32637 (Git)
Build type: Release
Branch: master
Python 3.10.10, Qt 5.15.8, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3

easyw avatar Apr 04 '23 15:04 easyw

The side icon menu does also seem broken. However, native preferences pages seem (mostly) okay. For example: image

(The color picker button might be too small, but the rest looks reasonable. I do notice the odd widget here and there that seems dodgy, but for the most part, native stuff isn't nearly the mess that KSU's page is. I don't know if that's KSU's fault specifically, or due to the way add-on preference pages are implemented.)

I don't know what you mean by "full FreeCAD info"? I am using:

freecad-0.20.2-1.fc37.x86_64
qt5-qtbase-5.15.8-6.fc37.x86_64
python3-3.11.2-1.fc37.x86_64

I doubt very much it's a video driver issue; it's almost certainly due to widget layout being done incorrectly. I'm not aware that I'm using a "FC stylesheet", or even how I would apply such a thing; the colors are just my regular system colors used by all applications.

The font size appears correct. It looks like the layout is being calculated according to 1x scale but it's then trying to draw everything at (correct) 2x scale within that layout.

mwoehlke-kitware avatar Apr 04 '23 16:04 mwoehlke-kitware

to get full FC info please follow as below:

Open the Help --> About FreeCAD menu then click on the "Copy to clipboard" button, and paste its content in the text input area. This will provide us valuable information on your exact version and revision number, your operating system as well as FreeCAD's internal libraries. (Mac users: the About FreeCAD menu is under the FreeCAD menu.) Please do not attach a screen capture instead of posting the Help > About FreeCAD information from the clipboard.

Are you on Linux with a flatpack or snap version?

easyw avatar Apr 04 '23 21:04 easyw

OS: Fedora Linux 37 (Thirty Seven) (KDE/plasmax11)
Word size of FreeCAD: 64-bit
Version: 0.20.2.Unknown
Build type: Unknown
Python 3.11.1, Qt 5.15.8, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods: 
  * kicadStepUpMod 10.18.4
  * sheetmetal 0.2.60

Are you on Linux [...]

Yes.

[...] with a flatpack or snap version?

No. As previously noted, I'm using freecad-0.20.2-1.fc37.x86_64, a.k.a. the distro package.

mwoehlke-kitware avatar Apr 04 '23 22:04 mwoehlke-kitware

I tried in Mint20 with HIDPI 2x without issues... fc-daily-mint20-hidpi-prefs

still in your screenshot it seems kSU pref page is not enlarged as it should ... I would need to investigate a bit more

easyw avatar Apr 05 '23 09:04 easyw

ATM I don't have any clue on what could be done to remove this issue. Since your side menu is broken too, it could be a Fedora issue in handling HDPI Qt pages.

easyw avatar Apr 10 '23 19:04 easyw

This looks like an issue with FreeCAD itself and as @easyw said probably a packaging issue related to HiDPI. May be try using the AppImage ?

latest stable version: https://github.com/FreeCAD/FreeCAD-Bundle/releases/tag/0.21.1
development version: https://github.com/FreeCAD/FreeCAD-Bundle/releases/tag/weekly-builds

luzpaz avatar Nov 02 '23 14:11 luzpaz