Closed Bug 978546 Opened 10 years ago Closed 10 years ago

Do not dispatch touch events to the current app while dragging the utility-tray

Categories

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

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: vingtetun, Assigned: vingtetun)

References

Details

Attachments

(1 file)

When dragging the utility-tray the finger can moved fast enough so that the finger is not over it, but instead is over the current application. As a result touchmove events are dispatched to the applications while dragging the utility tray.
Attached patch bug978546.patchSplinter Review
Asking Etienne to review as he is the one involve in touch forwarding things. Even if this one is not a manual touch forward. Feel free to redirect to Alive if you feel uncomfortable reviewing this.
Attachment #8384242 - Flags: review?(etienne)
Comment on attachment 8384242 [details] [diff] [review]
bug978546.patch

Review of attachment 8384242 [details] [diff] [review]:
-----------------------------------------------------------------

Could reproduce the issue in the gallery, and this indeed fixes it.
And the screen.utility-tray css class is nicely covered by the utility tray unit tests so r=me.

But we should maybe do the same of the attention screen windows, since the utility tray can be displayed on top of them.
Attachment #8384242 - Flags: review?(etienne) → review+
(In reply to Etienne Segonzac (:etienne) from comment #2)
> Comment on attachment 8384242 [details] [diff] [review]
> bug978546.patch
> 
> Review of attachment 8384242 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> Could reproduce the issue in the gallery, and this indeed fixes it.
> And the screen.utility-tray css class is nicely covered by the utility tray
> unit tests so r=me.
> 
> But we should maybe do the same of the attention screen windows, since the
> utility tray can be displayed on top of them.

I will open a followup for the attention screen part as it will require new tests :)
https://github.com/mozilla-b2g/gaia/commit/06a8c1dbe6073f5f2343f017fb72d384723ffa35
Assignee: nobody → 21
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: