https://bugzilla.mozilla.org/show_bug.cgi?id=34572 Bugzilla Quick Search [ ] * Browse * Advanced Search * Reports * * Documentation * New Account * Log In Sign in with GitHub or [ ] [ ] [password ] [*] Remember [Log in] * Forgot Password [ ] [Reset Password] [moz] * Mozilla Home * * Privacy * Cookies * Legal Please enable JavaScript in your browser to use all the features on this site. Copy Summary [ ] View V * Reset Sections * Expand All Sections * Collapse All Sections * * History * * JSON * XML Closed Bug 34572 Opened 21 years ago Closed 28 days ago Use native context menus on Mac OS Summary: Use native context menus on Mac OS Categories (Core :: Widget: Cocoa, enhancement, P1) Product: Core V Core Shared components used by Firefox and other Mozilla software, including handling of Web content; Gecko, HTML, CSS, layout, DOM, scripts, images, networking, etc. Issues with web page layout probably go here, while Firefox user interface issues belong in the Firefox product. (More info) See Open Bugs in This Product File New Bug in This Product Watch This Product Component: Widget: Cocoa V Core :: Widget: Cocoa Mapping of cross platform widget interfaces to Mac Cocoa APIs. See Open Bugs in This Component Recently Fixed Bugs in This Component File New Bug in This Component Watch This Component Version: Trunk Platform: All macOS Type: enhancement Priority: P1 Severity: normal Points: --- Tracking () Status: RESOLVED FIXED Status: RESOLVED FIXED Mark as Assigned Milestone: 90 Branch Iteration: --- Project Flags: Webcompat Priority [---] Root Cause [---] a11y-review [---] user-doc-firefox [---] Fission Milestone [---] Tracking Flags: Tracking Status thunderbird_esr78 --- wontfix firefox-esr78 --- wontfix firefox88 --- wontfix firefox89 --- fixed firefox90 --- fixed Tracking Status relnote-firefox [---] thunderbird_esr78 [---] [wontfix] firefox-esr78 [---] [wontfix] firefox88 [---] [wontfix] firefox89 [---] [fixed] firefox90 [---] [fixed] People (Reporter: mpt, Assigned: mstange) Assignee: # mstange Assignee: [ ] Reset Assignee to default Mentors: --- QA Contact: [ ] Reset QA Contact to default Reporter: # mpt Triage Owner: # spohl CC: 62 people References (Depends on 6 open bugs, Blocks 3 open bugs) Depends on: 1703518, 1705157, 1706966, 1680177, 1700706, 1700710, 1700713, 1700715, 1701085, 1701243, 1702041, 1703272, 1703482, 1703927, 1703930, 1704127, 1704474, 1704883, 1704972, 1705120, 1706433, 1707204, 1707652, 1707869, 1710507 1700822, 1702129, 118025, 1692669, 1700732 1700727, 1691213, 1691861, 1694853, 1698662, 1698668, 1698997, 1699551, 1699582, 1699792, 1700679, 1700724, 1702387, 1702633, 1703617, 1704102 Blocks: 1687055, 7297, 13185, 39403, macmeta 1710459 proton-context-menus Dependency tree / graph Regressions: --- Regressed by: --- Duplicates: 37795, 196611, 239036, 240124, 1704306 URL: See Also: 1656301, 1668119 jira.mozilla.com/browse/FFXP-108 jira.mozilla.com/browse/FIDEFE-1276 Details (Keywords: helpwanted, platform-parity, Whiteboard: [proton-context-menus][mac:mr1]) Alias: --- Keywords: helpwanted, platform-parity Whiteboard: [proton-context-menus][mac:mr1] QA Whiteboard: --- Has Regression Range: --- Has STR: --- Votes: 28 Bug Flags: behind-pref [ ] firefox-backlog [] sec-bounty [ ] sec-bounty-hof [] in-qa-testsuite [ ] [ ] in-testsuite [ ] qe-verify [] Crash Data Signature: Security (public) This bug is publicly visible. User Story Bottom | Tags V * Reset Timeline V * Reset * * Collapse All * Expand All * Comments Only Matthew T (active 1999-2002) Reporter [628] Description * 21 years ago Mozilla on MacOS is using native main menus -- the XUL menu items are being translated into native menu structures, allowing Mozilla to use the Mac's main menu bar. Why couldn't this be done with context menus as well? As far as I know, Web apps don't have style access to (or even knowledge of) context menus, so the usual skinnability arguments are not an issue. Using native menus would improve internal consistency between Mozilla main menus and context menus (and between Mozilla and other MacOS apps), as well as solving quite a few open bugs about MacOS popup menus. Implementing this could probably borrow heavily from the code already written for making the main Mac menus. Mike Pinkerton (not reading bugmail) Comment 1 [b9e] * 21 years ago i can't argue, but it's a time thing. Status: NEW - ASSIGNED Keywords: helpwanted Target Milestone: --- - M20 sairuh (rarely reading bugmail) Comment 2 [8df] * 21 years ago *** Bug 37795 has been marked as a duplicate of this bug. *** sairuh (rarely reading bugmail) Updated [8df] * 21 years ago Keywords: pp Henri Sivonen (:hsivonen) Updated [003] * 21 years ago Blocks: 39375 Matthew T (active 1999-2002) Reporter [628] Updated * 21 years ago Blocks: 39403 Matthew T (active 1999-2002) Reporter [628] Updated * 21 years ago No longer blocks: 39375 Peter Trudelle Comment 3 [948] * 21 years ago Mass-moving all M20-M30 XPToolkit bugs to Future Target Milestone: M20 - Future sairuh (rarely reading bugmail) Comment 4 [8df] * 21 years ago *spam*: transferring current XP Menu bugs over to jrgm, the new component owner. feel free to add me to the cc list (unless am the Reporter) of any of these, if you have any questions/etc. QA Contact: sairuh - jrgm Matthew T (active 1999-2002) Reporter [628] Updated * 21 years ago Blocks: 7297 Blake Ross Comment 5 [9ca] * 21 years ago How easy/hard would this be? akt Comment 6 [f12] * 21 years ago I believe the following behavior is caused by this bug: I have to "Turn off Contextual Menus in Mozilla 0.7" to see Mozilla's contextual menus -- otherwise I get the "default" MacOS contextual menu (Help, Application Menu, Refresh menus) Matthew T (active 1999-2002) Reporter [628] Updated * 21 years ago Severity: normal - enhancement OS: All - Mac System 8.5 Summary: Use native context menus on MacOS - Use native context menus on Mac OS Matt Lee Comment 7 [318] * 21 years ago The behavior being described by akt@yahoo.com above is caused actually by Apple Data Detectors, an old software set that used AppleScript to open URLs embedded in plain text. Its special contextual menus are available in all applications by default, and you have to manually turn it off in apps that you don't want. It's not relevant to this bug, as far as I can tell. (While I'm here, I'd like to throw in my support for using the Mac's native menus.) Andrew Thompson Updated [aff] * 21 years ago Blocks: 13185 Andrew Thompson Updated [aff] * 21 years ago No longer blocks: 13185 nnooiissee Comment 8 [17d] * 20 years ago just make sure the native menus still come up if the contextual menus extension is not pressent. i for one loath that damnable thing--apple decided to wipe out control key alias dragging, okay that was defacto, but not official, but removing command-option dragging to copy and align? that dated back as far as i have used mac os. not that we needed contextual menus, mind you. oh well, maybe someday someone will do something useful with them (rather than converting a working system, xul, in a way that might break it (maybe this bug should at least depend on bug 51142). m_mozilla Comment 9 [f11] * 20 years ago does this block bug 13185 ? -matt Henri Sivonen (:hsivonen) Updated [003] * 20 years ago Blocks: 13185 Hixie (not reading bugmail) Updated [839] * 20 years ago Depends on: 118025 Hixie (not reading bugmail) Updated [839] * 20 years ago Depends on: 118296 Hixie (not reading bugmail) Updated [839] * 20 years ago No longer depends on: 118296 Frankie Comment 10 [96f] * 19 years ago Does this bug affect OS X? If not, it should be WONTFIX. Chibi15 Comment 11 [0e8] * 19 years ago It does affect Mac OS X. Jo Hermans Comment 12 [dd4] * 19 years ago *** Bug 196611 has been marked as a duplicate of this bug. *** Frankie Updated [96f] * 19 years ago OS: Mac System 8.5 - MacOS X David Douthitt Comment 13 [fed] * 18 years ago Not having standard MacOS contextual menus means that Chronos Software's StickyBrain does not function with Mozilla at all, and thus significantly affects the user's ability to use StickyBrain for its intended purpose. Mozilla also needs to recognize AppleScript (I know Camino doesn't...) Simon Fraser [no longer active] Comment 14 [de8] * 18 years ago > Mozilla also needs to recognize AppleScript (I know Camino doesn't...) Sure they do. There isn't much support, but there's some. What do you need? Greg K. Comment 15 [530] * 17 years ago *** Bug 240124 has been marked as a duplicate of this bug. *** Mano (::mano, needinfo? for any questions; not reading general bugmail) [da1] Updated * 17 years ago Flags: blocking-aviary1.0mac? Kevin Gerich Comment 16 [50d] * 17 years ago *** Bug 239036 has been marked as a duplicate of this bug. *** Mano (::mano, needinfo? for any questions; not reading general bugmail) [da1] Updated * 17 years ago Flags: blocking-aviary1.0mac? louis bennett Updated [ea4] * 17 years ago Blocks: 262956 louis bennett Updated [ea4] * 17 years ago Blocks: 101472 No longer blocks: 262956 Mano (::mano, needinfo? for any questions; not reading general bugmail) [da1] Updated * 17 years ago Blocks: macmeta Mano (::mano, needinfo? for any questions; not reading general bugmail) [da1] Comment 17 * 17 years ago I've started to work on this.. So far, i have an issue: DrawThemeMenuItem needs the menu rect (in addition to the menuitem rect); how can i achieve it? David Catmull Comment 18 [6ae] * 17 years ago I bet you can get away with using the same rect for both. I suspect OS 9's beveled edges were mainly what made this important. Mano (::mano, needinfo? for any questions; not reading general bugmail) [da1] Comment 19 * 17 years ago (In reply to comment #18) > I bet you can get away with using the same rect for both. I suspect OS 9's > beveled edges were mainly what made this important. Probably not, even HITheme api (10.3+) thinks it needs this information. Ben Fowler Comment 20 [722] * 17 years ago (In reply to comment #17) > I've started to work on this.. This report is marked as HELPWANTED . Do you have any design documentation? Is there any way to speed your efforts on this 5 year old bug? Josh Aas Updated [a8f] * 16 years ago Assignee: mikepinkerton - joshmoz Status: ASSIGNED - NEW Josh Aas Updated [a8f] * 14 years ago Assignee: joshmoz - nobody timeless Updated [e4a] * 13 years ago Component: XP Toolkit/Widgets: Menus - XUL QA Contact: jrgmorrison - xptoolkit.widgets Florian Bender Comment 21 [89d] * 8 years ago Fixing this should fix quite a few other bugs, including future OS style changes, so yes please! This bug should block Bug 565518. Jim Mathies [:jimm] Updated [def] * 5 years ago No longer blocks: 101472 Emilio Cobos Alvarez (:emilio) Updated [1d9] * 2 years ago Component: XUL - Widget: Cocoa Hardware: PowerPC - All Haik Aftandilian [:haik] Updated [662] * 8 months ago See Also: - 1656301 Haik Aftandilian [:haik] Updated [662] * 8 months ago See Also: - 1668119 Markus Stange [:mstange] Assignee Comment 22 [711] * 6 months ago * Edited I have started looking into this a bit. I think the outline of the work would be roughly the following: * Decide which of our non-native menus we want to be native. I'm aware of the following categories: + Context menus + popups: + If we decide to use native menus for popups may become native at some point in the future but will stay non-native for now. Assignee: nobody - mstange.moz Status: NEW - ASSIGNED Target Milestone: Future - --- Julien Chaupitre Updated [9a3] * 4 months ago See Also: - http://jira.mozilla.com/browse/FIDEFE-57 Markus Stange [:mstange] Assignee [711] Updated * 4 months ago Depends on: 1691213 Julien Chaupitre Updated [9a3] * 4 months ago See Also: http://jira.mozilla.com/browse/FIDEFE-57 - http:// jira.mozilla.com/browse/FFXP-108 Markus Stange [:mstange] Assignee [711] Updated * 4 months ago Depends on: 1691861 :Gijs (he/him) Updated [664] * 3 months ago Depends on: 1692669 Martin Balfanz [:mbalfanz] Updated [5b6] * 3 months ago Whiteboard: [proton-context-menus] - [proton-context-menus][mac:mr1] Eiichi Comment 34 [0ab] * 3 months ago Regarding