Bug 501048 - Clicking an index entry in "Facing pages" mode navigates to the wrong page
Summary: Clicking an index entry in "Facing pages" mode navigates to the wrong page
Status: CONFIRMED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 24.12.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-04 10:58 UTC by jorgemartinezvegara
Modified: 2025-03-17 17:39 UTC (History)
1 user (show)

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


Attachments
Before clicking (144.23 KB, image/png)
2025-03-04 10:58 UTC, jorgemartinezvegara
Details
After clicking (394.21 KB, image/png)
2025-03-04 10:59 UTC, jorgemartinezvegara
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jorgemartinezvegara 2025-03-04 10:58:05 UTC
Clicking on an index entry in "Facing pages" view mode scrolls to the wrong page.

STEPS TO REPRODUCE

1. Open a PDF file in Okular.
2. Set the view mode to "Facing pages" (View → View Mode → Facing pages).
3. Click on an entry in the index to navigate to a specific section.

OBSERVED RESULT
Okular jumps to the wrong page instead of the one linked in the index.

EXPECTED RESULT
Okular should navigate to the correct page when clicking an entry in the index, as it does in "Single page" mode.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.3.2
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.13.5-arch1-1 (64-bit)
Graphics Platform: Wayland
Comment 1 jorgemartinezvegara 2025-03-04 10:58:50 UTC
Created attachment 179106 [details]
Before clicking
Comment 2 jorgemartinezvegara 2025-03-04 10:59:04 UTC
Created attachment 179107 [details]
After clicking
Comment 3 John Kizer 2025-03-16 16:59:40 UTC
I can reproduce this on Fedora KDE 41, Okular 24.12.3. Thanks!
Comment 4 John Kizer 2025-03-17 17:39:50 UTC
I'm not sure if it's strictly a duplicate, but https://bugs.kde.org/show_bug.cgi?id=452430 seems at least probably related?