There's already an upstream bug for this: https://bugreports.qt.io/browse/QTBUG-37994
I've attached a possible patch (fixes it for me on desktop, am testing on phone for good measure). I'll note that on xenial desktop, Ctrl already was fixed. But Alt did hit this bug. I'm not sure why Ctrl worked... But the patch fixes it explicitly at least. I'll put it on the upstream bug tracker. ** Patch added: "TextInput-ignore-events-with-modifiers.patch" https://bugs.launchpad.net/ubuntu/+source/qtubuntu/+bug/1537782/+attachment/4557054/+files/TextInput-ignore-events-with-modifiers.patch -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtubuntu in Ubuntu. https://bugs.launchpad.net/bugs/1537782 Title: Modifier ignored when pressing a key if TextInput has active focus Status in Canonical System Image: Triaged Status in qtubuntu package in Ubuntu: Confirmed Bug description: On a phone with a bluetooth keyboard connected, with the following standalone example, if I press Ctrl+T I expect the message "Ctrl+T pressed" to be printed on the console, but instead the Ctrl key is ignored and "t" is inserted in the text field. import QtQuick 2.4 Item { TextInput { anchors.centerIn: parent width: parent.width - 20 height: 100 Component.onCompleted: forceActiveFocus() } Keys.onPressed: { console.log("key pressed:", event.key, event.modifiers) if (event.key == Qt.Key_T && event.modifiers == Qt.ControlModifier) { console.log("Ctrl+T pressed") event.accepted = true } } } To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1537782/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp