| Summary: | Welcome screen stays visible after importing PostScript as PDF | ||
|---|---|---|---|
| Product: | [Applications] okular | Reporter: | Jonah Brüchert <jbb> |
| Component: | general | Assignee: | Okular developers <okular-devel> |
| Status: | CONFIRMED --- | ||
| Severity: | major | CC: | dxt.wjb, nate |
| Priority: | NOR | ||
| Version First Reported In: | 22.12.0 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Jonah Brüchert
2023-01-09 00:34:41 UTC
The Welcome Screen can also stay visible when a document has been opened via the DBus interface.
1. Start Okular
2. Find the DBus server
$ qdbus| grep okular
org.kde.okular-9834
3. Open a document
$ dbus-send --print-reply --dest=org.kde.okular-9834 /okular org.kde.okular.openDocument string:/path/to/some.pdf
However, I think there's a more general problem with opening documents because tab behaviour is also inconsistent the same way',
i.e. the "Open new files in tabs" and "Switch to existing tab..." configuration options:
* work as expected for:
* File | Open
* File | Open Recent
* have no effect for:
* File | Import Postscript as PDF
* DBus OpenDocumentSOFTWARE/OS VERSIONS
SOFTWARE/OS VERSIONS
Operating System: Gentoo (amd64/stable) Linux-6.1.19
Okular Version: 22.12.3
KDE Plasma Version: 5.27.4.1
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.9
Graphics Platform: X11
Please disregard my dbus comments, shortly after pressing "Save Changes" I tried the /okularshell path (as below) and the behaviour of Welcome Screen & Tabs is as expected. $ dbus-send --print-reply --dest=org.kde.okular-9834 /okular org.kde.okular.openDocument string:file://path/to/some.pdf |