Bug 473109

Summary: Add ability to use mouse shortcuts (modifiers/no modifiers + click/double-click/ back/forward button/wheel up/down)
Product: [Frameworks and Libraries] frameworks-kglobalaccel Reporter: Andrew Shark <ashark>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs>
Status: CONFIRMED ---    
Severity: wishlist CC: nate
Priority: NOR    
Version: 5.108.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=156082
Latest Commit: Version Fixed In:
Attachments: Screenshot of PyCharm mouse shortcut creation window

Description Andrew Shark 2023-08-07 13:02:14 UTC
Created attachment 160796 [details]
Screenshot of PyCharm mouse shortcut creation window

If you ever used jetbrains IDE, such as PyCharm, you can see it allows you to use mouse shortcuts. It is a very nice feature. It allows you to assign mouse buttons/wheel and maybe with some modifiers. See screenshot.
Examples of possible shortcuts:
Wheel up
Alt+Wheel up
Alt+Shift+Wheel up
Alt+Click
Alt+Double Click
Alt+Double Right-Click
Button 5 Click

It would be nice to have such feature in kde applications (and for global shortcuts).

Such feature may resolve:
Bug 343421 - Ability to set mouse wheel as global shortcut component
Bug 156082 - Activate zoom effect with Meta+mouse wheel

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Actually, I want to switch desktops with Meta + wheel up/wheel down.
In system settings, in Window Management -> Window Behavior -> Window Actions -> Inner Window, Titlebar and Frame Actions, I see there is interesting possibility to assign Meta/Alt + mouse wheel.
Unfortunately, this only works inside a window. Also, you cannot specify your own (random) action there, but only choose from dropdown list. And there is a move to prev/next desktop, but this action moves the window, while I want to just switch desktop without moving window there.