spohlMozilla
2a3c838e24
Bug 1980815: Ensure that the emoji picker menu item doesn't disappear from the menu bar and that its associated shortcuts continue to work on macOS. r=mac-reviewers,bradwerth a=pascalc
...
This is somewhat unfortunate, but I couldn't find a better way to address this. There are two aspects to this fix:
1. In order for SVG chicklets to appear in the context menu the first time it is opened, we have to set an nsMenuX to be rebuilt in its constructor (bug 1923666). However, this interferes with some menus, such as the Window and the Edit menu, since macOS adds its own menu items to these menus. This patch expands the fix for bug 1939346 for the Window menu to also include the Edit menu, where the Emoji picker is added as a menu item.
2. Bug 1808223 addressed a regression due to a macOS bug where the emoji picker and the dictation menu item are added every time that a main menu bar is set for an app, but macOS 'forgets' to remove these items when switched away from one Firefox window to another and back again. One quirk about this is that if the user switches to another APP and back to the same Firefox window, macOS will not re-add these menu items to the edit menu again. So we need to avoid removing these problematic menu items in this situation. I was hoping to implement a fix that would simply remove duplicates *after* setting the `NSApp.mainMenu`, but if we do so then macOS will remove ALL added menu items and the emoji picker will disappear entirely from the Edit menu. So this appears to be the only way to properly fix this.
Differential Revision: https://phabricator.services.mozilla.com/D268239
2025-10-28 22:28:31 +00:00
..
2025-05-17 19:11:13 +00:00
2025-10-28 22:28:31 +00:00
2025-09-02 20:29:05 +00:00
2025-05-14 21:37:51 +00:00
2025-06-11 17:05:48 +00:00
2025-05-15 10:53:11 +00:00
2025-07-29 18:47:07 +00:00
2025-05-16 09:53:48 +00:00
2025-02-13 19:19:18 +00:00
2024-10-28 22:37:57 +00:00
2025-01-06 15:53:05 +00:00
2024-10-28 22:37:56 +00:00
2025-04-11 16:51:11 +00:00
2024-11-07 14:31:58 +02:00
2025-04-07 20:36:21 +00:00
2024-11-20 16:37:50 +00:00
2024-09-20 08:12:33 +00:00
2025-05-09 06:49:25 +00:00
2025-05-16 09:53:52 +00:00
2025-01-11 07:43:02 +00:00
2025-01-11 07:43:02 +00:00
2024-11-07 13:08:10 +00:00
2024-10-05 15:10:32 +00:00
2025-03-20 06:02:07 +00:00
2024-10-05 15:10:32 +00:00
2024-10-05 15:10:32 +00:00
2025-02-21 06:50:14 +00:00
2024-10-05 15:10:32 +00:00
2024-10-05 15:10:32 +00:00
2024-10-05 15:10:32 +00:00
2024-10-28 17:06:49 +00:00
2025-01-29 01:11:36 +00:00
2025-05-12 10:23:30 +00:00
2025-04-07 20:36:21 +00:00
2025-04-07 20:36:21 +00:00
2025-02-17 04:09:06 +00:00
2025-04-03 13:42:51 +00:00
2025-04-07 09:28:54 +00:00
2025-05-08 14:07:54 +00:00
2024-09-20 08:12:33 +00:00
2024-10-10 16:50:03 +00:00
2025-05-16 09:53:52 +00:00
2025-01-16 11:30:37 +00:00
2025-05-14 21:38:06 +00:00
2025-05-14 21:38:06 +00:00
2025-03-15 19:52:58 +00:00
2025-01-16 11:30:37 +00:00
2025-05-21 17:33:26 +00:00
2025-05-07 03:19:50 +00:00
2025-03-21 15:28:41 +00:00
2025-03-07 12:44:07 +00:00
2025-05-17 19:11:13 +00:00
2025-04-21 00:42:45 +00:00
2025-01-06 15:53:05 +00:00
Bug 1964489 - Avoid duplication in NS_DECLARE_STATIC_IID_ACCESSOR / NS_DEFINE_STATIC_IID_ACCESSOR r=nika,necko-reviewers,media-playback-reviewers,places-reviewers,win-reviewers,dom-storage-reviewers,xpcom-reviewers,gstoll,janv,emilio,padenot,valentin,asuth
2025-05-08 08:05:51 +00:00
2024-11-25 14:03:25 +00:00
2024-09-19 16:17:21 +00:00
2025-03-07 12:44:07 +00:00
2025-03-07 12:44:07 +00:00
2025-02-17 04:09:06 +00:00
2025-03-12 05:25:39 +00:00
2024-11-12 15:16:50 +00:00
2025-05-14 21:38:06 +00:00
2024-11-25 14:03:25 +00:00
Bug 1964489 - Avoid duplication in NS_DECLARE_STATIC_IID_ACCESSOR / NS_DEFINE_STATIC_IID_ACCESSOR r=nika,necko-reviewers,media-playback-reviewers,places-reviewers,win-reviewers,dom-storage-reviewers,xpcom-reviewers,gstoll,janv,emilio,padenot,valentin,asuth
2025-05-08 08:05:51 +00:00
2024-09-11 23:02:22 +00:00
2025-05-21 17:33:26 +00:00
2025-03-07 12:44:07 +00:00
2024-10-03 22:21:51 +00:00
2024-11-07 13:08:10 +00:00
2025-03-20 17:25:42 +00:00
2024-09-11 23:02:23 +00:00
2024-10-23 08:10:14 +00:00
2024-11-19 15:41:23 +00:00
Bug 1964489 - Avoid duplication in NS_DECLARE_STATIC_IID_ACCESSOR / NS_DEFINE_STATIC_IID_ACCESSOR r=nika,necko-reviewers,media-playback-reviewers,places-reviewers,win-reviewers,dom-storage-reviewers,xpcom-reviewers,gstoll,janv,emilio,padenot,valentin,asuth
2025-05-08 08:05:51 +00:00
2025-04-09 18:04:42 +00:00
2025-03-20 15:54:31 +00:00
2025-05-14 09:47:38 +00:00
2024-11-07 11:09:40 +00:00
Bug 1922838 - Replace ArrayLength, ArrayEnd and MOZ_ARRAY_LENGTH by standard alternative r=glandium,necko-reviewers,jgilbert,application-update-reviewers,media-playback-reviewers,credential-management-reviewers,anti-tracking-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,bytesized,janv,dimi,daisuke,karlt,gstoll,canaltinova,timhuang
2024-10-28 08:21:19 +00:00
2024-11-20 16:37:50 +00:00
2025-04-01 05:56:03 +00:00
2025-05-17 19:11:13 +00:00
2025-05-17 19:11:13 +00:00
2025-07-08 17:47:14 +00:00
2025-05-17 19:11:13 +00:00
2024-10-28 22:37:57 +00:00
2024-10-28 22:37:56 +00:00
2025-01-16 07:56:47 +02:00
2025-01-16 07:56:47 +02:00
2025-03-22 03:24:00 +00:00
Bug 1922838 - Replace ArrayLength, ArrayEnd and MOZ_ARRAY_LENGTH by standard alternative r=glandium,necko-reviewers,jgilbert,application-update-reviewers,media-playback-reviewers,credential-management-reviewers,anti-tracking-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,bytesized,janv,dimi,daisuke,karlt,gstoll,canaltinova,timhuang
2024-10-28 08:21:19 +00:00
2024-09-17 15:59:43 +00:00
2024-11-05 18:52:41 +00:00
2024-09-17 15:59:43 +00:00
Bug 1922838 - Replace ArrayLength, ArrayEnd and MOZ_ARRAY_LENGTH by standard alternative r=glandium,necko-reviewers,jgilbert,application-update-reviewers,media-playback-reviewers,credential-management-reviewers,anti-tracking-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,bytesized,janv,dimi,daisuke,karlt,gstoll,canaltinova,timhuang
2024-10-28 08:21:19 +00:00
2024-11-05 18:52:41 +00:00
2025-08-05 20:51:38 +00:00
Bug 1964489 - Avoid duplication in NS_DECLARE_STATIC_IID_ACCESSOR / NS_DEFINE_STATIC_IID_ACCESSOR r=nika,necko-reviewers,media-playback-reviewers,places-reviewers,win-reviewers,dom-storage-reviewers,xpcom-reviewers,gstoll,janv,emilio,padenot,valentin,asuth
2025-05-08 08:05:51 +00:00
2025-03-12 17:03:48 +00:00
2024-10-04 09:55:14 +00:00
2025-05-20 20:08:25 +00:00
2025-05-20 20:08:25 +00:00
2025-05-20 20:08:25 +00:00
2025-05-20 20:08:25 +00:00
2025-03-28 02:28:02 +01:00
2025-03-28 02:28:02 +01:00
2025-05-16 09:53:52 +00:00
2024-11-05 18:52:41 +00:00
2025-05-16 09:53:52 +00:00