[Webkit-unassigned] [Bug 197773] New: [GTK] Touchscreen detection false positive

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 10 07:34:43 PDT 2019


            Bug ID: 197773
           Summary: [GTK] Touchscreen detection false positive
           Product: WebKit
           Version: Other
          Hardware: PC
                OS: Linux
            Status: NEW
          Keywords: Gtk
          Severity: Normal
          Priority: P3
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: hi at ryandebeasi.com
                CC: bugs-noreply at webkitgtk.org

WebKitGTK is detecting a touch screen on my device, even though I don't have a touch screen. I'm not seeing this behavior on Firefox or Chrome. I'm running GNOME Web 3.28.1 on Elementary OS Juno (Ubuntu 18.04.2 LTS) on a Dell XPS 13 (9343).

To reproduce:
1. Open GNOME Web on a device that does not have a touchscreen.
2. Open the browser developer tools.
3. Go to Console.
4. Type `window.matchMedia("(any-pointer:coarse)").matches`.
5. `true` appears.

Following the same steps in Firefox or Chrome produces `false`.

Alternately, this page also reproduces the problem: https://patrickhlauke.github.io/touch/touchscreen-detection/

Potential related issue: https://bugs.webkit.org/show_bug.cgi?id=144765

Thank you!!

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190510/38a0b417/attachment-0001.html>

More information about the webkit-unassigned mailing list