Created attachment 126816 [details] Screenshot SUMMARY If Okular runs with at least two opened tabs and you log out of the session, Okular asks you whether you want to close the two tabs. Once you click on "Close tabs", Okular will ask you again in the process of logging out. I.e. you see the dialog twice. However, in my case, where I save the session, there should be no need to ask whether I want to close the two tabs or not as Okular and the tabs are recovered when I re-login. STEPS TO REPRODUCE 1. In the systemsettings, set "save session on logout" 2. Open Okular with two tabs 3. Logout of the session OBSERVED RESULT Okular asks (twice) if the tabs shall be closed. EXPECTED RESULT Okular does not ask. SOFTWARE/OS VERSIONS Operating System: Manjaro Linux KDE Plasma Version: 5.18.3 KDE Frameworks Version: 5.69.0 Qt Version: 5.14.1
Likely the same as bug#416728, it seems to be a more general problem. IIANM, it started with Qt 5.14.0.
Btw, you don't have to respond to the dialogs. If you just wait, the logout continues as usual (and the session is saved AFAICT).
(In reply to Wolfgang Bauer from comment #1) > Likely the same as bug#416728, it seems to be a more general problem. Although, konsole (and other applications like konqueror) only ask once, while okular asks twice. So it's not a full duplicate. (In reply to Wolfgang Bauer from comment #2) > Btw, you don't have to respond to the dialogs. > If you just wait, the logout continues as usual (and the session is saved > AFAICT). This only applies to the *second* dialog in the case of okular though.
I find the current behaviour also confusing.
*** This bug has been marked as a duplicate of bug 416728 ***
(In reply to Nate Graham from comment #5) > > *** This bug has been marked as a duplicate of bug 416728 *** See comment#3, this is not really a duplicate. Okular itself does ask for confirmation on logout when several tabs are open (unlike konsole e.g.), and that results in *two* dialogs (unlike konsole). Okular probably should not ask for confirmation if QApplication::isSavingSession() is true, that's how other applications (konsole, dolphin, konqueror) behave.