Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

in dom0, qt doesn't respect scaling configuration set by xfce #9543

Open
xyhhx opened this issue Oct 26, 2024 · 0 comments
Open

in dom0, qt doesn't respect scaling configuration set by xfce #9543

xyhhx opened this issue Oct 26, 2024 · 0 comments
Labels
affects-4.2 This issue affects Qubes OS 4.2. C: desktop-linux-xfce4 Support for XFCE4 hardware support needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.

Comments

@xyhhx
Copy link

xyhhx commented Oct 26, 2024

How to file a helpful issue

Qubes OS release

R4.2.2

Brief summary

when using qubes os on a computer with a hidpi monitor, and configure xfce in dom0 to scale accordingly (2x), qt is unaffected. this affects qubes manager (among others) resulting in it still being tiny even when the rest of the desktop environment is properly scaled.

a workaround is documented in the arch wiki1: a user can set QT_SCALE_FACTOR2 in /etc/environment to resolve this; but perhaps dom0 could do this by default if a hidpi screen is detected

Steps to reproduce

  1. buy a computer with a hidpi monitor
  2. install qubes
  3. configure scaling in xfce in dom0
  4. launch a qt application (for example qubes manager)
  5. behold, it is tiny

Expected behavior

qt applications should respect scaling settings set by the desktop environment (xfce appearance settings)

Actual behavior

qt does not respect the desktop environment's scaling configuration, and requires setting environment variables to work properly

Footnotes

  1. https://wiki.archlinux.org/title/HiDPI#Qt_5

  2. QT_SCREEN_SCALE_FACTORS might be a better workaround if a user has numerous monitors

@xyhhx xyhhx added P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists. labels Oct 26, 2024
@andrewdavidwong andrewdavidwong added C: desktop-linux-xfce4 Support for XFCE4 hardware support needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. affects-4.2 This issue affects Qubes OS 4.2. labels Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-4.2 This issue affects Qubes OS 4.2. C: desktop-linux-xfce4 Support for XFCE4 hardware support needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.
Projects
None yet
Development

No branches or pull requests

2 participants