Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-71301

VirtualKeyboard on Wayland Compositor fails to send Enter key event to clients

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.13.1, 5.14.0 Alpha
    • 5.11.2
    • QPA: Wayland
    • None
    • Linux/Wayland
    • a34e81ab8be6445877e040b1afb85deeaa725f86 (qt/qtbase/dev) 23453c30084d09d7325e113bbc3d0637c51cb3e7 (qt/qtwayland/dev)

    Description

      VirtualKeyboard, when used as part of QtWayland Compositor, fails to send Enter key event to application.

      The issue is in

      QWaylandXkb::toKeysym
      

      where it falls to the wrong code path because the QKeyEvent::text() for this key event is not empty. On the client side it is then received as QKeyEvent(key = 0. text = "\n") - the key code is lost.

      Attached is a quick patch that fixes this issue.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            paeglis Gatis Paeglis
            nowrep David Rosca
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes