Bug 260866

Summary: Web pages can't detect when CMD+SHIFT+4 has stolen keyboard events
Product: WebKit Reporter: Mishiko <nnamper>
Component: UI EventsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: a_protyasha, ap, richard_robinson2, thorton, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: Safari 17   
Hardware: Mac (Apple Silicon)   
OS: macOS 13   
Attachments:
Description Flags
Screen recording of bug none

Mishiko
Reported 2023-08-29 10:00:23 PDT
Created attachment 467485 [details] Screen recording of bug URLs - https://codepen.io/alexduloz/pen/nEQrQN?editors=1010 - https://github.com/novnc/noVNC/issues/1799 1.Launch Safari 2.Opened given link: https://codepen.io/alexduloz/pen/nEQrQN?editors=1010 3.Press CMD+SHIFT+4 and take screenshot 4.Observed key events(16+91) are still there after releasing the keys
Attachments
Screen recording of bug (1.63 MB, video/mp4)
2023-08-29 10:00 PDT, Mishiko
no flags
Alexey Proskuryakov
Comment 2 2023-08-29 14:10:35 PDT
Could you please clarify if the issue is that key modifier state is wrong after the screenshot, or that webpages cannot detect screenshots? The former seems like a bug to me, but the latter seems desirable.
Mishiko
Comment 3 2023-08-30 02:18:05 PDT
The issue is that key modifier state is wrong after the screenshot.
Radar WebKit Bug Importer
Comment 4 2023-09-05 10:01:14 PDT
Note You need to log in before you can comment on or make changes to this bug.