[Interest] QMessageBox not displayed when monitor is switched off

Patrick Stinson patrickkidd at gmail.com
Mon Dec 9 16:13:00 CET 2024


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 <patrick at 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 at qt-project.org <mailto:Interest at qt-project.org>
> https://lists.qt-project.org/listinfo/interest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20241209/6710be74/attachment.htm>


More information about the Interest mailing list