[Webkit-unassigned] [Bug 271777] New: [UnifiedPDF] PDFDocumentLayout::nearestPageIndexForDocumentPoint sometimes returns the incorrect page index
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Mar 27 11:55:38 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=271777
Bug ID: 271777
Summary: [UnifiedPDF]
PDFDocumentLayout::nearestPageIndexForDocumentPoint
sometimes returns the incorrect page index
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: PDF
Assignee: webkit-unassigned at lists.webkit.org
Reporter: sgill26 at apple.com
CC: thorton at apple.com
PDFDocumentLayout::nearestPageIndexForDocumentPoint was implemented with a heuristic to help determine the current page index for the purposes of the next/previous page context menu items. This works good enough for that, but if we need to use this method for other purposes we need to make it more precise. For example, currently it will always return the last page index when the document point is below the PDF not matter where it is exactly
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240327/7bd15f3b/attachment-0001.htm>
More information about the webkit-unassigned
mailing list