Closed Bug 331908 Opened 19 years ago Closed 17 years ago

"Open All in Tabs" does not work when no browser window is open

Categories

(Firefox :: Bookmarks & History, defect, P3)

defect

Tracking

()

VERIFIED FIXED
Firefox 3 alpha8

People

(Reporter: bugs, Assigned: asaf)

References

Details

(Keywords: regression, Whiteboard: [Fx2-parity])

Attachments

(1 file)

openLinksInTabs has divergent handling for: - opening folders in tabs - opening a multiple selection in tabs ... these two should be unified. Also, the function is very long/difficult to follow. It also needs to handle opening links in tabs when there is no browser window open already.
Priority: -- → P3
Whiteboard: swag: 0.5 days
Target Milestone: Firefox 2 alpha2 → Firefox 2 beta1
This patch just fixes the part about not being able to open-in-tabs if there's no browser. If we don't find a window via getTopWin, we'll open one, and then once it has loaded, we'll load the links in it.
Attachment #252170 - Flags: review?(sspitzer)
Comment on attachment 252170 [details] [diff] [review] open window and try again I'd rather send reviews of controller.js to mano, who has been very active in this file recently. as for my two cents, if mano thinks this is the way to go, i think we should leverage OpenBrowserWindow() in browser.js, instead of duplicating the defaultArgs / newWin code.
Attachment #252170 - Flags: review?(sspitzer) → review?(mano)
Comment on attachment 252170 [details] [diff] [review] open window and try again This is too complex IMO (esp. once we make sure these methods don't open pages into popup windows, no I don't have the bug # handy ;) ). We should rather use the same technique as in http://lxr.mozilla.org/seamonkey/source/browser/components/bookmarks/content/bookmarks.js#869. Also, the code in browser.js should accept a strings array, this can be filed separately though.
Attachment #252170 - Flags: review?(mano) → review-
Summary: Improve openLinksInTabs → "Open All in Tabs" does not work when no browser window is open
Target Milestone: Firefox 2 beta1 → Firefox 3 alpha2
Whiteboard: swag: 0.5 days → [Fx2-parity]
Assignee: annie.sullivan → nobody
Target Milestone: Firefox 3 alpha2 → ---
Depends on: 175124
Assignee: nobody → mconnor
Flags: blocking-firefox3+
Keywords: regression
Target Milestone: --- → Firefox 3 M8
Will be fixed by bug 175124, assigning to Mano
Assignee: mconnor → mano
Yup.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
verified with - Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.9a8pre) Gecko/2007091404 Minefield/3.0a8pre
Status: RESOLVED → VERIFIED
Bug 451915 - move Firefox/Places bugs to Firefox/Bookmarks and History. Remove all bugspam from this move by filtering for the string "places-to-b-and-h". In Thunderbird 3.0b, you do that as follows: Tools | Message Filters Make sure the correct account is selected. Click "New" Conditions: Body contains places-to-b-and-h Change the action to "Delete Message". Select "Manually Run" from the dropdown at the top. Click OK. Select the filter in the list, make sure "Inbox" is selected at the bottom, and click "Run Now". This should delete all the bugspam. You can then delete the filter. Gerv
Component: Places → Bookmarks & History
QA Contact: places → bookmarks
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: