Closed
Bug 743247
Opened 13 years ago
Closed 13 years ago
Layout shakes around
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox14 verified, firefox15 verified, blocking-fennec1.0 beta+)
VERIFIED
FIXED
Firefox 15
People
(Reporter: gcp, Assigned: jrmuizel)
References
()
Details
Attachments
(3 files)
1.25 KB,
text/html
|
Details | |
3.08 KB,
patch
|
bas.schouten
:
review+
kats
:
feedback+
jpr
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
1.39 KB,
patch
|
kats
:
review+
mfinkle
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
Native Fennec, Galaxy S2, current Nightly.
Visit krantenkoppen.be. Pan and scroll a bit. Scroll down and then to the top again.
Expected: Page responds to user input.
Reality: Browser starts a party. User is not invited.
Comment 1•13 years ago
|
||
Possibly the same issue as bug 737801, but I haven't looked into it or tried reproducing yet.
See Also: → 737801
Comment 2•13 years ago
|
||
I don't see this on either the Galaxy Tab or the Galaxy Nexus running recent builds.
blocking-fennec1.0: --- → ?
See Also: 737801 →
Reporter | ||
Comment 3•13 years ago
|
||
Still reproduces on current Nightly on Galaxy S2 2.3.6. Does not reproduce on Nexus S 4.0.4.
Comment 4•13 years ago
|
||
I see the main body/column of the page jump and clip to the right side when scrolling partial way through (Nightly 04/11, Galaxy Nexus).
Comment 5•13 years ago
|
||
Aaron, can you demo to kats?
Reporter | ||
Comment 6•13 years ago
|
||
BTW, it's not clear that what Aaron describes is the same as what I'm seeing: I really see a violent, rapid shake that lasts several seconds.
Comment 7•13 years ago
|
||
I actually dont see anything wrong with the page in testing it again today on Nightly (04/12), GN/4.0.4.
Reporter | ||
Comment 8•13 years ago
|
||
Still reproduces for me on todays Nightly. It seems to be related to the Flash on the page - I didn't get the shimmering until I allowed plugins to run.
Reporter | ||
Comment 9•13 years ago
|
||
http://youtu.be/qo5WA5KlHKg?hd=1 unfortunately the Nexus S that I used to capture this doesn't have enough FPS to show the shake very well.
The grey square is new.
Comment 10•13 years ago
|
||
Interesting. I've seen similar behaviour on envirochem.us/25 while investigating bug 739289 - I think both of these are caused by us getting incorrect page size information because of position:fixed elements. The bad page size might trigger a redraw from java which then moves the position:fixed element again. This gets stuck in a loop causing the jitter.
Updated•13 years ago
|
Assignee: nobody → joe
blocking-fennec1.0: ? → beta+
Updated•13 years ago
|
Blocks: omtclayerbugs
Updated•13 years ago
|
Summary: Layout sha-sha-sha-sha-shakes around → Layout shakes around
Comment 11•13 years ago
|
||
I can't reproduce this on a Nexus S, Galaxy Nexus, or Galaxy S 2 with the latest nightly.
I tried zooming in and out, panning around and turning on flash on both http://envirochem.us/25 and http://krantenkoppen.be.
Please reopen with STR if I'm doing something wrong!
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
Comment 12•13 years ago
|
||
Saw this with the 23rd build. Talked with Joe he does not think any of the gfx changes landing soon or last night would have made any difference.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Comment 13•13 years ago
|
||
If QA can provide us with STR, that would be absolutely swell.
Keywords: qawanted
Comment 14•13 years ago
|
||
I cannot reproduce on Samsung Galaxy SII (2.3.4) using the the latest nightly (15.0a1 (2012-04-24)).
Kevin, what device/OS are you using.
Updated•13 years ago
|
Comment 15•13 years ago
|
||
I can't reproduce the issues that are seen in comment 9 on the url and on htpp://envirochem.us/25 , using Samsung Galaxy SII latest trunk Native Fennec build.
Comment 16•13 years ago
|
||
SV, can another person try taking a look on a different device? if no one else can reproduce, we'll mark wfm
Comment 17•13 years ago
|
||
I am unable to reproduce the issue on an HTC Desire (Android 2.2) running Nightly/15.0a1 2012-04-25.
Comment 18•13 years ago
|
||
I am able to reproduce this issue on today's Nightly, but I think that this bug might be a dupe of Bug 739584 because there is the same behavior (I mean that the same is happening for 739584 until the device will freeze).
--
Firefox 15.0a1 (2012-04-25)
Device: Samsung Galaxy S (Captivate)
OS: Android 2.2
I'm not sure if it is a dup. kevs3d.co.uk has webgl versus the other sites that have flash. They might be handled differently. Until there are fixes for one or the other and we can test both, I think we should keep both open.
I can't reproduce this on an Atrix with a build from last night, with or without plugins enabled. However, if I enable plugins, panning has horrible pauses and is in general awful.
Comment 21•13 years ago
|
||
I can also reproduce this. I see this on http://krantenkoppen.be and also on any Doodle-Poll.
STR:
1. Go to http://doodle.com
2. Hit 'View Example'
3. Scroll down and back to the top
4. See the layout shaking
Device: Samsung Galaxy S2
OS: Android 4.0.3
Comment 22•13 years ago
|
||
This bug is reproducible for me as well using the str from comment #21 on Samsung Galaxy S (Captivate). I still think that is the same issue as in bug 739584.
Keywords: qawanted
Updated•13 years ago
|
Assignee: joe → jmuizelaar
Comment 23•13 years ago
|
||
Ok reproduced on the SII here in Toronto
Galaxy SII uses PowerVR SGX540.
Comment 25•13 years ago
|
||
(In reply to Cristian Nicolae (:xti) from comment #22)
> This bug is reproducible for me as well using the str from comment #21 on
> Samsung Galaxy S (Captivate). I still think that is the same issue as in bug
> 739584.
The galaxy S is also a PowerVR SGX540 chip.
i'm unable to reproduce on Adreno GPUs (HTC incredible S, HTC Sensation)
I made a mistake . I - 9100g uses PowerVR. Aaron is right, I9100 uses Mali-400MP
Galaxy Note uses Mali-400 as well. Need to check to see if it reproduces on the Galaxy Note.
Assignee | ||
Comment 28•13 years ago
|
||
I took a look at this, it does indeed seem specific to the Mali. I recorded a trace of the shaking and when replaying it the shaking did not occur. My guess is that, for whatever reason, our drawing breaks and we end up swapping between two old buffers. This gives the appearance of shaking but were actually just switching between two old frames.
Summary: Layout shakes around → Layout shakes around on Mali gpus
Assignee | ||
Comment 29•13 years ago
|
||
It looks like this is caused by or related to the scroll bars. Disabling them makes the problem go away. I'm working on bisecting the actual problem but it seems like it's also related to the iframe at the top of the screen.
Comment 30•13 years ago
|
||
(In reply to Jeff Muizelaar [:jrmuizel] from comment #28)
> I took a look at this, it does indeed seem specific to the Mali.
Actually it seems that nobody consider any of my comments. This issue occurs not only on Mali GPU, but on PoweVR as well (Samsung Captivate is a PowerVR: http://www.gsmarena.com/samsung_i897_captivate-3408.php)
The same issue is described in bug bug 739584 (as I already mentioned in comment #18 and comment #22).
Summary: Layout shakes around on Mali gpus → Layout shakes around
Assignee | ||
Comment 31•13 years ago
|
||
Looking further, it's not the scroll bars that are the problem it's drawing anything afterwards that causes bad. It also has to do with the canvas tag being used in the ad. I've put up a reduced test case at http://people.mozilla.org/~jmuizelaar/doodle.html
XTI, we mentioned the Mali because it's easy to reproduce with a Mali device.
We are not discounting what you stated in your comment.
We could not easily reproduce with the Captivate.
Assignee | ||
Comment 33•13 years ago
|
||
Assignee | ||
Comment 34•13 years ago
|
||
apitrace saves the day. This may fix other problems as well.
Attachment #619228 -
Flags: review?(chrislord.net)
Attachment #619228 -
Flags: review?(bugmail.mozilla)
Attachment #619228 -
Flags: approval-mozilla-aurora?
Comment 35•13 years ago
|
||
Comment on attachment 619228 [details] [diff] [review]
Make sure we don't have an array buffer bound when drawing
Review of attachment 619228 [details] [diff] [review]:
-----------------------------------------------------------------
I don't know enough about GL to meaningfully r+ this, but it looks straightforward enough to me.
Attachment #619228 -
Flags: review?(bugmail.mozilla) → feedback+
Comment 36•13 years ago
|
||
Snorp, you may want to test this for the "black triangle" bug.
Assignee | ||
Updated•13 years ago
|
Whiteboard: [autoland-try]
Updated•13 years ago
|
Whiteboard: [autoland-try] → [autoland-in-queue]
Comment 37•13 years ago
|
||
Autoland Patchset:
Patches: 619228
Branch: mozilla-central => try
Destination: http://hg.mozilla.org/try/pushloghtml?changeset=190815168392
Try run started, revision 190815168392. To cancel or monitor the job, see: https://tbpl.mozilla.org/?tree=Try&rev=190815168392
Comment 38•13 years ago
|
||
Comment on attachment 619228 [details] [diff] [review]
Make sure we don't have an array buffer bound when drawing
Review of attachment 619228 [details] [diff] [review]:
-----------------------------------------------------------------
::: mobile/android/base/gfx/SurfaceTextureLayer.java
@@ +277,5 @@
>
> GLES20.glUniformMatrix4fv(mTextureMatrixHandle, 1, false, mTextureTransform, 0);
>
> + // Unbind any the current array buffer so we can use client side buffers
> + GLES20.glBindBuffer(GLES20.GL_ARRAY_BUFFER, 0);
Might want to make whitespacing here consistent with elsewhere.
Attachment #619228 -
Flags: review?(chrislord.net) → review+
Assignee | ||
Comment 39•13 years ago
|
||
Target Milestone: --- → Firefox 15
Updated•13 years ago
|
Comment 41•13 years ago
|
||
Comment on attachment 619228 [details] [diff] [review]
Make sure we don't have an array buffer bound when drawing
Mobile only.
Attachment #619228 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 42•13 years ago
|
||
Attachment #619251 -
Flags: review?(bugmail.mozilla)
Updated•13 years ago
|
Attachment #619251 -
Flags: review?(bugmail.mozilla) → review+
Assignee | ||
Comment 43•13 years ago
|
||
Assignee | ||
Comment 44•13 years ago
|
||
status-firefox14:
--- → fixed
Comment 45•13 years ago
|
||
Try run for 190815168392 is complete.
Detailed breakdown of the results available here:
https://tbpl.mozilla.org/?tree=Try&rev=190815168392
Results (out of 15 total builds):
success: 15
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/autolanduser@mozilla.com-190815168392
Updated•13 years ago
|
Whiteboard: [autoland-in-queue]
Comment 46•13 years ago
|
||
Comment on attachment 619228 [details] [diff] [review]
Make sure we don't have an array buffer bound when drawing
Review of attachment 619228 [details] [diff] [review]:
-----------------------------------------------------------------
::: mobile/android/base/gfx/NinePatchTileLayer.java
@@ +139,5 @@
> coordBuffer.position(0);
> coordBuffer.put(coords);
>
> + // Unbind any the current array buffer so we can use client side buffers
> + GLES20.glBindBuffer(GLES20.GL_ARRAY_BUFFER, 0);
Could we not just do this once at the start of LayerRenderer.drawBackground and LayerRenderer.drawForeground?
Comment 47•13 years ago
|
||
Comment on attachment 619251 [details] [diff] [review]
Fix the same problem in plugin layer
Mobile only, would like to confirm with snorp.
Attachment #619251 -
Flags: approval-mozilla-aurora?
Updated•13 years ago
|
Attachment #619251 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 49•13 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/0d045e27fd99
http://hg.mozilla.org/mozilla-central/rev/0d00e58830fe
No tests?
Status: REOPENED → RESOLVED
Closed: 13 years ago → 13 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
Comment 50•13 years ago
|
||
Verified fixed on:
Firefox 15.0a1 (2012-04-30)
Firefox 14.0a2 (2012-04-30)
Device: Samsung Captivate
OS: Android 2.2
Comment 52•13 years ago
|
||
Updated•4 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
•