Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
None
-
6.2.5
-
None
-
iOS
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!