bdbai added a comment.
In D25484#566490 <https://phabricator.kde.org/D25484#566490>, @pino wrote: > ... > > In D25484#566483 <https://phabricator.kde.org/D25484#566483>, @romangg wrote: > > > The solution to accidentally clicks is not disabling it by default and making it configurable, but providing the functionality to "restore" a tab after closing it accidentally. Dolphin and Chrome allow me to restore the last closed tab with Ctrl+Shift+T. > > > And this "solution" does not always work, for example when a page was the result of a form submission, redirection, or other kind of interactivity. @ngraham In Okular, when a tab with unsaved changed is about to close, the user will be prompted first. Does this help? REPOSITORY R223 Okular REVISION DETAIL https://phabricator.kde.org/D25484 To: bdbai, #vdg Cc: aacid, davidhurka, ngraham, romangg, ndavis, pino, okular-devel, johnzh, andisa, siddharthmanthan, maguirre, fbampaloukas, joaonetto, kezik, tfella, darcyshen