TouchEvents are often not fired when first touching the screen on Windows 8




4 years ago
2 years ago


(Reporter: dev, Unassigned)


33 Branch
Windows 8.1

Firefox Tracking Flags

(Not tracked)



(1 attachment)



4 years ago
Created attachment 8515935 [details]
log mouse and touch events

This always happens when moving focus from input fields in the browser UI (eg. the URL bar, search box, console) to the page. It also happens sometimes when touching the screen for the first time after opening or reloading the page.

Bringing a second finger onto the screen then fires touch events but the first continues to only fire mouse events.

Repro steps:
 1. Open "about:blank", open the developer tools and add event listeners for all mouse and touch events or open the attached file "log-pointer.html" which prints events to the page
 3. Bring focus to the URL bar, search box, or dev tools console
 4. Touch and drag on the opened page
 5. Either the page is panned or mousedown, mousemove, etc. events are fired but not touchstart, touchmove, etc
 6. Bring a second finger onto the screen
 7. If a pan wasn't started then the second finger fires TouchEvents but the first continues to fire only MouseEvents
 8. Lift all fingers then touch and drag again
 9. Both mouse events and touch events are fired

Expected result:
Input from a touchscreen should always fire TouchEvents
Possibly related to bug 726608?
Blocks: 806805
Are you still able to reproduce this in a recent Nightly build? I get the expected behaviour when i load your attached test page, put focus in the URL bar, and then drag with my finger on the page.
Flags: needinfo?(dev)
Last Resolved: 2 years ago
Flags: needinfo?(dev)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.