Bug 424048 - Preview of cursor theme on mouseover doesn't work on Wayland
Summary: Preview of cursor theme on mouseover doesn't work on Wayland
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_cursortheme (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: wayland
Depends on:
Blocks:
 
Reported: 2020-07-09 23:00 UTC by Patrick Silva
Modified: 2020-07-10 19:18 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2020-07-09 23:00:47 UTC
SUMMARY
On X11, we can preview the cursors of a cursor theme hovering over them.
However, this feature doesn't work on Wayland.

STEPS TO REPRODUCE
1. start Wayland session
2. open system settings > Cursors
3. hover over any cursor of any cursor theme

OBSERVED RESULT
nothing happens

EXPECTED RESULT
preview should work like on X11

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.19.80
KDE Frameworks Version: 5.72.0
Qt Version: 5.14.2
Comment 1 Bug Janitor Service 2020-07-10 11:02:46 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/58
Comment 2 David Redondo 2020-07-10 11:58:07 UTC
Git commit 9f4ad82c5b5c47f6e3a3ed78ce559de4db361c78 by David Redondo.
Committed on 10/07/2020 at 11:01.
Pushed by davidre into branch 'master'.

Use Qt to set cursor preview and make it work for wayland

No need for X specific fiddling, Qt will do the right thing.

M  +2    -31   kcms/cursortheme/xcursor/previewwidget.cpp

https://invent.kde.org/plasma/plasma-desktop/commit/9f4ad82c5b5c47f6e3a3ed78ce559de4db361c78