Bug 372451 - mouse cursor is small in titlebar, large elsewhere
Summary: mouse cursor is small in titlebar, large elsewhere
Status: RESOLVED DUPLICATE of bug 376245
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_mouse (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR minor
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-13 23:28 UTC by skierpage
Modified: 2018-02-24 15:24 UTC (History)
7 users (show)

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


Attachments
window screenshot showing the large pointer (68.12 KB, image/png)
2016-11-13 23:28 UTC, skierpage
Details
window screenshot showing the small pointer in the titlebar (67.63 KB, image/png)
2016-11-13 23:29 UTC, skierpage
Details
output of `kscreen-console bug` (14.75 KB, text/plain)
2016-11-13 23:30 UTC, skierpage
Details

Note You need to log in before you can comment on or make changes to this bug.
Description skierpage 2016-11-13 23:28:03 UTC
Created attachment 102221 [details]
window screenshot showing the large pointer

In Fedora 25 beta KDE spin with an external monitor attached. The cursor/pointer is big on the desktop, big in window contents, but small in the titlebar, see attached screenshots.

I was using default settings: Fedora Look and Feel (looks like Breeze),Fedora Twenty Five desktop theme (looks like Breeze), and Breeze cursor theme. The cursor size is "Resolution dependent". The large size matches the cursors shown in Mouse Cursor Theme setting. I tried switching themes and got similar behavior: in Adwaita the difference in size is less apparent, maybe because it offers a 32 size cursor. After fiddling with themes the resize cursors on window edge are now small where they used to be large.

I'm running System Settings 5.8.1 (and KDE Frameworks 5.27.0) but this version is not available in the bugzilla dropdown.

Possibly KDE bug 301622 is related: the large cursors are very large, much larger than my text size.
Comment 1 skierpage 2016-11-13 23:29:07 UTC
Created attachment 102222 [details]
window screenshot showing the small pointer in the titlebar
Comment 2 skierpage 2016-11-13 23:30:51 UTC
Created attachment 102223 [details]
output of `kscreen-console bug`
Comment 3 Christoph Feck 2016-11-14 03:00:08 UTC
This means KWin is started with a different logical DPI than the other applications, most probably because that setting is applied asynchronously with KWin startup.

Fedora has some cross-desktop configuration tool for this, which might be another cause for the issue, depending on which time it is started and applies its configuration.

I suggest to try this with a different distribution before reporting this to Fedora developers.
Comment 4 Paul McAuley 2017-02-12 20:34:45 UTC
I also see this on OpenSUSE Leap 42.2, KDE 5.8.3. You can easily see the difference in pointer size if you increase the scaling setting in the Displays settings.
Comment 5 Ashley 2017-02-14 22:45:51 UTC
I'm using KDE Neon (KDE 5.9 on Ubuntu 16.04). I'm running it on a Macbook with Retina display. I scaled the display to 2x in system settings. 

The mouse cursor behaviour varies from run-to-run. It is normally the correct size (i.e. 48x) when:

- on the desktop background
- within the window borders in an application, apart from Firefox
- on icons, text elements and the taskbar

It is normally the incorrect size (i.e. 24x) when:

- on the backgrounds of taskbar widgets, e.g. calender, launcher, volume, etc, unless over a text element or icon within that taskbar widget
- on window borders (upper, lower, left, right) and the window title (i.e. generally window decorations)

Setting the cursor size to 48x instead of resolution dependent does not affect behaviour. Occasionally, a restart, or a power-down, wait a while, power-up, fixes some instances. For example, right now, it's correct everywhere apart from within the window borders on Firefox.

The behaviour does not seem to be dependent on cursor theme.
Comment 6 Ashley 2017-02-16 18:50:12 UTC
Update: the behaviour seems to be consistent now. The cursor is the correct size everywhere apart from Firefox and Emacs, so this may be a GTK related issue.
Comment 7 Tony 2017-04-29 11:10:37 UTC
I get this one on neon unstable, but only on Wayland and using breeze for cursors.
Comment 8 Patrick Silva 2017-05-13 19:07:02 UTC
I can confirm this on neon dev, Wayland session.
Comment 9 Patrick Silva 2017-05-16 14:51:51 UTC
Same on Arch running plasma 5.10 beta under Wayland.
Comment 10 skierpage 2017-05-27 00:19:08 UTC
Is this a dupe of bug 376245 , or vice-versa?
Comment 11 RussianNeuroMancer 2017-09-05 21:46:39 UTC
skierpage, I guess Wayland issue could be separate issue. It's very consistent for me on real hardware and in KVM with Neon Developer Upstable and Kubuntu 17.10. In both cases issue is always reproducible in Wayland session but never in X11 session.

However, I not sure if this bugreport is ok for tracking Wayland issue.
Comment 12 Eric Donkersloot 2017-09-14 12:34:04 UTC
I can reproduce this bug, both with Qt and GTK applications running on X11.

Output of qdbus org.kde.KWin /KWin supportInformation

https://paste.kde.org/p9abxm9fw/7ptqql
Comment 13 Christoph Feck 2017-09-27 19:22:43 UTC

*** This bug has been marked as a duplicate of bug 376245 ***
Comment 14 Marcel 2018-02-24 15:24:25 UTC
The cursor size becomes normal if I delete the .cache/icon-cache.kcache file. I'm running KDE plasma 5.12.1