Hi Paul, This sounds similar to a problem I have in 4.8.5 with OSX 10.9. setFocus or activate on the window does not work. You have to click on the window for it to activate correctly. Same build works OK in 10.7. Might be related to Qt bugs 35659 & 33479.
Regards, Tony > -----Original Message----- > Sent: Saturday, 5 April 2014 1:21 AM > > Here is another regression I found that is a show-stopper for us. > > In a custom widget I have a keyPressEvent() and keyReleaseEvent() handler > to update a cursor when modifier keys are pressed (such as Cmd). > In Qt 5.x, pressing Cmd (or shift, or ctrl) causes no keyPressEvents UNTIL the > user clicks on the widget. Manually calling setFocus() on the widget when the > mouse enters it doesn't help either. > > This all worked before 5.x. > > I can't be the only one to find this can I? _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest