Bug 260866 - Web pages can't detect when CMD+SHIFT+4 has stolen keyboard events
Summary: Web pages can't detect when CMD+SHIFT+4 has stolen keyboard events
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: Safari 17
Hardware: Mac (Apple Silicon) macOS 13
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-08-29 10:00 PDT by Mishiko
Modified: 2023-09-05 10:01 PDT (History)
6 users (show)

See Also:


Attachments
Screen recording of bug (1.63 MB, video/mp4)
2023-08-29 10:00 PDT, Mishiko
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mishiko 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
Comment 2 Alexey Proskuryakov 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.
Comment 3 Mishiko 2023-08-30 02:18:05 PDT
The issue is that key modifier state is wrong after the screenshot.
Comment 4 Radar WebKit Bug Importer 2023-09-05 10:01:14 PDT
<rdar://problem/114989740>