[Interest] OS X Qt 5.2/5.3 keyboard modifier bug

Tony Rietwyk tony at rightsoft.com.au
Sat Apr 5 05:01:30 CEST 2014


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?





More information about the Interest mailing list