Summary: | Cursor preview area does not match preview icons | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | Fushan Wen <qydwhotmail> |
Component: | kcm_cursortheme | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | nate |
Priority: | NOR | Keywords: | qt6, regression |
Version: | master | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/-/commit/bbfb387955c0ac77823f924b49ec3b9baeae03fe | Version Fixed In: | 6.0 |
Description
Fushan Wen
2023-10-26 15:52:21 UTC
Cannot reproduce at 200% scale on Wayland. Can you attach a screenshot or screen recording? A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3447 Git commit bbfb387955c0ac77823f924b49ec3b9baeae03fe by Fushan Wen. Committed on 28/10/2023 at 06:44. Pushed by fusionfuture into branch 'master'. kcms/cursortheme: fix wrong cursor preview position on X11 When matching the cursor position in hoverMoveEvent, the position from a QHoverEvent belongs to the logical coordinates but the saved cursor positions belong to device coordinates on X11, so devicePixelRatio is needed to convert the position from a QHoverEvent. FIXED-IN: 6.0 M +17 -11 kcms/cursortheme/xcursor/previewwidget.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/bbfb387955c0ac77823f924b49ec3b9baeae03fe |