Closed
Bug 808847
Opened 13 years ago
Closed 13 years ago
Work - For WinRT touch input, do not send mouse events except when a single-tap is detected
Categories
(Core :: Widget: Win32, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: mbrubeck, Assigned: TimAbraldes)
References
Details
(Whiteboard: work=feature [completed-elm])
Attachments
(2 obsolete files)
Currently on Metro, every pointer press or release results in a mouseup or mousedown event, even for touch or stylus pointers. Instead, we should dispatch mouse events only if the pointer is a physical mouse, or (for compatibility) when we detect a "tap" gesture from a non-mouse pointer.
This matches the expected behavior of touch events and mouse events expected by web content, so that we can get rid of our front-end input filtering (bug 794621) and just let Gecko dispatch events directly to content.
Comment 1•13 years ago
|
||
I think we should include pen input in the mouse category, since it's precise input. thoughts?
Comment 2•13 years ago
|
||
Assignee: nobody → jmathies
| Assignee | ||
Comment 3•13 years ago
|
||
(In reply to Jim Mathies [:jimm] from comment #1)
> I think we should include pen input in the mouse category, since it's
> precise input. thoughts?
I was thinking pen input would be treated like touch since it probably has similar gestures (I'm assuming that "tap and hold" is the "right-click" gesture for pen)
| Assignee | ||
Comment 4•13 years ago
|
||
Per discussion at the metro dev meeting and in #windev, I'm nabbing this bug. The attached patch incorporates Jim's changes, as well as including support for touch events (patch from bug 745071 ported to VS2010). It needs to be cleaned up (add comments, make sure all events are sent correctly, etc), but it passes my preliminary testing
Attachment #678685 -
Attachment is obsolete: true
| Assignee | ||
Updated•13 years ago
|
Assignee: jmathies → tabraldes
| Assignee | ||
Comment 5•13 years ago
|
||
Adding metro-it1 since I'm working on this presently
Whiteboard: [metro-it1]
Comment 6•13 years ago
|
||
Can we get an updated patch merged to elm tip for testing bug 794621?
| Assignee | ||
Comment 7•13 years ago
|
||
Comment on attachment 681219 [details] [diff] [review]
WIP patch
Please look at bug 794621 for updated patches that include a fix for this bug.
Attachment #681219 -
Attachment is obsolete: true
| Assignee | ||
Comment 8•13 years ago
|
||
The patches in bug 794621 have been submitted to elm. The patch that contains the changes for this bug is:
https://hg.mozilla.org/projects/elm/rev/e38fa39ccf69
This build contains the changes:
https://tbpl.mozilla.org/?tree=Elm&rev=e38fa39ccf69
Status: NEW → ASSIGNED
Whiteboard: [metro-it1] → [metro-it1][completed-elm]
Updated•13 years ago
|
Summary: For WinRT touch input, do not send mouse events except when a single-tap is detected → Work - For WinRT touch input, do not send mouse events except when a single-tap is detected
Whiteboard: [metro-it1][completed-elm] → work=feature [completed-elm]
| Assignee | ||
Comment 9•13 years ago
|
||
Marking my [completed-elm] bugs as resolved
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
OS: Windows 8 Metro → Windows 8.1
You need to log in
before you can comment on or make changes to this bug.
Description
•