[Interest] Breaking news, App steals keyboard focus.

william.crocker at analog.com william.crocker at analog.com
Fri Sep 6 14:25:53 CEST 2013


Hello:

When my app starts up and appears on the screen it steals the
keyboard focus away from whoever has it. (I do not currently
call QWidget::activateWindow()).

Since this involves the window manager, there is probably not
one answer. I am currently running under Gnome on RedHat
Enterprise Linux at this time, so that is my primary concern.

So, how do I stop my QMainWindow based app from stealing the
keyboard focus at start-up?

Thanks.

Bill




More information about the Interest mailing list