Closed Bug 787397 Opened 8 years ago Closed 8 years ago

Invalidation problem in gaia contacts app (with -moz-element and transform transitions)


(Core :: Layout, defect)

Not set





(Reporter: cjones, Unassigned)



Vivien, Etienne: I talked to some Telefonica guys about this but I don't know their bugzilla handles.  If you could CC them here, that'd be great.  Thanks!

 (1) Load "UI Tests" app
 (2) Choose "contacts"
 (3) "Insert fake contacts"
 (4) Get a cup of coffee, wait for it to finish
 (5) Open contacts app
 (6) Scroll up and down.  Should be 50+ fps.
 (7) Tap a contact to see details
 (8) Press "X" in top-left to return to main screen
 (9) Scroll up and down again

The panning fps drops quite a bit, to ~17 fps IIRC.  When transitioning from main screen to details screen, gaia takes a -moz-element capture of the main screen.  Aside: it does this to work around bug 779968 :(.  But anyway, when returning to the main screen, something about the <div> with -moz-element capture background causes bad invalidation behavior.

DLBI mostly fixes this.  However, the "Contacts" title at the top still invalidates after the transition to details view, even with dlbi.  Because this is a CSS gradient, performance suffers a bit.
Please CC me on this issue:
I'm not in a position to test this atm, because I don't have a source of fake contacts.
@Chris there is an application called, "uitest" in Gaia, you can generate at least 500 contacts with it.
I can not see repaintings anymore in Contacts list after transitions. @Ismael, can you confirm?
It does not happen anymore in contact list section, but it still happening in contact details one!
I don't think that issue is related to this bug. I already have a Pull Request ready to stop repainting the image (using transform instead background-position). I need more time to check what's happening with the details, but I'll open a new bug if needed.
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.