Closed Josh596 closed 3 years ago
Here mouse clicks work correctly on all buttons, are you creating your menus as in the example below?
Try it with Pyside2, the menu bar had to be max length before the button click showed any effect. It worked perfectly on PyQt5
Thank you for your work
I got the same problem here. The clickable area of the button is somehow reduced because of the button style sheet(padding and border). The bar must be extended to click the button. How do I solve this?
Guys, I found the problem and it is caused by the latest version of PySide2 (5.15.1), in version "5.14.2" it works perfectly. I will see as soon as possible why I am causing this problem. Try to install version 5.14.2 and you will see that it is working correctly on it.
@Jaccxc and @Josh596 It seems to be a Bug from PySide2 version 5.15.0 and 5.15.1 and also from PyQt5. Use version "5.14.2.2" for this project (pip install pyside2 == 5.14.2.2) Note: https://wiki.qt.io/Qt_for_Python_Development_Notes In October they will release version 6 of Qt, we will wait for them to solve these problems or bring some solution for the same. Another project with de same problem: https://github.com/napari/napari/issues/1312
Thank you so much, It works in PySide2 version 5.14.2.2(Just as you said)
I love your work. It's a very unique design