Bug 416633

Summary: Middle-click+drag to scroll
Product: [Applications] dolphin Reporter: Xeno Idaltu <xenoidaltu>
Component: view-engine: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: wishlist CC: aldrintadas19, kfm-devel, nate, postix
Priority: NOR    
Version: 17.12.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Xeno Idaltu 2020-01-23 07:06:44 UTC
Having Autoscroll will benefit users when browsing without having to adjust our eyes and mouse to make an accurate click on the scrollbar. Middle Click + Drag To Scroll is widely used in browsers and many of us got used to it for its faster and easier workaround.

Thanks In Advance! =D


SOFTWARE/OS VERSIONS
Kubuntu 18.04 LTS
KDE Plasma Version: 5.12.9
KDE Frameworks Version: 5.44.0
Qt Version: 5.9.5
Comment 1 Aldrin Tadas 2020-07-16 14:57:13 UTC
There's a hacky way to do this in Linux in general regardless of what desktop environment you use meaning it's going to work in any application that supports mouse wheel scrolling.

It modifies the mouse functionality when middle-click is held down. You hold the middle click then when you slide down your mouse it'll send a mouse wheel signal instead of your cursor moving down.

What you're gonna look for if you're using libinput is this when you type ` xinput --list-props <id number of your mouse>`

`libinput Scroll Method Enabled (287):	0, 0, 1`
`libinput Scroll Method Enabled Default (288):	0, 0, 1`

and for it to survive a reboot I have this on my /etc/X11/xorg.conf.d/40-libinput.conf

Section "InputClass"
        Identifier "libinput pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
 	 Option "ScrollMethod" "button"
        Driver "libinput"
EndSection
Comment 2 Xeno Idaltu 2021-07-16 00:52:28 UTC
Thank you Aldrin. 


I like the way I navigate on Dolphin now, however there are two issues.

1) Firefox, Falkon, Chromium, etc have now lost the "image/icon" that shows up under our cursor when we press/hold the middle button. 

I think we should edit Breeze Cursor themes to make the "all-scroll" image/icon show up instead. The tricky part is what name/numbers to use. Years ago, I saw a GitHub page with all possible names/numbers to use but currently don't have enough time to search around the web.
Comment 3 Xeno Idaltu 2021-07-16 00:53:47 UTC
2) The second issue is speed. I feel that Firefox has become faster when scrolling. I don't know how to edit this issue yet.