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

MenuItem is not triggered by the "Enter" key

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • 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

    Description

      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

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes