[Webkit-unassigned] [Bug 248144] New: [GTK4] PlatformKeyboardEvent is discarding modifier state

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Nov 20 07:44:27 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=248144

            Bug ID: 248144
           Summary: [GTK4] PlatformKeyboardEvent is discarding modifier
                    state
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcatanzaro at gnome.org
                CC: bugs-noreply at webkitgtk.org
            Blocks: 210100

PlatformKeyboardEvent::getCurrentModifierState (which is renamed to PlatformKeyboardEvent::currentStateOfModifierKeys in https://github.com/WebKit/WebKit/pull/6672) has hardcoded shift/ctrl/alt/meta all to 0. In GTK 3 the code did gtk_get_current_event_state(), but that's not possible in GTK 4. I also notice that PlatformKeyboardEvent::modifiersContainCapsLock hardcodes caps lock to 0.

At least shift and caps lock both actually work when typing in this Bugzilla.


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=210100
[Bug 210100] [META][GTK][GTK4] Support GTK4
-- 
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/20221120/04c0c3d1/attachment-0001.htm>


More information about the webkit-unassigned mailing list