Closed
Bug 728026
Opened 12 years ago
Closed 12 years ago
MAPLE: geolocation shows little map fragments while the map is being loaded
Categories
(Core :: Graphics, defect, P2)
Tracking
()
VERIFIED
FIXED
mozilla15
People
(Reporter: nhirata, Assigned: joe)
References
()
Details
(Keywords: testcase, Whiteboard: [mozilla-central])
Attachments
(2 files, 3 obsolete files)
603 bytes,
text/html
|
Details | |
3.28 KB,
patch
|
joe
:
review+
mfinkle
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
1. go to http://paulrouget.com/mwc-demos/apis/geolocation.html 2. click on the icon 3. watch it load Expected: no graphic defect while loading Actual: you can see little map fragments while the map is being loaded Note: 1. MAPLE 02/16/2012; Nexus Galaxy ICS/LG Revolution 2.3 2. Does not occur on nightly 02/16/2012 3. video : http://www.youtube.com/watch?v=8wvCU7IbcmU&feature=youtube_gdata_player
Comment 1•12 years ago
|
||
We are not showing this on Maple; only on nightly
Comment 2•12 years ago
|
||
The APIs demo are located here: http://paulrouget.com/mwc-demos/apis/ To show the map, click on the globe.
Comment 3•12 years ago
|
||
The original demo is here: http://jsbin.com/isujul
Assignee | ||
Updated•12 years ago
|
Summary: MAPLE: geolocation shows little map fragments while the map is being loaded → geolocation shows little map fragments while the map is being loaded
Whiteboard: MAPLE mwc-demo → mwc-demo
Assignee | ||
Comment 4•12 years ago
|
||
Oh wait, I misunderstood Erin's comment.
Summary: geolocation shows little map fragments while the map is being loaded → MAPLE: geolocation shows little map fragments while the map is being loaded
Whiteboard: mwc-demo → MAPLE mwc-demo
Assignee | ||
Comment 5•12 years ago
|
||
This doesn't show up on the main demo site, just on http://jsbin.com/isujul
Updated•12 years ago
|
Keywords: fennecnative-betablocker
Updated•12 years ago
|
blocking-fennec1.0: --- → beta+
Comment 6•12 years ago
|
||
(In reply to Paul Rouget [:paul] from comment #3) > The original demo is here: http://jsbin.com/isujul It doesn't seem to be anymore. Can the original demo be found anywhere else?
Updated•12 years ago
|
blocking-fennec1.0: beta+ → -
Assignee | ||
Comment 7•12 years ago
|
||
This is a very, very bad bug that indicates we're not clipping layers properly, and it's not restricted to this page (I've seen it elsewhere). I'd like it to be re-evaluated. Meanwhile, I've put this demo up on my personal server. Mats, can you see what's causing this?
Assignee: nobody → matspal
blocking-fennec1.0: - → ?
Updated•12 years ago
|
Whiteboard: MAPLE mwc-demo → MAPLE mwc-demo [gfx]
Assignee | ||
Updated•12 years ago
|
Whiteboard: MAPLE mwc-demo [gfx] → MAPLE mwc-demo [layout]
Comment 9•12 years ago
|
||
Mats, can you comment on your latest findings here? Thx.
Reporter | ||
Comment 10•12 years ago
|
||
This issue still occurs on the Galaxy Nexus (Nightly 3/30/2012) going to http://paulrouget.com/mwc-demos/apis/ and clicking on the "view on a map" button. If you do not see the issue on load, try panning in the map area.
Updated•12 years ago
|
Assignee: matspal → nobody
Component: General → Layout
Product: Fennec Native → Core
QA Contact: general → layout
Comment 11•12 years ago
|
||
Fennec Native needs to be at zero beta blockers by 04/16. Who should this be assigned to?
Comment 12•12 years ago
|
||
sorry, moving the product and component apparently unassigned the bug. Mats, has this been on your radar?
Assignee: nobody → matspal
Comment 13•12 years ago
|
||
I looked at this a couple of weeks ago, and I could reproduce it at that time but I can't say I understood what the problem is. I've been working on other stuff since then (security bugs mostly). I'll take another look later tonight and see what I can find this time...
I don't know. Nightly doesn't really work on my phone recently. (Maybe since I enabled Sync?) I don't have time to work on this anyway. I'm working on display-list performance instead.
Assignee: roc → nobody
Comment 16•12 years ago
|
||
Back to Mats: Please update with your latest findings.
Assignee: nobody → matspal
Comment 17•12 years ago
|
||
I have nothing new to add really, the bug still occurs and I don't know what the problem is.
Comment 18•12 years ago
|
||
The Google maps content is rather complex, it's many nested levels of abs.pos. blocks with different z-index and the whole DOM is built dynamically. The root cause of this bug appears to come from a transition of 'opacity': <div style="width: 256px; height: 256px; position: absolute; left: -48px; top: 23px; opacity: 1; -moz-transition: opacity 200ms ease-out 0s;"> As a workaround for this particular demo site, adding this cures the flicker: <style> div { -moz-transition: none !important; } </style> (FYI, bug 728983 is fixed in this tree, but it didn't help)
Whiteboard: MAPLE mwc-demo [layout] → MAPLE mwc-demo [layout] [workaround for this site: see comment 17]
Transitioning opacity creates a layer for the element with opacity. Seems like a reduced testcase is needed...
Keywords: testcase-wanted
Comment 20•12 years ago
|
||
Updated•12 years ago
|
Keywords: testcase-wanted → testcase
Comment 21•12 years ago
|
||
Do we have a path forward here or are we stuck? Mats, these Firefox on Android bugs are top priority and require immediate and persistent attention until resolution.
Comment 22•12 years ago
|
||
The bug doesn't occur when useIntermediateSurface is true in this method: http://mxr.mozilla.org/mozilla-central/source/gfx/layers/Layers.cpp#457 The bug doesn't occur with this change: - if (opacity != 1.0f && HasMultipleChildren()) { + if (opacity != 1.0f) { => GFX
Assignee: matspal → nobody
Component: Layout → Graphics
QA Contact: layout → thebes
Whiteboard: MAPLE mwc-demo [layout] [workaround for this site: see comment 17] → MAPLE mwc-demo [workaround for this site: see comment 17][wallpaper: comment 22]
Updated•12 years ago
|
Assignee: nobody → ajuma
Assignee | ||
Comment 24•12 years ago
|
||
It seems that this is being caused by the scissor bit being disabled on us.
Assignee | ||
Comment 25•12 years ago
|
||
This fixes the bug that we haven't been clipping at all inside the layers system. Unfortunately, this exposes latent bugs in our layers/layout system that must be fixed before we can land this.
Attachment #618823 -
Flags: review?(jmuizelaar)
Comment 26•12 years ago
|
||
Comment on attachment 618823 [details] [diff] [review] don't disable the scissor rect from java Perhaps add a comment about the expected scissor state in the different situations. e.g. at drawBackground/drawForeground
Attachment #618823 -
Flags: review?(jmuizelaar) → review+
Assignee | ||
Comment 27•12 years ago
|
||
This is just an unbitrotted version of the previous patch. Carrying forward r+.
Attachment #618823 -
Attachment is obsolete: true
Attachment #619566 -
Flags: review+
Updated•12 years ago
|
Whiteboard: MAPLE mwc-demo [workaround for this site: see comment 17][wallpaper: comment 22] → [has reviewed patch][requires bugb 749425]
Assignee | ||
Comment 28•12 years ago
|
||
Re-unbitrotted. Carrying forward r+.
Attachment #619566 -
Attachment is obsolete: true
Attachment #620326 -
Flags: review+
Assignee | ||
Comment 29•12 years ago
|
||
Attachment #620326 -
Attachment is obsolete: true
Attachment #620402 -
Flags: review+
Assignee | ||
Comment 34•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/47b65f49d01b
status-firefox15:
--- → fixed
Whiteboard: [has reviewed patch][requires bugb 749425]
Target Milestone: --- → mozilla15
Assignee | ||
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•12 years ago
|
Attachment #620402 -
Flags: approval-mozilla-aurora?
Comment 35•12 years ago
|
||
Tested against a build on ftp://ftp.mozilla.org/pub/mobile/tinderbox-builds/oak-android/1336516588/. I still see the map fragments from the testcase URL quickly resize and redraw, but it doesnt do that outside of the box perimeter like how aurora does.
Updated•12 years ago
|
Whiteboard: [mozilla-central]
Assignee | ||
Comment 37•12 years ago
|
||
The quickly resize part is bug 750334.
Updated•12 years ago
|
Attachment #620402 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 38•12 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/5fe40d328f31
status-firefox14:
--- → fixed
Comment 39•12 years ago
|
||
Retested on Nightly 15.0a1 (2012-05-22) Aurora 14.0a2 (2012-05-22) Samsung Galaxy SII (2.3.4) The map fragments from the testcase are not longer redrawn outside the box perimeter. Verifying.
You need to log in
before you can comment on or make changes to this bug.
Description
•