Bug 377794 - Mouse cursors are oversized when using a rotated screen
Summary: Mouse cursors are oversized when using a rotated screen
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.8.6
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-19 09:40 UTC by Martin Ueding
Modified: 2017-03-21 13:43 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Mouse cursor on (left) Windows decoration, (middle) Firefox bulk, and (bottom) Plasma panel (95.50 KB, image/png)
2017-03-19 09:40 UTC, Martin Ueding
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Ueding 2017-03-19 09:40:54 UTC
Created attachment 104643 [details]
Mouse cursor on (left) Windows decoration, (middle) Firefox bulk, and (bottom) Plasma panel

I use a screen which is rotated by 90 degrees. This leads to strange DPI settings, all the text will become huge. I work around this by calling `xrandr --dpi 96` after rotating the screen.

The mouse cursors are still very strange. On the Breeze decoration, it is comically oversized. Within Firefox, it has the normal size but a different shape. And on the Plasma Panel, the cursor is really large again. Resize handles are also very large.

I guess this has something to do with DPI scaling.

I'm using Fedora 25 with KDE Frameworks 5.32.0.
Comment 1 Martin Flöser 2017-03-19 17:17:34 UTC
You could try setting a specific resolution in the mouse cursor theme. In general the theme is loaded based on the DPI. If you have a weird dpi, the mouse cursor might get weird. Nothing special there. Given that: hardcode the mouse cursor theme size in the config module.
Comment 2 Martin Ueding 2017-03-19 17:21:40 UTC
Yes, that fixed it. Thanks!