PySide2 app doesn't capture keyboard input
-
Hello, I'm creating a simple Qt app for the first time, a lock screen that prompts me for a password. But for some reason it won't let me type anything in.
I have a QLineEdit widget for entering the password, but when I try to type anything in it gets sent to the terminal, not the app, which is focused, full-screened and not decorated by the window manager.
There is a temporary button at the bottom of the screen so that I can hide the lock screen without typing in my password because I can't, and pressing that button works fine.
Does anyone know what might be going on here?
Update:
Clicking on the text box also doesn't show any indication of focus.
Ubuntu 20.10 (groovy gorilla), X11, Marco Window Manager (Adaptive compositor), Linux
5.8.0-34-generic #37-Ubuntu SMP Thu Dec 10 18:01:14 UTC 2020
amd64 -