Closed Bug 835656 Opened 11 years ago Closed 11 years ago

[Homescreen] Possible to display blank grid page by panning very fast

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
major

Tracking

(blocking-b2g:-)

RESOLVED WORKSFORME
blocking-b2g -

People

(Reporter: benfrancis, Assigned: crdlc)

References

Details

Originally reported on Leo, but also reproducible on Unagi.

STR:
* Pan left and right on homescreen quickly.

Sorry, that's the best I can do. This is quite hard to reproduce during normal use.

Video to follow.
Maybe it is the same problem that I found here #827130
Assignee: nobody → crdlc
Status: NEW → ASSIGNED
I am sure that is the same problem, sometimes the previous page is not re-painted when we change the display value from 'none' to 'block'
blocking-b2g: --- → tef?
We discussed this during triage today and since it appears the screen will appear once panning has finished, we can't block on this.
blocking-b2g: tef? → -
I /think/ this happens when the finger actually exits the touch area on the left and/or right for a brief moment and this confuses the homescreen.    I can't seem to dup this when being mindof of keeping my finger within the bounds of the surface.
Severity: normal → major
Pre-emptively CCing graphics people since this may be a Gecko issue.
(In reply to Michael Vines [:m1] [:evilmachines] from comment #7)
> I /think/ this happens when the finger actually exits the touch area on the
> left and/or right for a brief moment and this confuses the homescreen.    I
> can't seem to dup this when being mindof of keeping my finger within the
> bounds of the surface.

My experience is the same as michael's here. To me it doesn't have to do with the speed of the swipe, but with going out of bounds. Or maybe starting out of bounds. I don't know if gecko ever delivers touchcancel events. But if it does, perhaps the panning code needs to listen for it and treat touchcancel the same as touchend.  That's completely a guess, however.
My experience is different. All these problems are not reproducible in desktop. Sometimes, when a page is translated offscreen although it defines display as block, then it won't be re-painted and we can see blank pages.
Adding Timothy, who was looking at bug 827130.
Could you test this patch [1]? I guess that resolves this problem as well

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=827130#c28
I cannot reproduce it after landing bug 842218, can you still reproduce the problem? thanks a lot for your help Ben
Flags: needinfo?(bfrancis)
I cannot reproduce so closing, please re-open if you can reproduce the problem
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: needinfo?(bfrancis)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.