The reason for incomplete character display in the Designer UI dialog on Linux might be caused by the following factors #2116
Closed
Terracotta-6
started this conversation in
General
Replies: 2 comments 3 replies
-
|
Are you using Wayland? |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
After installing Ubuntu 24.04.3 LTS and testing Wayland, there are still minor issues. The dialog box works normally again after switching to X11.
Testing is finished; closing this discussion thread. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment





Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Main Causes
Font Rendering Differences:
rendering on Windows or macOS
DPI and Scaling Settings:
Qt Styles and Themes:
Window Manager Behavior:
Why Characters Display Properly After Maximize and Restore?
When the dialog is maximized and then restored, the following operations are triggered:
Potential Solutions
Check Qt Font Settings:
Ensure correct font metrics in code
font_metrics = QFontMetrics(font)
width = font_metrics.width(text)
Adjust Dialog Initialization Code:
Linux-specific Settings:
✦ This issue is likely related to Qt's font metrics and layout calculations on Linux. The maximize-then-restore
operation triggers a re-layout, resolving the initial dimension calculation errors.
Beta Was this translation helpful? Give feedback.
All reactions