Re: [Interest] Qt iOS and installEventFilter

2022-11-08 Thread Nuno Santos
Tor, Thanks for your reply. I find the way qml keyboard handling works very fiddly or I simply don’t understand how it is supposed to work. Let’s say I put some keyboard events being handled on the main window, then if another elements gets focus I don’t intercept keyboard events anymore. Ha

Re: [Interest] Qt iOS and installEventFilter

2022-11-08 Thread Tor Arne Vestbø via Interest
Hi, Verify that the keyboard events are coming in as expected in [QUIView handlePresses:evenType:] If that’s the case, the reason they are being filtered out as key events is because they are being sent as input method events to the focus object. The iOS platform plugin doesn’t seem to impleme

[Interest] Qt iOS and installEventFilter

2022-11-08 Thread Nuno Santos
Hi, I’m trying to find a way of intercepting keyboard events in a global and cross platform way. I don’t want this to be tied to certain element in Qml. I really want to have a global way of catching the keyboard events. I have created an event filter and added this event filter to the QWindow.