Closed
Bug 710297
Opened 13 years ago
Closed 13 years ago
Canvas becomes clipped and unpannable
Categories
(Firefox for Android Graveyard :: General, defect, P2)
Tracking
(firefox11 verified, firefox12 verified, fennec11+)
VERIFIED
FIXED
Firefox 12
People
(Reporter: hsivonen, Assigned: kats)
References
()
Details
(Keywords: regression)
Attachments
(1 file)
2.37 KB,
patch
|
pcwalton
:
review+
cwiiis
:
review+
christian
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
(I used Galaxy Nexus with Android 4.0.1. Dunno if that matters.) Steps to reproduce: 1) Navigate to http://www.hs.fi/ 2) Click the title/lede/picture of the first story to navigate to a story page. 3) Double-tap to zoom. 4) Try to pan. 5) Multi-touch zoom. 6) Try to pan. 7) Retry a couple of times. If you don't see a problem, quit Fennec and try again. Actual results: Sometimes, the canvas gets clipped to the area that fits on the screen. After that happens, trying to pan doesn't work. The view behaves as if the area that fits on the screen is all there is. That is, the canvas just snaps back. When zooming out, the view makes it look like the area was clipped, but at least in the most recent build, the clip region seems to update after zooming. Expected results: Expected the view to act as if the bounds of the canvas were the bounds of the content. Expected no clipping to an area smaller than that. Expected to be able to pan to all the content at any given zoom level.
Comment 1•13 years ago
|
||
This is a pretty bad issue with the browser that should block any release.
Updated•13 years ago
|
Severity: normal → major
Updated•13 years ago
|
Assignee: nobody → bugmail.mozilla
Priority: -- → P2
Assignee | ||
Comment 3•13 years ago
|
||
This looks like it was introduced by the patch for bug 707935. The problem is the article pages on hs.fi stay in document.readyState == "loading" for a very long time, so we don't update the page size until much later. The throbber even stops, giving the appearance that the page has stopped loading, even though it isn't - if you wait longer eventually the throbber comes back, the page finishes loading for real, and we update the page size. The throbber may or may not be fixed with bug 712414, but regardless, we should do periodic updates to the page size.
Keywords: regression
Assignee | ||
Comment 4•13 years ago
|
||
Attachment #583610 -
Flags: review?(pwalton)
Assignee | ||
Comment 6•13 years ago
|
||
QA: please also verify bug 712596 when verifying this bug.
Comment 9•13 years ago
|
||
Comment on attachment 583610 [details] [diff] [review] Send page size updates more often Review of attachment 583610 [details] [diff] [review]: ----------------------------------------------------------------- r+ from me with a lengthier comment for the below code. ::: mobile/android/chrome/content/browser.js @@ +1344,5 @@ > + * this causes the page size to jump around wildly during page load. > + */ > + if (doc.readyState === 'complete' || (pageWidth >= gScreenWidth && pageHeight >= gScreenHeight)) { > + this._viewport.pageWidth = pageWidth; > + this._viewport.pageHeight = pageHeight; Took me a few seconds to realise that this is what we want to do due to the zoom behaviour. It's worth adding a comment about us wanting page sizes less than the screen after loading so that we can adjust the zoom for the page to fit.
Attachment #583610 -
Flags: review+
Comment 10•13 years ago
|
||
Comment on attachment 583610 [details] [diff] [review] Send page size updates more often Review of attachment 583610 [details] [diff] [review]: ----------------------------------------------------------------- Fine by me. Note that patch part 5 in bug 709492 kills the readyState check entirely, since it's no longer necessary at that point to prevent page size from jumping around.
Attachment #583610 -
Flags: review?(pwalton) → review+
Assignee | ||
Comment 11•13 years ago
|
||
Landed on m-i: https://hg.mozilla.org/integration/mozilla-inbound/rev/bb41941cdf9d
status-firefox11:
--- → affected
Whiteboard: [inbound], [leave open after inbound merge]
Target Milestone: --- → Firefox 12
Assignee | ||
Updated•13 years ago
|
Attachment #583610 -
Flags: approval-mozilla-aurora?
Comment 12•13 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/b58836d3fa78 Backed out on suspicion of causing Android m1 and m2 orange.
Whiteboard: [inbound], [leave open after inbound merge] → [leave open after inbound merge]
Assignee | ||
Comment 13•13 years ago
|
||
Comment on attachment 583610 [details] [diff] [review] Send page size updates more often Investigating oranges
Attachment #583610 -
Flags: approval-mozilla-aurora?
Assignee | ||
Comment 14•13 years ago
|
||
Re-landed on m-i: https://hg.mozilla.org/integration/mozilla-inbound/rev/bfe14712fe3c Try run ran green: https://tbpl.mozilla.org/?tree=Try&rev=30bbb4acc8ca Oranges were caused by the patch for bug 712761
Whiteboard: [leave open after inbound merge] → [leave open after inbound merge], [inbound]
Comment 15•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/bfe14712fe3c
Whiteboard: [leave open after inbound merge], [inbound]
Assignee | ||
Updated•13 years ago
|
Attachment #583610 -
Flags: approval-mozilla-aurora?
Comment 16•13 years ago
|
||
Comment on attachment 583610 [details] [diff] [review] Send page size updates more often [triage comment] Approved for aurora. QA says this is bad and would block a release.
Attachment #583610 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 17•13 years ago
|
||
Landed on aurora: https://hg.mozilla.org/releases/mozilla-aurora/rev/7986e3f95244
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: Firefox 12 → Firefox 11
Comment 18•13 years ago
|
||
Samsung Nexus S (Android 4.0.3) Samsung Galaxy SII (Android 2.3.4) 20111230040819 http://hg.mozilla.org/mozilla-central/rev/9fdaea5d67e2 20111229042021 http://hg.mozilla.org/releases/mozilla-aurora/rev/06335a118a5a
Updated•13 years ago
|
tracking-fennec: --- → 11+
Assignee | ||
Comment 20•12 years ago
|
||
Fixing target milestone I incorrectly changed when landing on aurora.
Target Milestone: Firefox 11 → Firefox 12
Comment hidden (off-topic) |
Comment hidden (off-topic) |
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
•