Text selection rectangle shows wrong / different part of opened PDF document
Categories
(Firefox :: PDF Viewer, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr140 | --- | unaffected |
| firefox152 | --- | unaffected |
| firefox153 | --- | unaffected |
| firefox154 | --- | fixed |
People
(Reporter: Tobbi, Assigned: gw)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
I'm seeing a bug with text selection in Firefox Nightly (not Release, though). I've already filed this bug on GitHub as https://github.com/mozilla/pdf.js/issues/21584
When selecting text in a PDF document, the selection box does not contain the text selected, but a different part of the PDF file that's being viewed.
Steps to reproduce:
- Open the pdf.js example viewer at https://mozilla.github.io/pdf.js/web/viewer.html
- Highlight / select the heading "Trace-based Just-in-Time Type Specialization for Dynamic
Languages"
Expected results:
The highlight box / rectangle contains the text "Trace-based Just-in-Time Type Specialization for Dynamic
Languages"
Actual results:
The highlight box / rectangle contains part of the name section below the title.
Comment 1•1 day ago
|
||
It would be great if you could try using mozregression to pinpoint what caused this.
Comment 2•1 day ago
|
||
regression range:
https://hg-edge.mozilla.org/integration/autoland/pushloghtml?fromchange=bddf006f33a761249182e33b5cf59b24b25ef5a6&tochange=7758fcd3b738a1af186a64b2101916f11575fe30
Comment 3•1 day ago
|
||
:gw can you have a look please ?
Comment 4•1 day ago
|
||
Set release status flags based on info from the regressing bug 2054854
| Assignee | ||
Comment 5•1 day ago
|
||
A backdrop-filter resolve target can establish a different raster root
than the parent surface it reads back from (for example when it promotes
to a root-snapping raster root inside a scrolled subtree). handle_resolve
intersected the dest and src content rects as if they shared a space,
offsetting the backdrop readback by the scroll amount. Store the
dest->src raster mapping on the ResolveOp and apply it so we read back
the region the backdrop actually covers. The mapping is the identity when
the raster roots match, so the common case is unchanged.
Updated•1 day ago
|
| Assignee | ||
Updated•1 day ago
|
| Assignee | ||
Comment 6•1 day ago
|
||
Description
•