Summary: | Cursors do not respect scale factor on X11 | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Nate Graham <nate> |
Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | normal | CC: | eridanired123, kamikazow, karl, mike, philipp.reichmuth, postix, xaver.hugl |
Priority: | NOR | Flags: | nate:
Wayland-
nate: X11+ |
Version: | git master | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Nate Graham
2020-06-06 19:44:50 UTC
X11 is affected; Wayland is not. There is an underlying X issue here. You can see this from how cursor scaling depends on the window the cursor is over. E.g. if you set cursor size to 48px in the cursor KCM, the cursor still reverts back to tiny when you hover over an Xterm. Other applications where I'm observing this is the Brave browser where I'm now typing this, or the SoftMaker office package. This is on OpenSUSE Tumbleweed with Qt 5.15, Plasma 5.19, Frameworks 5.70, Thinkpad Yoga X1 2560x1440 screen, scale factor set to 200%, cursor size set to 48px in the cursor KCM. Xft.dpi is set to 192 in .Xresources, and "xrdb -query all" reports Xcursor.size 48 (as set by the cursor KCM?). *** Bug 423934 has been marked as a duplicate of this bug. *** The problem is that kwin ignores the scale factor on X11. Not sure how we can fix this bug. Unhelpful comment: by making it respect the scale factor on X11! :D I'm here all week, folks... > Unhelpful comment: by making it respect the scale factor on X11!
We will break basically every application if we start honoring the scale factor.
Would it be possible to teach KWin how to respect the scale factor for things only under our control where we can make sure it doesn't break, then? E.g. the cursor, window decorations, the window decoration pop-up menu, etc. I think an inconsistent cursor size would be worse than just having the same wrong one always. It's not really fixable, and it works correctly on Wayland, so I'm closing this |