gecko-dev/widget/cocoa
Emilio Cobos Álvarez c93f219d2e Bug 1824541 - Synchronously rollup popups when unfocused. r=mac-reviewers,mstange
Otherwise if we become fully occluded we'll throttle the refresh driver,
which means that the panel transition won't end soon enough, and the
popuphidden event won't fire soon enough. This blocks opening other
downloads panels because of this:

  https://searchfox.org/mozilla-central/rev/98397ff4eac3d32b815fbb33bff147297fb972d7/browser/components/downloads/content/downloads.js#308-310,335-340

Alternative fixes could be:

 * On the front-end, remove the popup opening block on popuphiding
   rather than popuphidden.

 * Doing something like this from nsCocoaWindow::DispatchOcclusionEvent,
   when we're fully occluded.

Let me know if you prefer any of those.

Differential Revision: https://phabricator.services.mozilla.com/D174538
2023-04-04 16:27:56 +00:00
..
crashtests
cursors
docs Bug 1621950 - fix some myst ref warnings r=firefox-source-docs-reviewers,devtools-reviewers,sylvestre 2023-03-30 08:01:22 +00:00
resources/MainMenu.nib
AppearanceOverride.h
AppearanceOverride.mm
CFTypeRefPtr.h
CustomCocoaEvents.h
DesktopBackgroundImage.h
DesktopBackgroundImage.mm
GfxInfo.h Bug 1812698 - Expose desktopEnvironment via nsIXULRuntime rather than nsIGfxInfo. r=stransky 2023-02-01 13:14:50 +00:00
GfxInfo.mm Bug 1807403 - Blocklist WebGPU on all macOS. r=gfx-reviewers,aosmond 2023-02-23 19:07:50 +00:00
MOZIconHelper.h Bug 1817071 - Remove unused image-region support from cocoa code. r=mstange,mac-reviewers 2023-02-18 01:16:28 +00:00
MOZIconHelper.mm Bug 1817071 - Remove unused image-region support from cocoa code. r=mstange,mac-reviewers 2023-02-18 01:16:28 +00:00
MOZMenuOpeningCoordinator.h Bug 1748815 - Remove runAfterMenuClosed because it is now unused. r=bradwerth 2022-06-23 15:05:39 +00:00
MOZMenuOpeningCoordinator.mm Bug 1748815 - Remove runAfterMenuClosed because it is now unused. r=bradwerth 2022-06-23 15:05:39 +00:00
MacThemeGeometryType.h Bug 1771792 - Remove some dead vibrancy code. r=mstange 2022-05-31 10:43:29 +00:00
MediaHardwareKeysEventSourceMac.h
MediaHardwareKeysEventSourceMac.mm
MediaHardwareKeysEventSourceMacMediaCenter.h
MediaHardwareKeysEventSourceMacMediaCenter.mm Bug 1519636 - Reformat recent changes to the Google coding style. r=glandium 2023-02-13 15:02:07 +00:00
MediaKeysEventSourceFactory.cpp
NativeKeyBindings.h Bug 1191862 - part 1: Make `nsIWidget::NativeKeyBindingsType` independent from `nsIWidget` and defined in an independent header file r=smaug 2022-02-15 08:00:05 +00:00
NativeKeyBindings.mm Bug 1191862 - part 1: Make `nsIWidget::NativeKeyBindingsType` independent from `nsIWidget` and defined in an independent header file r=smaug 2022-02-15 08:00:05 +00:00
NativeMenuMac.h Bug 1763990: Don't order popups in front of native context menus on macOS. r=mstange 2023-02-02 22:13:54 +00:00
NativeMenuMac.mm Bug 1763990: Don't order popups in front of native context menus on macOS. r=mstange 2023-02-02 22:13:54 +00:00
NativeMenuSupport.mm
OSXNotificationCenter.h
OSXNotificationCenter.mm Bug 1073717 - [Web Notifications] Add support for "silent" notifications on macOS. r=mstange 2023-01-07 01:03:52 +00:00
SDKDeclarations.h Backed out 2 changesets (bug 1773752, bug 1696513) for causing build bustages. CLOSED TREE 2022-06-11 02:35:43 +03:00
ScreenHelperCocoa.h
ScreenHelperCocoa.mm Bug 1767172 - Remove custom screen info handling from GfxInfo, use ScreenManager for that. r=jrmuizel,handyman,stransky 2022-05-06 23:37:25 +00:00
TextInputHandler.h
TextInputHandler.mm Bug 1746104 - part 5-4: Make widget code handle no selection case at getting selection change notifications r=m_kato,geckoview-reviewers 2022-02-07 22:33:38 +00:00
TextRecognition.mm Bug 1782579 - Pass languages to the text recognition api; r=nordzilla,emilio 2022-08-10 19:38:46 +00:00
VibrancyManager.h Bug 1771792 - Remove some dead vibrancy code. r=mstange 2022-05-31 10:43:29 +00:00
VibrancyManager.mm Bug 1771792 - Remove some dead vibrancy code. r=mstange 2022-05-31 10:43:29 +00:00
ViewRegion.h
ViewRegion.mm
WidgetTraceEvent.mm
components.conf Bug 1773770: Part 9 - Migrate widget component content proxies to static registration. r=mccr8 2022-06-30 09:12:18 +00:00
metrics.yaml Bug 1819739: Add glean telemetry for startup::is_restored_by_macos. r=chutten 2023-03-20 18:01:39 +00:00
moz.build Bug 1825324 - Make widget/* buildable outside of a unified build environment r=andi,geckoview-reviewers,m_kato 2023-04-01 08:31:12 +00:00
mozView.h
nsAppShell.h
nsAppShell.mm Bug 639707 - Add resume session support on macOS. Based on a patch by :MattN. r=mstange 2023-02-03 03:28:06 +00:00
nsBidiKeyboard.h
nsBidiKeyboard.mm
nsChangeObserver.h
nsChildView.h Bug 1811834 - Clean up nsWidgetInitData. r=cmartin,geckoview-reviewers,calu 2023-01-23 23:58:41 +00:00
nsChildView.mm Bug 1825010 Remove NS_NATIVE_DISPLAY as it's not used r=emilio,geckoview-reviewers,m_kato 2023-03-29 06:32:21 +00:00
nsClipboard.h Bug 1796548 - Introduce a generic method to check clipboard capabilities in nsIClipboard; r=geckoview-reviewers,nika,m_kato 2023-01-16 19:50:17 +00:00
nsClipboard.mm Bug 1823751: Make macOS pasteboard use NSString for urls, and don't convert to NSData. r=mac-reviewers,spohl 2023-03-24 15:57:22 +00:00
nsCocoaFeatures.h Bug 1776210 - [macOS 13] Stack underflow crashes on Wifi Monitor thread on macOS 13 (Ventura) beta r=mac-reviewers,necko-reviewers,mstange,dragana 2022-07-25 14:09:09 +00:00
nsCocoaFeatures.mm Bug 1776210 - [macOS 13] Stack underflow crashes on Wifi Monitor thread on macOS 13 (Ventura) beta r=mac-reviewers,necko-reviewers,mstange,dragana 2022-07-25 14:09:09 +00:00
nsCocoaUtils.h Bug 639707: Add telemetry to detect how often we are getting restored by macOS vs. users manually launching the application. r=mstange 2023-02-03 03:28:06 +00:00
nsCocoaUtils.mm Bug 1822845: Partially revert dfd7e060998e1780e50e0a29ea3cfc767a3eadfb (bug 1779478) for causing errors when using macOS Services. r=mac-reviewers,mstange 2023-03-21 18:54:17 +00:00
nsCocoaWindow.h Bug 1631735 Part 1: Make nsCocoaWindow animated transitions asynchronous and atomic. r=mstange 2023-03-06 19:38:10 +00:00
nsCocoaWindow.mm Bug 1824541 - Synchronously rollup popups when unfocused. r=mac-reviewers,mstange 2023-04-04 16:27:56 +00:00
nsColorPicker.h Bug 960984 - Implement the list attribute for <input type=color>. r=emilio,geckoview-reviewers,m_kato 2022-12-14 18:17:59 +00:00
nsColorPicker.mm Bug 960984 - Implement the list attribute for <input type=color>. r=emilio,geckoview-reviewers,m_kato 2022-12-14 18:17:59 +00:00
nsCursorManager.h Backed out 6 changesets (bug 1820168) for causing multiple failures CLOSED TREE 2023-03-14 19:53:58 +02:00
nsCursorManager.mm Bug 1825324 - Make widget/* buildable outside of a unified build environment r=andi,geckoview-reviewers,m_kato 2023-04-01 08:31:12 +00:00
nsDeviceContextSpecX.h Bug 1785046 - Part 3: Let `nsIDeviceContextSpec::EndDocument` & `nsDeviceContext::EndDocument` return `MozPromise`. r=nika,emilio,geckoview-reviewers,m_kato 2022-12-19 15:42:48 +00:00
nsDeviceContextSpecX.mm Bug 1785046 - Part 3: Let `nsIDeviceContextSpec::EndDocument` & `nsDeviceContext::EndDocument` return `MozPromise`. r=nika,emilio,geckoview-reviewers,m_kato 2022-12-19 15:42:48 +00:00
nsDragService.h Bug 1762392 - Part 2: Put utility functions for NSPasteboardItem to nsCocoaUtils; r=spohl 2023-01-09 18:27:37 +00:00
nsDragService.mm Bug 1776879, replace text/unicode for clipboard and drag and drop and use text/plain directly, r=edgar,mak,stransky,geckoview-reviewers,extension-reviewers,zombie,m_kato 2023-02-01 23:30:55 +00:00
nsFilePicker.h Bug 1816740 [3/6] - convert nsIFilePicker::result* into a proper enum r=ipc-reviewers,karlt,mstange,handyman,nika 2023-02-22 21:05:23 +00:00
nsFilePicker.mm Bug 1816740 [3/6] - convert nsIFilePicker::result* into a proper enum r=ipc-reviewers,karlt,mstange,handyman,nika 2023-02-22 21:05:23 +00:00
nsLookAndFeel.h Bug 1794626: Create invert_colors telemetry probe and maintain its value via LookAndFeel r=mstange 2022-11-07 23:49:20 +00:00
nsLookAndFeel.mm Bug 1736914 - Implement prefers-reduced-transparency media query r=geckoview-reviewers,emilio,jonalmeida,ohall 2023-03-13 21:30:17 +00:00
nsMacCursor.h Backed out 6 changesets (bug 1820168) for causing multiple failures CLOSED TREE 2023-03-14 19:53:58 +02:00
nsMacCursor.mm Backed out 6 changesets (bug 1820168) for causing multiple failures CLOSED TREE 2023-03-14 19:53:58 +02:00
nsMacDockSupport.h
nsMacDockSupport.mm
nsMacFinderProgress.h
nsMacFinderProgress.mm
nsMacSharingService.h
nsMacSharingService.mm Bug 1769290 - Part 26: Emit errors from JSHandleRootedTypedefChecker r=andi,geckoview-reviewers,owlish 2022-08-09 14:13:30 +00:00
nsMacUserActivityUpdater.h
nsMacUserActivityUpdater.mm Bug 1825324 - Make widget/* buildable outside of a unified build environment r=andi,geckoview-reviewers,m_kato 2023-04-01 08:31:12 +00:00
nsMacWebAppUtils.h
nsMacWebAppUtils.mm
nsMenuBarX.h Bug 1825324 - Make widget/* buildable outside of a unified build environment r=andi,geckoview-reviewers,m_kato 2023-04-01 08:31:12 +00:00
nsMenuBarX.mm Backed out changeset 46538d8cbaf1 (bug 1642138) as per dev's request. CLOSED TREE 2022-11-05 03:02:28 +02:00
nsMenuGroupOwnerX.h Bug 1825324 - Make widget/* buildable outside of a unified build environment r=andi,geckoview-reviewers,m_kato 2023-04-01 08:31:12 +00:00
nsMenuGroupOwnerX.mm Bug 1665151 - Part 2: Expose custom element default accessibility attributes. r=edgar,Jamie,credential-management-reviewers,sgalich 2022-11-02 14:50:56 +00:00
nsMenuItemIconX.h Bug 1817071 - Remove unused image-region support from cocoa code. r=mstange,mac-reviewers 2023-02-18 01:16:28 +00:00
nsMenuItemIconX.mm Bug 1817071 - Remove unused image-region support from cocoa code. r=mstange,mac-reviewers 2023-02-18 01:16:28 +00:00
nsMenuItemX.h Bug 1748815 - Always run command events outside the context menu event loop. r=bradwerth 2022-06-23 15:05:39 +00:00
nsMenuItemX.mm Bug 1519636 - Reformat recent changes to the Google coding style. r=glandium 2023-02-13 15:02:07 +00:00
nsMenuParentX.h
nsMenuUtilsX.h Bug 1748815 - Add a workaround for test_standalone_native_menu.xhtml and test_native_menus.xhtml, which expect menu items to be activated synchronously. r=bradwerth 2022-06-23 15:05:39 +00:00
nsMenuUtilsX.mm Bug 1748815 - Add a workaround for test_standalone_native_menu.xhtml and test_native_menus.xhtml, which expect menu items to be activated synchronously. r=bradwerth 2022-06-23 15:05:39 +00:00
nsMenuX.h Bug 1642138: Improve integration with the macOS-level Window menu handling to unlock built-in OS functionality such as tiling of windows. r=mstange 2022-11-07 19:04:40 +00:00
nsMenuX.mm Bug 1825812: Disable the 'Search With Google' service menu entry on macOS, as well as other services that open in Safari. r=mstange 2023-03-31 17:42:28 +00:00
nsNativeThemeCocoa.h Bug 1817451 - Make auto-style outline always non-native. r=cmartin,stransky,mac-reviewers,bradwerth 2023-02-20 11:58:38 +00:00
nsNativeThemeCocoa.mm Bug 1817451 - Make auto-style outline always non-native. r=cmartin,stransky,mac-reviewers,bradwerth 2023-02-20 11:58:38 +00:00
nsNativeThemeColors.h Bug 1773752: Remove more workarounds for old macOS SDKs. r=mstange,media-playback-reviewers,padenot 2022-07-18 17:08:59 +00:00
nsPIWidgetCocoa.idl
nsPrintDialogX.h Bug 1769129. Remove nsIPrintSettings.isPrintSelectionRBEnabled. r=emilio 2022-05-13 15:26:07 +00:00
nsPrintDialogX.mm Bug 1805716 - Stop overwriting the print settings passed to nsIPrintDialogService::showPrintDialog with saved prefs. r=dholbert 2022-12-14 21:58:17 +00:00
nsPrintSettingsServiceX.h
nsPrintSettingsServiceX.mm Bug 1763989. Remove the PPrinting and nsPrintingProxy code. r=bobowen 2022-04-26 14:30:29 +00:00
nsPrintSettingsX.h
nsPrintSettingsX.mm Bug 1766651 - Remove nsIPrintSettings.isCancelled and nsIPrintSettings.saveOnCancel. r=bobowen 2022-04-27 17:55:24 +00:00
nsSandboxViolationSink.h
nsSandboxViolationSink.mm
nsSound.h
nsSound.mm
nsStandaloneNativeMenu.h
nsStandaloneNativeMenu.mm
nsSystemStatusBarCocoa.h
nsSystemStatusBarCocoa.mm
nsToolkit.h
nsToolkit.mm Bug 1811487 - Clean-up popup hide / rollup APIs. r=cmartin,stransky 2023-01-24 15:43:49 +00:00
nsTouchBar.h Backed out 2 changesets (bug 1773752, bug 1696513) for causing build bustages. CLOSED TREE 2022-06-11 02:35:43 +03:00
nsTouchBar.mm Bug 1825324 - Make widget/* buildable outside of a unified build environment r=andi,geckoview-reviewers,m_kato 2023-04-01 08:31:12 +00:00
nsTouchBarInput.h Backed out 2 changesets (bug 1773752, bug 1696513) for causing build bustages. CLOSED TREE 2022-06-11 02:35:43 +03:00
nsTouchBarInput.mm
nsTouchBarInputIcon.h Bug 1817071 - Remove unused image-region support from cocoa code. r=mstange,mac-reviewers 2023-02-18 01:16:28 +00:00
nsTouchBarInputIcon.mm Bug 1817071 - Remove unused image-region support from cocoa code. r=mstange,mac-reviewers 2023-02-18 01:16:28 +00:00
nsTouchBarNativeAPIDefines.h Backed out 2 changesets (bug 1773752, bug 1696513) for causing build bustages. CLOSED TREE 2022-06-11 02:35:43 +03:00
nsTouchBarUpdater.h
nsTouchBarUpdater.mm Backed out 2 changesets (bug 1773752, bug 1696513) for causing build bustages. CLOSED TREE 2022-06-11 02:35:43 +03:00
nsUserIdleServiceX.h Bug 1768920 - Avoid polling every 5 seconds in nsUserIdleService, r=dthayer,geckoview-reviewers,owlish. 2023-01-16 19:53:33 +00:00
nsUserIdleServiceX.mm Bug 1768920 - Avoid polling every 5 seconds in nsUserIdleService, r=dthayer,geckoview-reviewers,owlish. 2023-01-16 19:53:33 +00:00
nsWidgetFactory.h Bug 1773770: Part 8 - Migrate Cocoa widget module to static component registration. r=mstange 2022-06-30 09:12:18 +00:00
nsWidgetFactory.mm Bug 1773770: Part 8 - Migrate Cocoa widget module to static component registration. r=mstange 2022-06-30 09:12:18 +00:00
nsWindowMap.h Bug 1519636 - Reformat recent changes to the Google coding style r=andi,media-playback-reviewers,necko-reviewers,padenot,dragana 2022-06-07 12:32:55 +00:00
nsWindowMap.mm