Closed
Bug 1202290
Opened 9 years ago
Closed 9 years ago
Loading image in fennec and panning around shows perma-blurry
Categories
(Firefox for Android Graveyard :: Toolbar, defect)
Tracking
(firefox42 unaffected, firefox43 fixed)
RESOLVED
FIXED
Firefox 43
Tracking | Status | |
---|---|---|
firefox42 | --- | unaffected |
firefox43 | --- | fixed |
People
(Reporter: kats, Assigned: kats)
References
Details
(Keywords: regression)
Attachments
(1 file)
3.29 KB,
patch
|
tnikkel
:
review+
|
Details | Diff | Splinter Review |
Nwxus 4 running sep 05 nightly. Load https://bug1109194.bmoattachments.org/attachment.cgi?id=8533829 and pan/rotate. The bottom part of the image seems to be rendered in low-res. It's fine on Aurora; probably a result of one of my recent viewport changes. It also seems to load zoomed in instead of zoomed to fit.
Assignee | ||
Comment 1•9 years ago
|
||
The loading zoomed in rather than zoomed to fit is "technically correct" since the synthetic document that is created to hold the image has a viewport of width=device-width;height=device-height. Old fennec CSS viewport code wasn't respecting this properly but the new CSS viewport code in MobileViewportManager does. The low-res stuff is an issue with the composition bounds. I have a patch that fixes it (thankfully the patch involves deleting an old special-case code path rather than adding more stuff).
Assignee | ||
Comment 2•9 years ago
|
||
See commit message in the patch for the explanation. The old Fennec code that expanded the CSS viewport height was located at https://hg.mozilla.org/mozilla-central/rev/636fa61990f3#l4.238 and so that no longer happens.
Attachment #8657987 -
Flags: review?(tnikkel)
Assignee | ||
Comment 3•9 years ago
|
||
green try |
Try push at https://treeherder.mozilla.org/#/jobs?repo=try&revision=7a709157d5ef
Comment 5•9 years ago
|
||
Comment on attachment 8657987 [details] [diff] [review] Patch Thanks for the explanation. Happy to see this special case code go away. So the widget does get resized, how does that work?
Attachment #8657987 -
Flags: review?(tnikkel) → review+
Assignee | ||
Comment 6•9 years ago
|
||
Not sure exactly what you're asking - but in the Java code when the toolbar is shown/hidden we send a message to the C++ code which resizes the widget accordingly, that code is at http://mxr.mozilla.org/mozilla-central/source/widget/android/nsWindow.cpp?rev=730d2acfbdb6#768
Comment 7•9 years ago
|
||
That answers my question thanks.
Comment 9•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/4e57b1f7edbe
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 43
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•