Open Bug 645010 Opened 13 years ago Updated 2 years ago

Home button always opens new tabs for subsequent URLs when homepage is set to multiple URLs

Categories

(Firefox :: Tabbed Browser, defect)

defect

Tracking

()

People

(Reporter: ibmerguy, Unassigned)

References

Details

(Whiteboard: [bugday-20110401])

User-Agent:       Mozilla/5.0 (Windows NT 5.1; rv:2.0) Gecko/20100101 Firefox/4.0
Build Identifier: Mozilla/5.0 (Windows NT 5.1; rv:2.0) Gecko/20100101 Firefox/4.0

when invoking ffox 4, the 2 bookmarked home pages load fine and in order however, once loaded all i do is press the homepage button again to let's say refresh both initially loaded urls. well, the 2 urls reload but a second instance of the second url also loads in a 3rd tab. 

this occurs even though "focus" is on the first tab / url that loaded.

my homepage is set as follows:
http://www.msn.com/|http://hp-desktop.aol.com/

best regards


Reproducible: Always

Steps to Reproduce:
1. invoke firefox with 2 urls set as the home page "http://www.msn.com/|http://hp-desktop.aol.com/"
2. press the homepage button
Actual Results:  
the 2 initial bookmarked urls reload as expected but a second instance of the second bookmarked url also loads again and shows up in a 3rd tab.

Expected Results:  
only the first 2 tabs should be reloaded.
WFM.
Build identifier: Mozilla/5.0 (Windows NT 6.1; rv:2.0) Gecko/20100101 Firefox/4.0
Does this happen with a new profile?
http://kb.mozillazine.org/Profile_manager
Whiteboard: [bugday-20110401]
Version: unspecified → 4.0 Branch
Reporter, please can you confirm whether this issue still occurs using Firefox 4.0.1 (http://www.mozilla.com/firefox/new/) or higher, in Firefox safe mode (http://support.mozilla.com/kb/Safe+Mode) and/or with a clean profile (http://support.mozilla.com/kb/Basic+Troubleshooting#w_8-make-a-new-profile). Ideally, also check using the latest nightly: http://nightly.mozilla.org/

If this issue no longer occurs, please close as "Resolved Worksforme".

It it in fact still occurs, please provide as much extra information as possible, including what versions tried, whether safe mode/new profile tested etc. Thanks! :-)

(Template reply to inactive UNCO bugs; also setting closemedate for 2 weeks time, given lack of activity).
Whiteboard: [bugday-20110401] → [CLOSEME 2011-05-17] [bugday-20110401]
ok, i don't understand the problem here.  that said, the text associated with bu 645010 is misleading but my initial description still manifests for 4.01. i went as far as to provide the 2 urls that i use and store as a homepage.  this problem exists on xp and win7 platforms so i'm sure it's a ffox issue.  to be clear read my description but then load /save my urls as a homepage. close ffox then initialize.  after both urls load (msn.com and aol.com) do nothing else but click / select the homapage icon button on the nav toolbar. 

when i do that, the same 2 urls (msn.com and aol.com) reload as expected BUT a 3rd tab is spawned resulting in 1 msn.com tab and 2 aol.com urls shown.
Whiteboard: [CLOSEME 2011-05-17] [bugday-20110401] → [bugday-20110401]
anthony, i need to add that i only use the default profile.  this seems so ez to reproduce.  somebody, anybody tell me if you can repro this. i'm talking 30 secs if that much to set 2 urls as a homepage.
Whiteboard: [bugday-20110401] → [CLOSEME 2011-05-17] [bugday-20110401]
Maybe I'm missing something, but here is my steps (unable to reproduce):

1. Start Firefox with a new profile
2. Make sure only two tabs are open with a single window
3. Go to www.msn.com in the first tab
4. Go to www.aol.com in the second tab
5. Open the Preferences/Options dialog to the General tab
6. Set "When Firefox Starts" to "Show my homepage"
7. Click the "Use Current Pages" button below the "Home Page" text box
8. Close the Preferences dialog and close all tabs
9. Navigate to another page in a single tab (ie. www.digg.com)
10. Close and restart Firefox

