Revert "gpui: Flash menu in menubar on macOS when action is triggered (#38588)" (#38880)

This reverts commit ed7bd5a8ed.

We noticed this PR causes the editor to hang if you hold down any of the
menu item actions like ctrl+z, ctrl+x, etc


Release Notes:

- Fixed macOS menu item actions hanging the editor when their key
combination is held down
This commit is contained in:
Lukas Wirth
2025-09-25 13:36:19 +00:00
committed by GitHub
parent 3c5e683fbe
commit a9fe18f4cb
7 changed files with 18 additions and 119 deletions
+1 -3
View File
@@ -1,5 +1,5 @@
use crate::{
Action, AnyWindowHandle, BackgroundExecutor, ClipboardItem, CursorStyle, DevicePixels,
AnyWindowHandle, BackgroundExecutor, ClipboardItem, CursorStyle, DevicePixels,
DummyKeyboardMapper, ForegroundExecutor, Keymap, NoopTextSystem, Platform, PlatformDisplay,
PlatformKeyboardLayout, PlatformKeyboardMapper, PlatformTextSystem, PromptButton,
ScreenCaptureFrame, ScreenCaptureSource, ScreenCaptureStream, SourceMetadata, Task,
@@ -378,8 +378,6 @@ impl Platform for TestPlatform {
fn on_validate_app_menu_command(&self, _callback: Box<dyn FnMut(&dyn crate::Action) -> bool>) {}
fn on_action_triggered(&self, _action: &dyn Action) {}
fn app_path(&self) -> Result<std::path::PathBuf> {
unimplemented!()
}