Bug 428922

Summary: Back Button should go back in history
Product: [Applications] okular Reporter: pauledd <pb.g>
Component: generalAssignee: Okular developers <okular-devel>
Status: REOPENED ---    
Severity: normal CC: 4aa7f31e, jan, martin.monperrus, nate
Priority: NOR    
Version: 1.11.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Sample PDF

Description pauledd 2020-11-10 08:24:54 UTC
Created attachment 133192 [details]
Sample PDF

There should be a "go back" in page history button, but all available buttons "Go->Previous Page" and "Go->Back" simply go back one page number.


STEPS TO REPRODUCE
1. Open a PDF (DS12232.pdf)
2. Go to page 74
3. Click on Link "Table 21: General Operating Conditions" (goes to p. 55)
4. Press "Go->back" (goes to p. 56)

OBSERVED RESULT
After clicking Go->back okular goes foreward one page in number (p. 55 > p. 56)

EXPECTED RESULT
Okular should go back in page history to page 74.
(p. 74 -> p. 55 -> p. 74 )

Operating System: Arch Linux
KDE Plasma Version: 5.20.2
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1
Kernel Version: 5.7.10-arch1-1-paul
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-6700K CPU @ 4.00GHz
Memory: 31.3 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 530

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2020-11-10 18:16:40 UTC

*** This bug has been marked as a duplicate of bug 414701 ***
Comment 2 Martin 2023-04-06 13:16:17 UTC
I confirm that the bug exists in Okular Version 21.12.3.

Reproduction:
Open PDF, click on hyperlink going to a page (eg to the References section), click on Alt+Left

Expected: go to last visited paper

Actual: go to n-1 page.
Comment 3 Jan Hajer 2024-03-04 18:30:35 UTC
I do not remember when this regression was introduced but I can confirm that is persists in version 23.08.3.