Closed
Bug 1047976
Opened 10 years ago
Closed 10 years ago
Ignore mousemove event if mouse button is not pressed
Categories
(Firefox OS Graveyard :: Gaia::Keyboard, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.1 S2 (15aug)
People
(Reporter: timdream, Assigned: timdream)
Details
(Whiteboard: [p=1])
Attachments
(1 file)
There is a logic error in UserPressManager where it will attempt to process mousemove event even if the mouse button is not pressed.
STR:
1. Try to run Gaia Keyboard on desktop Firefox w/ mouse events. (I have a yet-to-released tool to do so)
2. Click on a key (press-release the mouse button)
3. Move the mouse cursor over keyboard
Expected:
1. Nothing
Actual:
1. Nothing, but console prints JS Error.
Mouse event is only relevant on desktop, but it's still worthy to fix in Gaia codebase IMHO.
Assignee | ||
Updated•10 years ago
|
Attachment #8466851 -
Flags: review?(rlu)
Comment 2•10 years ago
|
||
Comment on attachment 8466851 [details] [review]
mozilla-b2g:master PR#22459
r=me.
Thanks.
Attachment #8466851 -
Flags: review?(rlu) → review+
Assignee | ||
Comment 3•10 years ago
|
||
master: https://github.com/mozilla-b2g/gaia/commit/cb4cd5e122fb1a5d313198515b89c2380cf205ef
https://tbpl.mozilla.org/?rev=e6d46392efdaf867a6b8fd87ec4097c06b89ed17&tree=Gaia-Try
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•