Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.6.2, 4.6.3
-
None
-
Microsoft Visual Studio 2008, Windows 7 x86
http://get.qt.nokia.com/qt/source/qt-win-opensource-4.6.2-vs2008.exe
http://get.qt.nokia.com/qt/source/qt-win-opensource-4.6.3-vs2008.exe
-
d806b996beab76cbc43ffa11bc38721fa19c9c81
Description
1) widget is a window and it not contained in other widgets
2) widget attribute Qt::FramelessWindowHint is true
if context menu QMenu executed and closed by left mouse button that clicked directly to parent widget
than functions void enterEvent(QEvent *) and void leaveEvent(QEvent *) become stop sending events
until QMenu executed once again and closed by clicking outside of widget.
See example in Attachment.
I use setAttribute(Qt::WA_TransparentForMouseEvents,true); directly before executing menu and this helps but I think that bug mast be fixed.