[Webkit-unassigned] [Bug 266929] New: PDF has wrong offset after device rotate
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Dec 29 00:26:35 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=266929
Bug ID: 266929
Summary: PDF has wrong offset after device rotate
Product: WebKit
Version: WebKit Nightly Build
Hardware: iPhone / iPad
OS: iOS 17
Status: NEW
Severity: Normal
Priority: P2
Component: PDF
Assignee: webkit-unassigned at lists.webkit.org
Reporter: duy at microsoft.com
CC: thorton at apple.com
Created attachment 469238
--> https://bugs.webkit.org/attachment.cgi?id=469238&action=review
Here is the stack of that strange event that setting pdf offset to 0.
After pdf rotate, there may occurs a weird event that reset pdf scrollview's offset to 0; Causing it jump to the first page after rotate.
And sometimes the the size is also incorrect after rotate.
But calling "webScrollView.contentInset = webScrollView.contentInset" may continue to finish the rotate event of pdfHostViewController, and then reset the offset to the right one.
This bug can not repro on simulator, only repro in real device.
And sometime, the behavior is also different for release build and debug build.
--
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/20231229/2a245ab6/attachment.htm>
More information about the webkit-unassigned
mailing list