Qt 6.11 is out! See what's new in the release
blog
No Keyboard input if QLineEdit on frameless popup window
General and Desktop
3
Posts
2
Posters
3.9k
Views
1
Watching
-
When a parent widget is defined with:
setWindowFlags(Qt::FramelessWindowHint | Qt::Popup);
Any edit box widget placed on top of it will not receive keyboard input. Mouse will work, right click, context menu, paste will work -- but not direct keyboard input. Any ideas why and how it can be fixed?
-
I had same problem on some projects written with pure C++/win32API.
I don't know what OS are you running, but what I did: set your dialog to be active window and then set focus on edit box. -
Unfortunately that doesn't work. Tried it on OSX.