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/>Logo certification NVDA expert 2022
#!/bin/bash
output=$(xrandr | grep ' connected ' | awk '{print $1}' | head -1)
echo $output > /tmp/montog
screenSize=$(xrandr | awk 'BEGIN {foundOutput=0}
/ '$output' / {foundOutput=1}
/\*\+/ {print $1}
/^[^ ]/ {if(foundOutput) exit 0}')
echo $screenSize >> /tmp/montog
if [ "$screenSize" != "" ]; then
xrandr --output $output --fb $screenSize --off
if [[ $LANG == fr* ]]; then
MESSAGE="Écran éteint"
else
MESSAGE="Monitor Off Now"
fi
else
xrandr --output $output --auto
if [[ $LANG == fr* ]]; then
MESSAGE="Écran allumé"
else
MESSAGE="Monitor Back on"
fi
fi
notify-send "$MESSAGE"
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest