Created attachment 146357 [details] Video of me zooming in and out on a digital copy of a textbook SUMMARY When zooming on a multi-page document with touchscreen gestures, Okular also scrolls through the document rather than staying in place. STEPS TO REPRODUCE 1. Use a device with a Wacom touchscreen (I have a Lenovo Yoga c940) 2. Open a document with multiple pages in Okular. 3. Try to zoom using two fingers on the touchscreen. OBSERVED RESULT Other pages on the document zoom by. Zooming out increases the page number, while zooming in increases. EXPECTED RESULT The document stays on the same page, as it does when zooming with ctrl + / ctrl - SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch Linux x86_64, with all packages up-to-date (available in About System) KDE Plasma Version: 5.23.5 KDE Frameworks Version: 5.90.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION
Created attachment 146358 [details] Video transcoded to .webm. Apologies, I skimmed the bug reporting guidelines a bit too fast.
This appears to only happen in browse mode (not when text selection or highlight are selected)
In you videos, you show two pages side by side. Does it help, if you disable the "continous view" and show only one page? In that configuration, okular stays at the page and zooms only. If I enable the view mode "overview", I get your behavior. In that configuration, I would rather ask, what zoom in means to the developer. Looks to me, like okular increases the view starting from the upper left corner. It would feel more natural, if okular zooms into the area next to the finger position. Do we know the mouse position, when zooming?
I reckon this is fixed by https://invent.kde.org/graphics/okular/-/merge_requests/134 Somebody would need to finish that.
(In reply to andreas.naumann from comment #3) > In you videos, you show two pages side by side. Does it help, if you disable > the "continous view" and show only one page? > In that configuration, okular stays at the page and zooms only. > > If I enable the view mode "overview", I get your behavior. In that > configuration, I would rather ask, what zoom in means to the developer. > Looks to me, like okular increases the view starting from the upper left > corner. > > It would feel more natural, if okular zooms into the area next to the finger > position. Do we know the mouse position, when zooming? Sorry for the late response. Disabling continuous view doesn't solve the problem, although I guess it makes it easier to manage since the view's only moving around on one page if that makes sense. I also think you're right about the 'increasing view from the upper left corner' part.