-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
HiDPI support meta-issue #797
Comments
Gaps are 2x bigger on hidpi (should be scaled). |
Client-side support done as of 0913eff...af44154 |
I get mouse cursor size issues when adding scale 2x to my config. On the title bar and background surfaces the mouse cursor is really tiny (not scaled at all), and in urxvt or weston-terminal (i.e. both wayland and xwayland apps) the mouse cursor is 4x the size. I dont get the correct size of the cursor anywhere. |
I have mouse cursor scale issues without any scaling specified in my config. Above Qt clients (qutebrowser, qtcreator) it appears double the expected size, anything not-Qt is ok (xterm, wlterm, chromium, firefox). |
Programs running in XWayland are scaled correctly, but this is done (presumably) by rendering them at a low resolution and scaling them up because they are all low res and bury. A better solution would be to render them at full resolution with the proper HiDPI X11 settings or even have some mechanism to choose between the two options (since not everything works well on HiDPI). I know this is possible because Gnome does it and everything looks great. I'm willing to help implement this if you point me in the right direction. (btw, is this the right place or should I start a new issue?) |
Choosing between the two options does not seem possible, see: Enerccio/ewlc#82 |
Note that sway doesn't use ewlc. If you'd like to see XWayland DPI improvements in Sway, they should be submitted to wlc. |
@SirCmpwn sway can be build with ewlc (tested):
|
That doesn't surprise me, but we're still not switching right now. |
Of course, I mean more in a way that optionally someone can do it themselves |
I have submitted an issue to wlc also, Cloudef/wlc#268 |
Gnome is planning to implement fractional scaling: https://blogs.gnome.org/mclasen/2017/05/19/fractional-scaling-goes-east/ |
The hidpi branch was merged, just use stable releases. |
By the way, I would love to have a way that disables all upscaling of non-highdpi-aware applications while still correctly telling the others about scale factors and scaling them down on non-highdpi displays (what you described in swaywm/wlroots#329). Right now I have highdpi disabled even for my 4k monitor because I strongly prefer hard-to-read over blurry. |
Would it be possible that sway renders xwayland windows at 1x, even if scale=2 is set in the sway config? Then, scaling could be set within x11 so that xwayland windows (with scaling support) will be rendered crisply? Edit: I guess this is covered in #1047 |
This is done 🎉 |
The text was updated successfully, but these errors were encountered: