Closed Bug 1207616 Opened 9 years ago Closed 9 years ago

[New-Homescreen] Sometimes paging/scrolling doesn't work correctly on startup

Categories

(Firefox OS Graveyard :: Gaia::Homescreen, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
FxOS-S8 (02Oct)

People

(Reporter: cwiiis, Assigned: cwiiis)

References

Details

(Keywords: regression, Whiteboard: [systemsfe])

Attachments

(1 file)

This seems to be a recent regression, and I imagine the cause is down to something changing in Gecko or Gaia with respect to window sizes on startup/app start. It's probably best to mitigate this possible failure in homescreen (as I think it's possible to force it in other ways) and just handle the window resizing.
Ok, this isn't as simple as I thought, and it seems to be caused by some difference with animations not running the same as they used to? Debugging is harder at the moment because WebIDE is broken...
Actually, I'm totally wrong, this is much simpler than any of that, great :)
Comment on attachment 8664898 [details] [review] [gaia] Cwiiis:bug1207616-new-homescreen-refresh-on-invisible-first-child > mozilla-b2g:master The bug would happen if the first added app had a hidden role, but I've also fixed the resize case too which I've seen rarely in certain situations.
Attachment #8664898 - Flags: review?(apastor)
Comment on attachment 8664898 [details] [review] [gaia] Cwiiis:bug1207616-new-homescreen-refresh-on-invisible-first-child > mozilla-b2g:master You know more about this code than me, but the change seems reasonable (and well tested) to me, so r+. Thanks!
Attachment #8664898 - Flags: review?(apastor) → review+
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → FxOS-S8 (02Oct)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: