[okular] [Bug 502482] New: D-Bus Methods in Okular Do Not Work Correctly for Specific Tabs
bugzilla_noreply at kde.org
bugzilla_noreply at kde.org
Sun Apr 6 12:46:20 BST 2025
https://bugs.kde.org/show_bug.cgi?id=502482
Bug ID: 502482
Summary: D-Bus Methods in Okular Do Not Work Correctly for
Specific Tabs
Classification: Applications
Product: okular
Version: 24.05.2
Platform: Ubuntu
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: okular-devel at kde.org
Reporter: matthiasschmitz1993 at gmail.com
Target Milestone: ---
SUMMARY
When multiple pdfs are open in different tabs within the same Okular instance,
D-Bus methods like currentPage, currentDocument, and goToPage do not behave as
expected.
STEPS TO REPRODUCE
1. In Okluar go to "Settings" -> "Configure Okular..." -> "General" -> activate
"Open new files in tabs"
2. Open multiple pdfs in tabs of the same Okular instance
3. Run "qdbus org.kde.okular-{PROCESS ID} /okular org.kde.okular.currentPage"
OBSERVED RESULT
The method (currentPage) always returns a result for the initially opened
document and not the currently activate tab. The same issue occurs with other
methods (e.g., currentDocument, slotPreviousPage, slotNextPage, etc...).
If the tab of the initially opened document is closed, but the okular instance
is still open with another document, then qdbus returns an error.
EXPECTED RESULT
I would expect the methods to work for the currently active tab by default. I
would also expect an option to use the methods on multiple different tabs, even
when not active.
SOFTWARE/OS VERSIONS
Linux: Ubuntu 24.10
okular: 24.05.2
Qt Version: 5.15.15
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list