Bug 472924 - Pinch to Zoom on a touch screen zooms to the center of the screen and not to the intended part of the page
Summary: Pinch to Zoom on a touch screen zooms to the center of the screen and not to ...
Status: RESOLVED DUPLICATE of bug 159408
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 23.07.80
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-02 14:42 UTC by Archisman Panigrahi
Modified: 2023-08-02 14:51 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Archisman Panigrahi 2023-08-02 14:42:18 UTC
SUMMARY

When I pinch to zoom on a touch screen, Okular zooms to the center of the page. I expect it to zoom to the portion of the page where I initially placed my finger.

STEPS TO REPRODUCE
1. Open a pdf in Okular running on a touch screen computer
2. Try to zoom in with two fingers

OBSERVED RESULT

Okular zooms into the center of the page (even if I initially placed my fingers at the edge of the page)

EXPECTED RESULT
Okular should zoom in to the position of the page where fingers were placed initially.
This is the behavior when I zoom into PDF readers in Android phones/tablets (and also in Firefox PDF viewer in Linux).

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 5.27.7 
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
This is NOT same as bug https://bugs.kde.org/show_bug.cgi?id=421755, which has been fixed in Okular 23.07.80
Comment 1 Nicolas Fella 2023-08-02 14:49:47 UTC

*** This bug has been marked as a duplicate of bug 390707 ***
Comment 2 Nate Graham 2023-08-02 14:51:09 UTC

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