Bug 435075 - Multiple instances of Okular mess up recently opened files
Summary: Multiple instances of Okular mess up recently opened files
Status: ASSIGNED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 20.12.3
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-28 17:59 UTC by Stefano Ariotta
Modified: 2021-04-09 19:42 UTC (History)
1 user (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 Stefano Ariotta 2021-03-28 17:59:04 UTC
SUMMARY
When multiple instances of Okular are open, the recently open files history of the last closed instance will override all other ones.

STEPS TO REPRODUCE
1. Open two different files (say, 1.pdf and 2.pdf).
2. Close the instance showing 1.pdf, then close the instance showing 2.pdf.
3. Open a new instance of Okular.

OBSERVED RESULT
Only 2.pdf will be shown on top of the "Files -> Open recent" menu.

EXPECTED RESULT
Both 1.pdf and 2.pdf to be shown (preferably ordered by "last opened topmost").

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux with kernel linux 5.11.10.arch1-1
KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2

Tested on both Okular 20.12.3 and Okular 21.07.70

ADDITIONAL INFORMATION
First timer, I would like to start contributing to KDE; if this gets confirmed, I would like to give it a shot and try to fix it myself.
Comment 1 Bug Janitor Service 2021-04-09 19:42:32 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/okular/-/merge_requests/402