Closed
Bug 594131
Opened 14 years ago
Closed 14 years ago
bookmarks opened from app tab should open with focus even if browser.tabs.loadBookmarksInBackground=TRUE
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
FIXED
Firefox 4.0b7
Tracking | Status | |
---|---|---|
blocking2.0 | --- | beta7+ |
People
(Reporter: eyalgruss, Assigned: sindrebugzilla)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file, 1 obsolete file)
4.43 KB,
patch
|
dao
:
review+
|
Details | Diff | Splinter Review |
following Bug 579872, when current tab is an app tab, bookmarks will open in a new tab. if browser.tabs.loadBookmarksInBackground=TRUE, the bookmark will open in the background. this preference is usually relevant for middle clicks. however, when i LEFT click an item, i always expect it to open with focus.
Reporter | ||
Updated•14 years ago
|
Blocks: 579874, pinnedtabs
Assignee | ||
Comment 1•14 years ago
|
||
Assignee: nobody → sindrebugzilla
Attachment #474596 -
Flags: review?(dao)
Comment 2•14 years ago
|
||
Comment on attachment 474596 [details] [diff] [review] patch + test >+function test() { >+ let newTab = gBrowser.addTab("http://example.com"); >+ waitForExplicitFinish(); >+ newTab.linkedBrowser.addEventListener("load", mainPart, true); >+ >+ Services.prefs.setBoolPref("browser.tabs.loadBookmarksInBackground", true); >+ >+ function mainPart() { >+ gBrowser.pinTab(newTab); >+ gBrowser.selectedTab = newTab; >+ >+ openUILinkIn("http://example.org/", "current"); >+ isnot(gBrowser.selectedTab, newTab, "shouldn't load in background"); >+ >+ Services.prefs.setBoolPref("browser.tabs.loadBookmarksInBackground", false); if (...prefHasUserValue(...)) ...clearUserPref(...);
Attachment #474596 -
Flags: review?(dao) → review+
Updated•14 years ago
|
Component: Tabbed Browser → General
QA Contact: tabbed.browser → general
Assignee | ||
Comment 3•14 years ago
|
||
Attachment #474596 -
Attachment is obsolete: true
Attachment #475538 -
Flags: review?(dao)
Updated•14 years ago
|
Attachment #475538 -
Flags: review?(dao) → review+
Comment 4•14 years ago
|
||
This should go with beta7.
Assignee: sindrebugzilla → nobody
blocking2.0: ? → beta7+
Component: General → Tabbed Browser
QA Contact: general → tabbed.browser
Whiteboard: [can land]
Updated•14 years ago
|
Assignee: nobody → sindrebugzilla
Component: Tabbed Browser → General
QA Contact: tabbed.browser → general
Comment 5•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/4de37c4f3fab Thanks Sindre!
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 4.0b7
Updated•14 years ago
|
Whiteboard: [can land]
You need to log in
before you can comment on or make changes to this bug.
Description
•