There should be a setting to make Okular warn the user (e.g. a dialog box which asks if you really want to close Okular) if multiple tabs are opened. This is present in other tabbed-based PDF viewers and would stop accidental closing of non-active tabs.
Personally i am not sure that feature makes sense but if someone wants to implement it (not with a setting, just with a kmessagebox + don't ask me again) we can discuss about it.
I'm happy to implement this, but it may be a month before I have time to do it.
Sounds good to me. It's not a huge issue any way, just a minor annoyance.
"Personally i am not sure that feature makes sense but if someone wants to implement it" I just looked at dolphin and it has the same feature. Obviously it made sense to someone to implement. This might make it easier to add to Okular.
Any update on this?
*** Bug 346642 has been marked as a duplicate of this bug. ***
Albert, After a few of our discussions in IRC, here is a basic first attempt at completing this. The 'no' button is the default selection. Screenshot and diff enclosed.
Created attachment 95886 [details] Patch file
Created attachment 95887 [details] dialog
Please use reviewboard.kde.org for the patch
Created attachment 96157 [details] Git diff
What do you not understand of "Please use reviewboard.kde.org for the patch"?
I added it to reviewboard before adding it here. I apologize, is this KDE bug tracking website deprecated? I've seen the use of both such type websites before, and that was how I saw them used - make sure a copy is in both places.
(In reply to torhamzed from comment #13) > I added it to reviewboard before adding it here. I don't see it here https://git.reviewboard.kde.org/dashboard/?group=okular&view=to-group > I apologize, is this KDE bug tracking website deprecated? No, the bug tracking website is used to track bugs, not patches. > I've seen the use of both such type > websites before, and that was how I saw them used - make sure a copy is in > both places. Having things in more than one place is a bad practice, it's the perfect way to get things that only some people from one place read and only some other in some other and you end up with lots of lost communication.
https://phabricator.kde.org/D7714
I think there should also be an option in settings. Otherwise, how do I get the confirmation dialog back once I have clicked "Don't ask me again"? (For now, could anybody tell me what to add/delete in which config file to get the dialog back?)
This has been fixed for a while. Closing