Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
4.8.0, 5.1.0
-
None
-
Macbook Pro, i7, OS X Lion 10.7.3
Description
Under 4.7.4 (and earlier versions):
An instance of QWidget derived class serving as a temporary sub-window in an application with (Qt::FramelessWindowHint | Qt::Popup) windows flags would receive a "focusOutEvent" method call when the user clicked someplace else, including the window caption.
In 4.8, no calls to "focusOutEvent" are made for the window caption and/or other areas of the application which are not receiving focus. This is clearly something that's new to 4.8 as 4.7.4 works correctly.
The resulting phenomenon is that users cannot create popup windows that will be closed if users click elsewhere. In 4.8 you can actually drag a window, by its caption away from the still-visible popup window. If developers want that window to close when the parent window begins to get dragged away, they can't upgrade to 4.8
Discussion in Qt Forums: http://developer.qt.nokia.com/forums/viewthread/14264/#74251