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

No keyboard events on iOS with hardware keyboard

    XMLWordPrintable

Details

    • iOS/tvOS/watchOS

    Description

      The attached qml shows very simple use of "Keys.onPressed", which works fine on all platforms except iOS with a connected hardware keyboard.

      The keyboard works for text control fields in iOS, but not if you need to handle keypresses in other parts of the app.

      I tried using an event filter, but the keyboard events are not seen by the app on iOS.

      Interestingly, the iPAD Magic Keyboard does provide cursor key events, and the Return key is sent as Qt::Key_Select. But connecting a standard bluetooth keyboard doesn't provide these events.

      In case you think a hardware keyboard is not important for iOS, take a look at https://apple.com/ipad, where you will see Apple's vision of the iPad most definitely includes a keyboard!

       

      Attachments

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

        Activity

          People

            srutledg Shawn Rutledge
            rss Richard Stephens
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes