Bug 297090

Summary: [WPE] <dialog> does not close if "Escape" is pressed inside a "contenteditable" element
Product: WebKit Reporter: Yury Semikhatsky <yurys>
Component: WPE WebKitAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: aperez, bugs-noreply, cgarcia, ntim, spena
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Linux   

Yury Semikhatsky
Reported 2025-08-07 17:44:52 PDT
Steps to reproduce: 1. Open attached page 2. Put focus inside the contenteditable field 3. Press "Escape" Expected: The dialog is closed. Actual: The dialog stays open. Works fine on GTK and other platforms. Originally reported in Playwright: https://github.com/microsoft/playwright/issues/36727
Attachments
Tim Nguyen (:ntim)
Comment 1 2025-08-08 00:16:42 PDT
*** This bug has been marked as a duplicate of bug 297091 ***
Yury Semikhatsky
Comment 2 2025-08-08 10:13:28 PDT
Oops, apparently it created a few bug reports when I clicked back to reattach the file, sorry about that.
Carlos Garcia Campos
Comment 3 2025-08-09 00:08:57 PDT
If this only happens in MiniBroweser this regressed in 298279@main because Escape is always claimed to be handled by MiniBrowser so the key event is not passed to webkit.
Note You need to log in before you can comment on or make changes to this bug.