Bug 497947

Summary: Okular --unique does not behave as intended
Product: [Applications] okular Reporter: giacomofenzi
Component: generalAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: 24.12.0   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description giacomofenzi 2024-12-27 16:29:12 UTC
SUMMARY
On a fresh okular install from DMG, running `okular --unique main.pdf` multiple times open many instances of okular, instead of keeping the same one. 

STEPS TO REPRODUCE
1. Install okular 24.12.0 from DMG on Mac OS (arm64). 
2. Run `okular --unique main.pdf`
3. Run `okular --unique main.pdf`

OBSERVED RESULT
Two windows of Okular open. 

EXPECTED RESULT
A single window of Okular opens.


SOFTWARE/OS VERSIONS
Windows: 
macOS: Sequoia 15.2
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION