Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.1.1, 5.2.1, 5.3.0 Beta1, 6.6.0, 6.6.1
-
Windows 7
Linux, XCB
-
bf9970d40bf0c99a75b59674fa55bc859291d9ba (stable, 6.5.2014, 5.3.1)
Description
When QPushButton is used with QMenu it doesn't loose the pressed state even another QPushButton is clicked.
This issue can be reproduced in Qt5 but works fine in Qt 4.8.5.
I made a simple app for demonstrating the issue.
Steps to reproduce:
Run qtbug38550.zip preferably with -style windows (clearly shows pressed state)
- Click on Button 0, menu 0 opens
- Click on Button 1: menu 0 closes, menu 1 opens
- Note Button 0 is still in 'pressed' state