In most window managers, but not kwin, I can configure my mouse additional keys as modifiers. I think plasma/wayland supports configuring those keys as a plain input (says 'x', or even a sequence of inputs i suppose). But, to my knowledge, doesn't support modifiers yet. I.. think (but not sure), that it's handled by kglobalaccel. There are lot of tickets about mapping keys/macros to mouse buttons, but this is not what i'm talking about. The more obvious use case is to use those buttons to move/resize windows. This is of uttermost usefulness, believe me. And this is the reason i use kde/plasma without kwin for a very long time. And now that's the last point preventing me to switch to wayland, as most 'traditional' window managers haven't moved to wayland. As an exemple, here's how it's configured in openbox: <mousebind button="button8" action="Drag"> <action name="Resize"/> </mousebind> <mousebind button="button9" action="Drag"> <action name="Move"/> </mousebind>
Confirmed, we are not allowing modifiers only at the moment there, I think it could be added easily as we are not going through kglobalaccel
Can I help in any way ?
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2156
Git commit e5b5816d6d8b92a789ea042828ec0aadc6377b74 by David Redondo. Committed on 03/04/2024 at 08:11. Pushed by davidre into branch 'master'. kcms/mouse: Allow binding modifiers to mouse buttons This can be useful for example to do window managment via Meta key. M +2 -0 kcms/mouse/kcm/libinput/main.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/e5b5816d6d8b92a789ea042828ec0aadc6377b74
Ok. The patch seems very minimalist. I guess I can not move/resize windows with just a mouse key, right ? It's only acting as a modifier. I'll open another ticket for that.