문제

I noticed that while a QMenu is open, my key bindings stop working ( xbindkeys ), also screensavers can't start and report a "Can't grab keyboard" error.

This doesn't happen with other QWidgets that use QWidget::grabKeyboard().

Does QMenu grab the keyboard, and if so, is it a QWidget::grabKeyboard() or a lowerlevel X11 thing? If it's a lowerlevel function, why can't it just use a normal Qt keyboard grab.

올바른 솔루션이 없습니다

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top