Open adam-grant-hendry opened 2 years ago
FYI, I've opened an issue on the PySide
bug tracker here as well: QTBUG-104075
This seems neither an issue in pytest-qt, nor an issue in PySide, but something in Qt.
@The-Compiler Yes, agreed. Could we add a list of pytest-qt
features that are not working properly due to Qt
bugs to the documentation? So far I've seen 2:
mouseClick
not working in PyQt5
, but fixed in PyQt6
: QTBUG-5232This would be very helpful to developers using pytest-qt
.
System
OS: Windows 10 Python: 3.8.10 Qt: PySide6 pytest-qt: 4.0.2
Problem
After clicking a
QMenuBar
item, clicking away from the menu does not close it when usingqtbot
.MRE
myproj/main.py
tests/test_window.py
Result