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
@@ -442,8 +442,6 @@ impl<P: LinuxClient + 'static> Platform for P {
});
}
fn on_action_triggered(&self, _action: &dyn Action) {}
fn app_path(&self) -> Result<PathBuf> {
// get the path of the executable of the current process
let app_path = env::current_exe()?;