Closed Bug 287954 Opened 19 years ago Closed 14 years ago

Add menu options to the Mac OSX Dock Menu

Categories

(Firefox :: Shell Integration, enhancement)

PowerPC
macOS
enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 415463
Future

People

(Reporter: ian, Unassigned)

Details

Attachments

(1 file)

If you click and hold on the Firefox icon in the OS X dock, then it will show
you a list of open windows, plus "Show in Finder", "Hide" and "Quit".

It would be good to add the most common menu items to this menu, as other
applications do. I would suggest at least "New Window", but possibly also a
cascading menu for bookmarks or the bookmarks toolbar folder.
Target Milestone: --- → Future
I agree, it is ABSOLUTELY essential that Firefox at the very least should have "New Window" like Safari has. You can't consider that Firefox has been ported to Mac if there is no way to just launch a new firefox window from the dock, which is the most fundamental unit of functionality in the Windows world.
Assignee: bugs → nobody
From Bug 389614. Not a Mozilla developer, but this annoyed me enough to create a solution. Please read comments in Bug 389614 as this is not complete. Should be made more elegant. (Use about:config values, auto-focus in newly created window, and stop OsX from raising a window under the newly created window).
> +              wwatch->OpenWindow(0, 
> +                                 "chrome://navigator/content",
....
> +              wwatch->OpenWindow(0, 
> +                                 "chrome://messenger/content",

Neither of these chrome urls exist in Firefox.

Branch does not accept feature enhancements. For trunk I think the correct file is
<http://lxr.mozilla.org/seamonkey/source/toolkit/xre/nsNativeAppSupportMac.cpp>
I can't believe we're now at Firefox 3.0 and there is still no fricking way to create a new browser window from the dock? How the hell do people use this browser?

Chris - please refrain from making comments like your last one. It isn't helpful and you'll end up putting your account here at risk.
This particular missing feature is killing me.  I uses Spaces with multiple desktops... and I frequently have Firefox open on another desktop other than the one where I am now.  Unfortunately, that means I have to find where that other Firefox is open... press Command-N to get a new window and then drag it down to the desktop I wanted to open Firefox on!

Safari does this right (and so does Firefox on other platforms) by providing a "New Window" in the right click menu for the Dock icon.

I come from a Linux background and am used to being able to just click an icon in my task bar in order to get a new Firefox window on the current desktop.

This is a gross oversight.... and needs to be corrected!
This bug seems to be a duplicate of bug #415463.

I attached a patch into bug #415463 that uses the Cocoa dock API (where the current Gecko dock menu code is) instead of the Carbon APIs used in the patch attached to this bug.  The patch also uses the XUL document to determine what menu items to show in the Dock (which makes it more generic than the patch attached here).

Of course, the dock menu works the first time around and then Firefox crashes the second time the dock menu is activated.  Need help to track down why!
Personally I have no use of this, but doing this for an application has almost become standard practice, especially since Snow Leopard.

Which options do we need? Google Chrome has "New Window" and "New private surfing mode window".
With bug 415463 resolved, Firefox now has a "New Window" menu item in its dock menu. Marking this bug as resolved.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Agree, because they are the same bug.
Resolution: FIXED → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: