Skip to content

UnifiedPDF: Find-in-page highlights very unstable during zoom#26069

Merged
webkit-commit-queue merged 1 commit intoWebKit:mainfrom
hortont424:eng/UnifiedPDF-Find-in-page-highlights-very-unstable-during-zoom
Mar 19, 2024
Merged

UnifiedPDF: Find-in-page highlights very unstable during zoom#26069
webkit-commit-queue merged 1 commit intoWebKit:mainfrom
hortont424:eng/UnifiedPDF-Find-in-page-highlights-very-unstable-during-zoom

Conversation

@hortont424
Copy link
Contributor

@hortont424 hortont424 commented Mar 18, 2024

c52386b

UnifiedPDF: Find-in-page highlights very unstable during zoom
https://bugs.webkit.org/show_bug.cgi?id=271177

Reviewed by Simon Fraser.

* Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.mm:
(WebKit::UnifiedPDFPlugin::setScaleFactor):
Adopt our `scrollToPoint` helper, which also makes this a programmatic scroll,
which is important to make its application synchronous in the Web Content process,
so that we can correctly repaint the overlay synchronously.

* Source/WebKit/WebProcess/WebPage/FindController.cpp:
(WebKit::FindController::updateFindUIAfterPageScroll):
Disable async scrolling for UnifiedPDFPlugin while the find overlay is installed.

Canonical link: https://commits.webkit.org/276316@main

83994b9

Misc iOS, tvOS & watchOS macOS Linux Windows
✅ 🧪 style ✅ 🛠 ios ✅ 🛠 mac ✅ 🛠 wpe 🛠 wincairo
✅ 🛠 ios-sim ✅ 🛠 mac-AS-debug 🧪 wpe-wk2
✅ 🧪 webkitperl ✅ 🧪 ios-wk2 ✅ 🧪 api-mac 🧪 api-wpe
🧪 ios-wk2-wpt ✅ 🛠 wpe-skia
⏳ 🛠 🧪 jsc ✅ 🧪 api-ios ✅ 🧪 mac-wk2 ✅ 🛠 gtk
⏳ 🛠 🧪 jsc-arm64 ✅ 🛠 tv ✅ 🧪 mac-AS-debug-wk2 🧪 gtk-wk2
🛠 tv-sim 🧪 api-gtk
✅ 🛠 🧪 merge 🛠 watch
✅ 🛠 watch-sim

@hortont424 hortont424 requested a review from cdumez as a code owner March 18, 2024 21:09
@hortont424 hortont424 self-assigned this Mar 18, 2024
@hortont424 hortont424 added the PDF For bugs in WebKit's built-in PDF support. label Mar 18, 2024
@hortont424 hortont424 added the merge-queue Applied to send a pull request to merge-queue label Mar 18, 2024
https://bugs.webkit.org/show_bug.cgi?id=271177

Reviewed by Simon Fraser.

* Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.mm:
(WebKit::UnifiedPDFPlugin::setScaleFactor):
Adopt our `scrollToPoint` helper, which also makes this a programmatic scroll,
which is important to make its application synchronous in the Web Content process,
so that we can correctly repaint the overlay synchronously.

* Source/WebKit/WebProcess/WebPage/FindController.cpp:
(WebKit::FindController::updateFindUIAfterPageScroll):
Disable async scrolling for UnifiedPDFPlugin while the find overlay is installed.

Canonical link: https://commits.webkit.org/276316@main
@webkit-commit-queue webkit-commit-queue force-pushed the eng/UnifiedPDF-Find-in-page-highlights-very-unstable-during-zoom branch from 83994b9 to c52386b Compare March 19, 2024 00:43
@webkit-commit-queue
Copy link
Collaborator

Committed 276316@main (c52386b): https://commits.webkit.org/276316@main

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

@webkit-commit-queue webkit-commit-queue merged commit c52386b into WebKit:main Mar 19, 2024
@webkit-commit-queue webkit-commit-queue removed the merge-queue Applied to send a pull request to merge-queue label Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PDF For bugs in WebKit's built-in PDF support.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants