"Restore Previous Session" button becomes invalid when 2 or more tabs with Firefox Homepage are open




Session Restore
8 years ago
7 years ago


(Reporter: AndreiD[QA], Unassigned)



Firefox Tracking Flags

(Not tracked)


(Whiteboard: [about-home])



8 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.94 Safari/534.13
Build Identifier:  Mozilla/5.0 (Windows NT 6.1; rv:2.0b12pre) Gecko/20110209 Firefox/4.0b12pre

The "Restore Previous Session" button becomes invalid for some tabs when 2 or more tabs with Firefox Homepage are open and the session is already restored using the button from one tab with Firefox Homepage

Reproducible: Always

Steps to Reproduce:
1. Launch Firefox on a clean profile
2. Open more tabs and navigate to different websites (example: cnn.com, yahoo.com)
3. Close the browser window
4. Launch firefox, open one ore more new tabs and press the "home" button
5. In one of the tabs click on the "Restore previous session button"
6. Go back to previous window (with the two firefox homepages tabs) and check the other tab/s (with the "Restore.." button)
Actual Results:  
6. The "Restore Previous Button" is present even after the session was restored

Expected Results:  
1. On launch two tabs should open (mozilla info page and start page)
2. The webpages should load 
3. Close browser window (Press "close tabs" if a "Confirm close" dialog is present)
4. Two tabs with the firefox homepage ("about:home") should be opened both displaying the "Restore previous session button"
5. A new window should open with the previous closed tabs loaded.
6. The "Restore previous session" button should not be present
Ever confirmed: true
Confirmed Mozilla/5.0 (Windows NT 6.1; rv:2.0b12pre) Gecko/20110209 Firefox/4.0b12pre

Comment 2

8 years ago
Confirmed also on:
Mozilla/5.0 (X11; Linux i686; rv:2.0b12pre) Gecko/20110210 Firefox/4.0b12pre
Yea it would be better to hide the button. But at least it doesn't work and we will hide it when you press it.
OS: Windows 7 → All
Hardware: x86 → All
Whiteboard: [about-home]
Version: unspecified → Trunk
Is this still reproducable now that bug 627642 is fixed?
I'm sure you can still make it happen, though bug 627642 probably made things a bit better (for the reusing a window case). For example, open a 2nd window to about:home - the unfocused window won't be changed and the restore button would still be present.

Comment 6

8 years ago
Reproduceable on:
Mozilla/5.0 (Windows NT 6.1; rv:2.0b12pre) Gecko/20110217 Firefox/4.0b12pre

as in comment#5. When having two browser windows open (one with the restored session and the other one with two ore more firefox homepages open) the restore button is still present even after restore. 10x Paul
You need to log in before you can comment on or make changes to this bug.