[Wayland-bugs] [Bug 787069] New: gdk_keymap_get_entries_for_keyval() returns TRUE with n_keys=0 in Wayland

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Thu Aug 31 09:59:11 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=787069

            Bug ID: 787069
           Summary: gdk_keymap_get_entries_for_keyval() returns TRUE with
                    n_keys=0 in Wayland
    Classification: Platform
           Product: gtk+
           Version: 3.22.x
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Backend: Wayland
          Assignee: gtk-bugs at gtk.org
          Reporter: carlosgc at gnome.org
        QA Contact: gtk-bugs at gtk.org
                CC: rob at robster.org.uk, wayland-bugs at lists.freedesktop.org
     GNOME version: ---

The documentation says that TRUE is returned if keys were found and returned
and that's what all other backends do (except mir that is broken too). This is
causing crashes in WebKit that checks only the return value, and assumes the
returned array has at least one item. See WebKit bug
https://bugs.webkit.org/show_bug.cgi?id=176154

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20170831/5e9e6c16/attachment.html>


More information about the wayland-bugs mailing list