Closed Bug 961514 Opened 10 years ago Closed 10 years ago

Utility tray is quite hard to drag

Categories

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

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ochameau, Assigned: ochameau)

References

Details

Attachments

(1 file)

It is really obvious when testing on desktop. The touchstart event is filtered over here:
https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/utility_tray.js#L92
The issue is that in most cases, evt.target is #statusbar-icns. It is #statusbar, only if you click/touch on statusbar edges, a 1 or 2px wide border around the status bar. If you click/touch on center of the statusbar, the target will be #statusbar-icns.
Attached file Pull request 15502
I also fixed an exception in screen_manager that I reproduced while working on bug 943878.
Attachment #8362262 - Flags: review?(alive)
Attachment #8362262 - Flags: review?(alive) → review+
master:
https://github.com/mozilla-b2g/gaia/commit/9469e92752f01408081d419ffc5973492f702a83
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: