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

MenuItem is not triggered by the "Enter" key

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3: Somewhat important P3: Somewhat important
    • 5.12.3
    • 5.10.0, 5.10.1
    • Quick: Controls 2
    • Qt 5.10.1 

      Linux archlinux 4.15.10-1-ARCH

       
    • 05eb8127594f0d40247e8c84a4704277dd12d16e

      Originally my question was here: https://stackoverflow.com/questions/49436480/qml-menuitem-trigger-by-enter-and-keyboard-events-forwarding-dont-work

       

      As you can see, MenuItem should be triggered by "Enter" key, which was working in Qt 5.6. But is not working in 5.10.1 with Quick Controls 2.

      We dug down a bit more, and colleague has suggested a fix: https://github.com/lirios/browser/pull/81#issuecomment-375603473

      Repro example is attached

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            johnpoison Ivan Fateev
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes