Bug 346642

Summary: Add option to prevent closing multiple tabs
Product: [Applications] okular Reporter: mail
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: aacid, kde
Priority: NOR    
Version: 0.20.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description mail 2015-04-25 15:11:13 UTC
If you have multiple tabs open in Okular, all tabs get closed without confirmation when clicking on the close button of the window. There is no option at the moment to configure such a behavior.

It happens on a quite regular basis that I click the close button of the window instead of the opened tab. If I have multiple tabs open at this moment, my view is lost. It would be more convenient if Okular would ask for confirmation whether the user really wants to close all tabs when multiple tabs are opened.

Reproducible: Always

Steps to Reproduce:
(1) Open multiple document tabs in Okular (option `Open new files in tabs' must be checked in the settings before).
(2) Click on the window close button.

Actual Results:  
Okular with all tabs closes.

Expected Results:  
Okular should ask for confirmation whether the user really wants to close X tabs.
Comment 1 Albert Astals Cid 2015-05-03 23:06:26 UTC
Patches welcome as always
Comment 2 Nick Cross 2015-07-28 11:30:54 UTC
Duplicate of https://bugs.kde.org/show_bug.cgi?id=334019 ?
Comment 3 Albert Astals Cid 2015-07-28 13:04:30 UTC

*** This bug has been marked as a duplicate of bug 334019 ***