Bug 434595 - Okular: documents always open in new window
Summary: Okular: documents always open in new window
Status: RESOLVED FIXED
Alias: None
Product: neon
Classification: KDE Neon
Component: Snaps (show other bugs)
Version: unspecified
Platform: Snap Linux
: NOR normal
Target Milestone: ---
Assignee: Scarlett Moore
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-18 18:12 UTC by Julian
Modified: 2023-04-06 18:07 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julian 2021-03-18 18:12:28 UTC
SUMMARY
Thanks for finally rolling out the latest version of Okular to ubuntu/snap. Unfortunately, right now the options "Open new files in tabs" and "Switch to existing tab if file is already open" are disregarded. When launching Okular from the console, the following error message is printed:
```Qt: Session management error: Could not open network socket```
and
```qt.xkb.compose: failed to create compose table```

The --unique flag does not change the result.

STEPS TO REPRODUCE
1. sudo snap install okular
2. okular file.pdf
3. okular otherfile.pdf
4. okular file.pdf

OBSERVED RESULT
Three Okular windows with file.pdf open twice

EXPECTED RESULT
One Okular window with two tabs

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 20.04
(available in About System)
Qt Version: 5.12.8

ADDITIONAL INFORMATION
Before the recent update, tabs used to work (but the "Switch to existing tab if file is already open" option did not exist).
Comment 1 Julian 2021-03-18 18:40:29 UTC
I just installed lastest/edge via ```snap install okular --edge``` where everything works as expected.
Comment 2 Scarlett Moore 2023-04-06 18:07:32 UTC
Please update to latest snap in store 22.12.3