After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 458513 - offer to save tabs when closing with multiple tabs open
offer to save tabs when closing with multiple tabs open
Status: RESOLVED FIXED
Product: epiphany
Classification: Core
Component: Tabs
2.30.x
Other Linux
: Normal enhancement
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
Depends on: 600907
Blocks:
 
 
Reported: 2007-07-20 03:41 UTC by Jean-François Fortin Tam
Modified: 2012-10-07 04:53 UTC
See Also:
GNOME target: ---
GNOME version: 3.5/3.6



Description Jean-François Fortin Tam 2007-07-20 03:41:49 UTC
Please add a dialog asking the user to confirm closing multiple tabs at once.

I never want to close a window full of tabs. Ever. But it happens so saddeningly often when someone else borrows my computer for a second that I want to scream :(

Preventing the user from accidentally losing 50 epiphany tabs because evince's window was not "perfectly maximized" is also excellent usability.
Comment 1 Reinout van Schouwen 2007-07-24 17:50:28 UTC
The real problem is that there is no way to undo closing windows or tabs.
That is bug 128184.

In the mean time, use the "Confirm window close" extension you can find on http://live.gnome.org/Epiphany/ThirdPartyExtensions

Thanks!

*** This bug has been marked as a duplicate of 128184 ***
Comment 2 Jean-François Fortin Tam 2007-08-01 16:23:18 UTC
seems like 128184 is not the same. Bug #128184 has a patch for this bug here however, in the 10th comment (http://bugzilla.gnome.org/attachment.cgi?id=92860&action=view)
Comment 3 Jean-François Fortin Tam 2008-03-26 01:30:35 UTC
Firefox 3 has a very clever solution to this.

on press close button:
    if number of tabs >1: ask the user

So it kills two birds with one stone: it prevents accidentally closing all your tabs, AND it allows you to willingly "save" your tabs manually.

The dialog in epiphany could look like this:

______________________________________
Multiple tabs are open               X|
­­¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
        Do you want to save your      |
        open tabs for the next time   |
        you start Epiphany?           |
                                      |
[ Quit ] [ Cancel ] [ Save and quit ] |
                                      |
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

I just took Firefox's dialog and adapted the wording a slight bit. They got it pretty much nailed down.
Comment 4 Jean-François Fortin Tam 2010-05-23 23:34:50 UTC
Just clarifying a bit: I don't care about undoing tab closes. I just want to be able to have all the tabs saved when I exit so that they can be restored on the next startup.

Currently, the ugly hack/workaround is to run xkill onto epiphany, which will force-quit it and have it restore the tabs on the next startup. But this is a hack and normal users should not be expected to do this.
Comment 5 antistress 2010-05-23 23:50:25 UTC
Having Epiphany able to automatically remember last session would be a great improvement since it would allow me to "pause" my surf and to "resume" it another day.
Reading forums it's a must have feature for a browser today.

It's indeed very convenient.

Looking at other applications, you'll see that if you re-open a pdf file within Evince, it will show the last page you were reading.
Same with Gedit : if you're at the middle of a page and close Gedit, next time Gedit will bring you back at the same position.
Totem now also offers the same functionality, etc.

Being able to "pause" and "resume" later (even another day) allows to save a lot of time for the user, and that's why we use computers and softwares i guess...

Thanks in advance