Bug 470289 - Pinch to Zoom on a touch screen changes page number in Okular
Summary: Pinch to Zoom on a touch screen changes page number in Okular
Status: RESOLVED DUPLICATE of bug 421755
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 23.04.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-26 13:19 UTC by Archisman Panigrahi
Modified: 2023-07-22 05:20 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Video showing Zoom In/Zoom Out changes page number (236.82 KB, video/x-matroska)
2023-05-26 13:19 UTC, Archisman Panigrahi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Archisman Panigrahi 2023-05-26 13:19:16 UTC
Created attachment 159270 [details]
Video showing Zoom In/Zoom Out changes page number

SUMMARY
Using Pinch to Zoom with two fingers on a touch screen computer changes the page number of the document in addition to zooming. This happens for both Zooming in and Zooming out.


STEPS TO REPRODUCE
1. Open a PDF/DJVU/any other document (with multiple pages) in Okular on a touch screen computer
2. Try to zoom in/zoom out using two fingers

OBSERVED RESULT
In addition to Zooming in/out, Okular changes the page number

EXPECTED RESULT
Behavior should be identical to what happens when one presses the combination "ctrl +" or "ctrl -". The document should be zoomed, but the page number should not change.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux (all updates applied)
(available in About System)
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.106.0

ADDITIONAL INFORMATION
The same bug is present in Okular 21.12.3 in Ubuntu MATE 22.04 running in another touch screen laptop.

I am attaching a short screen record of the behavior when I zoom in/zoom out using touch screen.
Comment 1 ratijas 2023-06-03 11:53:11 UTC
Can confirm, I experienced this bug recently while trying to read books in a portrait orientation on a Steam Deck. Indeed, the absolute y offset of a document is literally preserved, so pages fly back and forth underneath your fingers while zooming.
Comment 2 hazemk537 2023-06-08 15:51:20 UTC
I haze this problem too , and canot zoom by pinch touch smoothly
Comment 3 Nate Graham 2023-07-22 05:20:35 UTC

*** This bug has been marked as a duplicate of bug 421755 ***