Файли
openidea/src-tauri
Vladislav Kuzmin ca472742bf fix(macos): restore workbench shortcuts from the editor (#5956)
Since the multi-webview change, Wry builds the workbench WKWebView as a
child view that declines every key equivalent, so AppKit sent Command
shortcuts straight to the native menu, where keymap-drawn items are
dropped during key handling. ⌘0 / ⌘1 and other workbench shortcuts
could then stop working from the editor.

A local key monitor now gives the focused workbench webview first
refusal for the printable Command shortcuts its current keymap shows in
the menu, only when that webview is the window's first responder and no
sheet is attached. Native clipboard commands keep AppKit's path. Undo
and Redo use the focused CodeMirror history, with the Edit menu as the
fallback when the page declines.

Closes #5954

Co-authored-by: principalwater <[email protected]>
2026-11-26 06:25:50 +08:00
..
2026-10-22 18:55:10 +08:00
2026-11-25 22:37:51 +08:00