Bug 269149 - [UnifiedPDF] Selections should no longer be tracked when window loses focus
Summary: [UnifiedPDF] Selections should no longer be tracked when window loses focus
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: PDF (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Abrar Rahman Protyasha
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2024-02-10 16:06 PST by Abrar Rahman Protyasha
Modified: 2024-02-11 02:26 PST (History)
3 users (show)

See Also:


Attachments
Reproduction in MiniBrowser (3.16 MB, video/quicktime)
2024-02-10 16:06 PST, Abrar Rahman Protyasha
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Abrar Rahman Protyasha 2024-02-10 16:06:56 PST
Created attachment 469809 [details]
Reproduction in MiniBrowser

When the window loses focus, we should stop tracking existing selections. Right now this behavior manifests itself in us accidentally extending selections once we click on the PDF while a separate window is active. Refer to the attached repro video.
Comment 1 Radar WebKit Bug Importer 2024-02-10 16:07:05 PST
<rdar://problem/122722850>
Comment 2 Abrar Rahman Protyasha 2024-02-10 23:52:10 PST
Pull request: https://github.com/WebKit/WebKit/pull/24226
Comment 3 EWS 2024-02-11 02:26:17 PST
Committed 274441@main (8250b6757382): <https://commits.webkit.org/274441@main>

Reviewed commits have been landed. Closing PR #24226 and removing active labels.