[Interest] QMessageBox not displayed when monitor is switched off
Patrick ZAJDA
patrick at zajda.fr
Thu Dec 12 11:43:26 CET 2024
Hi,
Le 10/12/2024 à 15:56, Thiago Macieira a écrit :
> On Monday 9 December 2024 12:31:38 Brasilia Standard Time Patrick ZAJDA wrote:
>> I am simply seeking guidance on whether this issue can be considered a
>> valid bug in Qt itself and, if so, the proper way to report it.
>> Of course, if a workaround exists, I am absolutely open to applying it.
>> However, I still believe this issue represents a regression in Qt6.
> Please also include the output of xrandr while the screen is off and please
> explain what you mean by "off". My first reaction was that it was powered down /
> in stand-by mode, but your talking about xrandr indicates you've probably
> removed it from the list of active displays. If you've disabled all outputs,
> then it stands to reason that there is no display for Qt to display anything
> on.
>
>
xrandr output is as follow when screen is off:
Screen 0: minimum 8 x 8, current 1440 x 900, maximum 16384 x 16384
DVI-I-0 connected primary (normal left inverted right x axis y axis)
1440x900 59.89 + 74.98 1280x1024 75.02 60.02 1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25 640x480 75.00 72.81 59.94 DVI-I-1
disconnected (normal left inverted right x axis y axis) HDMI-0
disconnected (normal left inverted right x axis y axis) HDMI-1
disconnected (normal left inverted right x axis y axis) DVI-D-0
disconnected (normal left inverted right x axis y axis)
The screen is switched off using
xrandr --output $output --fb $screenSize --off
Display name is got using:
output=$(xrandr | grep ' connected ' | awk '{print $1}' | head -1)
The ScreenSize variable is:
screenSize=$(xrandr | awk 'BEGIN {foundOutput=0}
/ '$output' / {foundOutput=1}
/\*\+/ {print $1}
/^[^ ]/ {if(foundOutput) exit 0}')
echo $screenSize >> /tmp/montog
To switch back on:
xrandr --output $output --auto
Only QMessageBox are making this issue occur.
Hop this helps,
Patrick
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest
--
Patrick ZAJDA
<https://certification.nvaccess.org/>Logo certification NVDA expert 2022
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20241212/36de192c/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NVDACertifiedExpert2022.png
Type: image/png
Size: 101758 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20241212/36de192c/attachment-0001.png>
More information about the Interest
mailing list