[Webkit-unassigned] [Bug 270578] Web Inspector: cannot type Option-D with certain keyboard layout in console
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Mar 14 04:26:56 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=270578
Razvan Caliman <rcaliman at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rcaliman at apple.com
--- Comment #4 from Razvan Caliman <rcaliman at apple.com> ---
(In reply to Alexey Proskuryakov from comment #1)
> I think that this can be reproduced even without installing this keyboard.
> With U.S. keyboard, Option-D normally produces "∂", but nothing in Web
> Inspector console.
The Console prompt uses the Codemirror editor.
Option-D (aka Alt-D) is a keyboard shortcut which deletes text from the cursor to the end of the word:
https://github.com/WebKit/WebKit/blob/fbe4a30494efb2f9a31d2a6c2866780889869737/Source/WebInspectorUI/UserInterface/External/CodeMirror/codemirror.js#L6321
There are many other keyboard shortcuts which will run editor actions instead of typing in a character.
The reason you don't see the effect is probably because you're trying to type the dollar sign at the start of an empty line.
I don't know if Web Inspector can detect keyboard layout.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240314/03bf42ef/attachment-0001.htm>
More information about the webkit-unassigned
mailing list