Bug 472924

Summary: Pinch to Zoom on a touch screen zooms to the center of the screen and not to the intended part of the page
Product: [Applications] okular Reporter: Archisman Panigrahi <apandada1>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: apandada1, nate, nicolas.fella
Priority: NOR    
Version: 23.07.80   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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 ***