Bug 479273 - On Wayland, Vertical Scroll mouse actions do not work in Folder containment, only Desktop containment
Summary: On Wayland, Vertical Scroll mouse actions do not work in Folder containment, ...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Containment (show other bugs)
Version: 5.91.0
Platform: Neon Linux
: NOR major
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6, wayland
Depends on:
Blocks:
 
Reported: 2024-01-01 21:03 UTC by Paul Brown
Modified: 2024-01-16 15:16 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Brown 2024-01-01 21:03:36 UTC
SUMMARY
The "vertical scroll" input does not seem to trigger any action on the empty desktop.

STEPS TO REPRODUCE
1. Right click on an empty area in workspace, choose "Desktop and Wallpaper" from popup menu 
2. Choose "Mouse Actions" from tabs
3. Add an action and scroll the wheel to associate "Vertical-Scroll" and add it to the list of actions
4. Assign an action from the drop down and click "ok"

OBSERVED RESULT
When you scroll the mouse wheel  when hovering over an empty area of the workspace no action happens

EXPECTED RESULT
When you scroll the mouse wheel  when hovering over an empty are of the workspace the associated action should happen.

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.91.90
KDE Frameworks Version: 5.248.0
Qt Version: 6.6.1
Kernel Version: 6.2.0-39-generic (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
I have found several reports for similar, sometimes identical, bugs, but for much older versions of the plasmashell.
Comment 1 Nate Graham 2024-01-11 20:05:34 UTC
Can reproduce. Perhaps a recurrence of Bug 419878.
Comment 2 Akseli Lahtinen 2024-01-12 14:56:20 UTC
Scrollwheel works if desktop layout is set to Desktop.

But it does not work if layout is set to Folder View (which is default)
Comment 3 Bug Janitor Service 2024-01-15 12:21:13 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/1977
Comment 4 Marco Martin 2024-01-16 09:00:42 UTC
Git commit fd44e1053daaff454979edb41274fa6da83c8bc0 by Marco Martin.
Committed on 16/01/2024 at 10:00.
Pushed by mart into branch 'master'.

Forward wheel events to the proper item

Plasmoid is not a QGraphicsItem anymore, the one we need is the
AppletInterface, "root"

M  +1    -1    containments/desktop/package/contents/ui/FolderView.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/fd44e1053daaff454979edb41274fa6da83c8bc0
Comment 5 Paul Brown 2024-01-16 09:22:13 UTC
Thanks! Great job.
Comment 6 Marco Martin 2024-01-16 13:13:18 UTC
Git commit b6295b194bff6f860a80fd9a71b79144d2806205 by Marco Martin.
Committed on 16/01/2024 at 14:12.
Pushed by mart into branch 'Plasma/6.0'.

Forward wheel events to the proper item

Plasmoid is not a QGraphicsItem anymore, the one we need is the
AppletInterface, "root"

M  +1    -1    containments/desktop/package/contents/ui/FolderView.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/b6295b194bff6f860a80fd9a71b79144d2806205