mirror of
https://github.com/t8y2/dbx.git
synced 2026-10-20 00:17:44 +00:00
docs(wry): record macos keydown gating divergence
This commit is contained in:
Vendored
+12
@@ -12,3 +12,15 @@ On macOS, DBX also updates Wry's pasteboard and modifier-key APIs for
|
||||
`objc2-app-kit` 0.3.2 and removes `unsafe` blocks around methods that are now
|
||||
exposed as safe. This keeps file drag-and-drop behavior while avoiding
|
||||
deprecated AppKit constants and compiler warnings.
|
||||
|
||||
On macOS, DBX also gates `WryWebViewParent.keyDown:` menu key-equivalent
|
||||
forwarding on Command/Control modifiers, returns early when the menu handles
|
||||
the event, and sinks remaining unhandled events via `interpretKeyEvents`
|
||||
(preserving upstream's no-NSBeep behavior from wry#742). Without the gate,
|
||||
every keyDown was passed to `performKeyEquivalent`, which silently swallowed
|
||||
keys that matched no menu accelerator before they reached the WKWebView
|
||||
content (iframe-based apps included); Option-modified keys stay untouched for
|
||||
dead-key/compose input. This matches the proposal in upstream
|
||||
tauri-apps/wry#1711 (see also tauri-apps/wry#1175, #1177) and unblocks
|
||||
in-app shortcuts such as the table structure editor (t8y2/dbx#7245,
|
||||
landed via PR #8650).
|
||||
|
||||
Reference in New Issue
Block a user