I don’t quite follow the description of the problem, but if you are trying to keep QMessageBox from showing on something analogous to a headless display then you can mock out it’s calls with the `mock` extension. Then you can ensure they are never raised and can insert your own callback to handle the static method call programatically.
> On Dec 9, 2024, at 5:56 AM, Patrick ZAJDA <patr...@zajda.fr> wrote: > > Hello, > > I am blind and use the attached bash script to switch my screen off and back > on when needed. > I use Debian Bookworm with Mate desktop, NVIDIA as my graphic card. > > I notice when screen is off, QMessageBox are note displayed at all when it > worked with QT5. > I tried both with PySide6 and, thanks to an IA, using C++ with the same > result so the issue is not related to Python. > > I am lost in QT procedure to report this kind of issue. > Could someone explain me where and how should I report this kind of issue and > firstly, could it be considered as a QT issue? > > Best regards, > > -- > Patrick ZAJDA > <https://certification.nvaccess.org/><NVDACertifiedExpert2022.png> > <monitor-toggle.sh.txt>_______________________________________________ > Interest mailing list > Interest@qt-project.org <mailto:Interest@qt-project.org> > https://lists.qt-project.org/listinfo/interest
_______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest