- 
    Bug 
- 
    Resolution: Invalid
- 
    P1: Critical 
- 
    None
- 
    5.2.1, 5.3.0
- 
    Windows 7
hasFocus() returns false if a widget is activated and raised programmatically.
QApplication::focusWidget() returns null.
Attached example reproduces this, run the example and wait for five seconds.