Bug 479273

Summary: On Wayland, Vertical Scroll mouse actions do not work in Folder containment, only Desktop containment
Product: [Plasma] plasmashell Reporter: Paul Brown <paul.brown>
Component: ContainmentAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: major CC: akselmo, kde, nate, notmart
Priority: NOR Keywords: qt6, wayland
Version: 5.91.0   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=419878
Latest Commit: Version Fixed In: 6.0
Sentry Crash Report:

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