Created attachment 139925 [details] Example of autoscrolling a PDF in Firefox SUMMARY It would be quite nice to have autoscrolling by middle clicking and controlling speed and direction with the cursor and not just by using 'shift-arrow keys'. Such an option is wonderful to have when browsing through large documents. STEPS TO REPRODUCE 1. Open a document in Okular 2. Middle click OBSERVED RESULT Nothing EXPECTED RESULT A symbol (see attachment) appears as a reference point and scrolls based on the cursors distance from it. SOFTWARE/OS VERSIONS KDE neon User edition 5.22 ADDITIONAL INFORMATION Apologies if this is more relevant to another part of the software stack, e.g. Qt. If so, then please point me to the right place.
> STEPS TO REPRODUCE > 1. Open a document in Okular > 2. Middle click > > OBSERVED RESULT > Nothing Is this description accurate? Okular should zoom in or out without discrete steps, that is what middle-click-and-drag is currently used for.
Ah, that is true. I wasn't aware that dragging the cursor while middle clicking would do that. However, a simple middle click will still not do anything. Perhaps it would then conflict with the zooming action to have autoscrolling as well?
What you described is middle-click-and-release-then-drag, instead of middle-click-and-drag, right? Now that I think about it again, I think that can be implemented both at the same time.
Yes, that's correct. Simply middle clicking enters an autoscrolling "mode" which allows you to scroll the page by moving the cursor until the next click. It seems however that autoscrolling can usually also be done by holding middle click and dragging, but of course that would conflict with zooming in the case of Okular. Perhaps it would still be fine to compromise between having both zooming and scrolling, however similar the actions to perform them are? I would certainly not mind and probably use both a lot, but I can't speak for everyone.
I Think adding autoscrolling support across all application i.e.(discord, document viewer, web browser.) would be great. I really don't like having to do hacky code just to get this feature. I don't know if x11 can support it, but I think wayland is the future, and can probably be implemented in the wayland kwin compositor.
I would also love to have this feature system-wide. It is basically the only thing I miss from Windows.