Result:
www.msn.com is loaded in the first tab.
www.aol.com is loaded in the second tab.
No other tabs are loaded.
anthony, consider this method to reproduce. use the general tab on the "options" dialog. enter http://www.msn.com/|http://hp-desktop.aol.com/ in the homepage textbox. "ok."

close ffox the reinvoke. u should have both urls load in 2 tabs. with msn in the 1st tab.

select / click the homepage icon in the nav bar. msn and aol reload in the 1st and 2nd tabs but it appears that the original aol.com url is placed in a 3rd tab. 

ie works differently.  if i'm on the 1st tab and select the homepage both tabs are refreshed with no 3rd tab spawned.  now, if i'm focused on the 2nd tab and select the homepage button, a 2nd and 3rd are opened with the 2 homepage urls and the 1st tab is left alone.  this seems like correct behavior.

this seems like a tab management issue.

thanks
Ok...I'm seeing what happens now. It appears what is happening is when the home button is clicked, it opens the first URL in the current tab and opens new tabs for any subsequent URLs. This may be as designed.

I'll defer to the devs for further feedback on this issue.

Here is a simplified STR for reference:
1. Set Firefox to "show my homepage" on startup
2. Set the homepage to "http://www.msn.com|http://www.aol.com"
3. Restart Firefox
4. Click the HOME button and repeat as necessary

Result:
1st URL is opened in the current tab.
2nd URL is opened in a new tab.
Status: UNCONFIRMED → NEW
Component: Bookmarks & History → Tabbed Browser
Ever confirmed: true
OS: Windows XP → All
QA Contact: bookmarks → tabbed.browser
Hardware: x86 → All
Summary: when using 2 bookmarks with the "homepage" button, only the 2nd url loads. → Home button always opens new tabs for subsequent URLs when homepage is set to multiple URLs
Whiteboard: [CLOSEME 2011-05-17] [bugday-20110401] → [bugday-20110401]
Version: 4.0 Branch → Trunk
great news and yes i can see where one could argue that it's a working as designed issue. in my view, it would be an oversight in design.  the multi-homepage url feature needs to be handled a bit diffly.  u can see that the behavior i report as a bug does not apply if only 1 url is saved as a homepage. trust me - i recognize how many diff ways my assertion can be argued.

:soapbox on
mind u, i'm pleasantly pleased that i can finally use ffox.  yrs ago, i reported a problem with ibm laptops and the trackpoint (pointer) device.  i could scroll vertically but not horizontally.  i was told the problem was in the driver but i never bought that. the workaround was to reconfigure the trackpoint but that configuration was not at all user-friendly. 
:soapbox off

so thanks much for taking the time. i use ffox primarily now.  1st time ever!! ie 9 has a host of bugs that's one reason but the ffox add-ons r wonderful!
Marco, does the home button use the same code as the "Open all in Tabs" menu entry for bookmark folders? Sounds like a dupe of bug 440093.
Not strictly the same code path, but both end up calling gBrowser.loadTabs and the behavior should be the same, whatever it is. Bugs could be consolidated into one probably.
For now lets add the dependency.
Depends on: 440093
i'm confused as to the current status or if anything will be done.  again, ie seesm to get this right but i can see where the behavior can be controversial.  my suggestion would be to mimic the ie behavior.
As of 1-May-2013 this bug is alive and well and maddening as all get-out.

The reason I call it a bug is this - there is no other instance where the "home" button opens a tab.  In every context I can find, the HOME button operates on the currently focused tab by loading the home page, period.

So if I have a normal, single home page specified in my config, I can click the home button 10 times and it reloads that home page in that tab.  If I open a second tab and click home, the home page loads in THAT tab - but it does not reload the home page in tab #0, nor does it create tab #3 and load the home in that page, etc.

To me it seems like some confusion in the way the "initialize", "home" and "open  new tab" functions are being used or called.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.