Bug 146782

Summary: [GTK] 'ontouchstart' in window returns true even if no touchscreens are present
Product: WebKit Reporter: Emilio Pozuelo Monfort <pochu27>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: cgarcia, changseok
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description Emilio Pozuelo Monfort 2015-07-09 05:41:58 PDT
'ontouchstart' in window return true if TOUCH_EVENTS is enabled, which is the case in the GTK port by default. That should probably return false if no touchscreens or touch devices are present, even if TOUCH_EVENTS support was compiled in.

See https://bugs.webkit.org/show_bug.cgi?id=142888 which fixed this on Mac (not ios) where TOUCH_EVENTS is disabled in OptionsMac.cmake.

This bug causes seemore.playcanvas.com to return touchscreen controls when clicking on the 'gamepad' icon on the top right.
Comment 1 Carlos Garcia Campos 2015-10-02 00:49:30 PDT

*** This bug has been marked as a duplicate of bug 139681 ***