-
-
Notifications
You must be signed in to change notification settings - Fork 172
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
[run_scaled] Incorrect scaling #3072
Comments
Does the problem go away if you change My guess is that your applications are using the DPI from the vfb (no idea which one is used in arch - xvfb? Xdummy?), which is just the default value until the client actually connects.
We can't just add every command line argument to Another way of dealing with this is to make your settings permanent - if that's applicable to you:
|
Unfortunately, this doesn't solve the problem.
Oh thanks, this works for me. |
Then xpra's xvfb may be misconfigured in ArchLinux. |
That's strange. I've been actually using xf86-video-dummy-xpra-patch. Doesn't it apply the patches properly?
This doesn't help either. BTW, I just noticed that the original |
And this is exactly what has been added: e6a2c64 As for the actual scaling issue, I'm still not sure what I am looking at. |
Had a try with Qt4 Designer. Without
Text is in normal size, but the widgets are too small. With
Both text and widgets are too large for my screen.
Widgets are likely in normal size, but the text is still a little too large. Formally Guake sets
The text looks better this time. I also noticed that the Xpra window is smaller after setting After setting The tests above are done in Wayland session. My current GNOME Shell version is 41.1, Xpra version is 4.2.2. |
I assume that this is fixed in newer versions. |
I'm using Arch Linux with GNOME (Wayland).
run_scaled-git
in AUR andxpra
v4.0.6-3 from [community] repo can provide expected scaling. However,xpra-git
v4.1.r257.g37b6dc36f-1 doesn't scale the application correctly.Use the executable
qq
in AUR packagelinuxqq
as an example. When running withoutrun_scaled
, its window looks like this:With
run_scaled qq
, the window appears to be too large:With
run_scaled --scale=1 qq
, the window size appears to be normal, but the words are too large for the interface:Curiously, when executing
run_scaled
in Guake, this scaling issue is gone, though the words are greyed out (might be related to the dark theme):All the other ways I tried to launching
run_scaled
, including GNOME Terminal, Nautilus Terminal, the terminal in VSCode, and launching through a desktop entry, can reproduce the issue. I also noticed that Xpra starting window is also smaller whenrun_scaled
is launched with Guake.The version ofThe tests above were performed with the script provided by the latest Xpra.run_scaled
script itself (the original shell script, my own re-write version according to the shell script, or the one comes with the latest Xpra) seems to be unrelated.BTW, it would be nice to add input method support to
run_scaled
. Currently, I can't use the input methodfcitx5
in an application scaled byrun_scaled
without editing the script to specify the arguments--input-method=keep
and--start=fcitx5
.The text was updated successfully, but these errors were encountered: