GNOME Bugzilla – Bug 720609
Sometimes closes tabs which were not used just for the download
Last modified: 2013-12-18 13:53:47 UTC
How to reproduce: * start epiphany * go to http://webkitgtk.org/ * middle click the page title so you get a new tab on the same page * on that new tab click one of the links to the release tarballs on the right side You will notice the new tab is closed, but it should not be closed.
Created attachment 264417 [details] [review] Use a flag to decide if a tab is download-only There are some cases in which a view may not be able to go back and still be not just for a download: if the view has been opened by middle clicking somewhere or by having an URL provided on startup, then the navigation from the overview to the first page won't have happened. By tracking whether the page has ever committed a load we can be sure it has been opened just for the download.
Review of attachment 264417 [details] [review]: This is cleaner, I think.
Attachment 264417 [details] pushed as ac9cae2 - Use a flag to decide if a tab is download-only