[okular] [Bug 419982] New: --print and --print-and-exit arguments lead to two consecutive diaoluges of printing for a single file

Ashish bugzilla_noreply at kde.org
Sun Apr 12 09:04:09 BST 2020


https://bugs.kde.org/show_bug.cgi?id=419982

            Bug ID: 419982
           Summary: --print and --print-and-exit arguments lead to two
                    consecutive diaoluges of printing for a single file
           Product: okular
           Version: 1.9.3
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: printing
          Assignee: okular-devel at kde.org
          Reporter: ash110601ish at gmail.com
  Target Milestone: ---

SUMMARY
When Okular is already running and "open new files in a tab" is on in setting
running okular --print-and-exit "some file" eventually kills the already
existing instance of okular and printing dialogue is instanced two times.
First in the already existing window and then in a separate one.

STEPS TO REPRODUCE
1. Open okular. Make sure that "new files open in a tab" settings is checked.
Also make sure that "Confirm on exit with multiple tabs" is off.
2. Open a file in okular.
3. Remaining in the same workspace (virtual desktop), Open a terminal and type
okular --print-and-exit "some file"

OBSERVED RESULT
The printing dialogue opens twice. Once the file preview opens in the existing
okular session and the other time it opens in a new window. After printing or
cancelling in the first case the main window will all other tabs is killed.

EXPECTED RESULT
The printing dialogue opens just once and the preview is shown in a new window
not interfering with the already existing instance.

SOFTWARE/OS VERSIONS 
Linux: i3 window manager
Qt Version: 5.18

ADDITIONAL INFORMATION
I don't use KDE Plasma. I use a tiling window manager i3.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list