Feature Planning: Allowing the use of other mouse buttons for button scrolling

Button scrolling is when you hold down an assigned mouse button, and move the mouse, and it scrolls/drags the viewport/content up and down along with the mouse. I recently released defter-scrolling and found that it’s possible for this to be really good, preferable to wheel scrolling, imo. One of the reasons I really like defter scrolling is that it uses forward/BTN_EXTRA by default instead of the middle click button. KDE currently only allows using the middle click button as the scroll button. Middle click is actually not a very practical choice for this, because it’s usually stiffer/harder to click, the user often turns the wheel accidentally when holding it down while moving the mouse, and it interferes with cad apps that already use middle-click-drag (while nothing uses forward-click drag). Even right click would be a better candidate afaict (apps using right-click drag are surprisingly rare) especially given that some mice don’t even have middle click button.

So I’d like to add support for other mouse buttons. It seems like changes will just need to be made to the mouse config screen, and also kwin? Would that be all?

If so, can I get confirmation that a good patch for this would be accepted by kwin and plasmashell?

Right mouse button is for my gestures…

You can choose to press both mouse buttons instead of the wheel button if yours is too stiff… but what you’re suggesting doesn’t only go against Plasma, it goes against all applications - which usually set their own rules for what to do when you use your mouse.

However, more advanced mouse settings would certainly be welcome, as I’ve seen some issues with folks using different dpi/size monitors.

Oh yeah, vivaldi has right mouse button gestures, though I’ve never used them. Seems to me that it’s hard to do much without one hand on the keyboard, and keyboard shortcuts always end up being better than mouse gestures.

Yeah. I could do. KDE effectively doesn’t support my mouse at max dpi because the speed slider is too quantized and forbids setting the number by hand for no reason I can imagine. But that’s a different issue.