#1023580 qtbase-opensource-src: some qt widgets are not redrawn leading to graphical glitches

Package:
src:qtbase-opensource-src
Source:
qtbase-opensource-src
Submitter:
Alexis Murzeau
Date:
2022-11-07 21:51:05 UTC
Severity:
important
Tags:
#1023580#5
Date:
2022-11-06 22:55:53 UTC
From:
To:
Dear Maintainer,

    * What led up to the situation?

Upgrading Qt from qt_5.15.4+dfsg-2 to qt_5.15.6+dfsg-2 cause multiple Qt programs to have graphical issues.
The issue is that there are Qt widgets that are not redrawn properly.

This happen at least vlc and virtualbox, and maybe others.
In vlc, this cause a black screen causing VLC to be unusable.
See videos in attachment for what happen exactly:
  - qt_5.15.4+dfsg-2_vlc_no_glitches is before the update, there is no glitches at all and the video plays correctly

  - qt_5.15.6+dfsg-2_vlc_glitches is after the update, there is glitches, the playlist does not redraw properly and the video playback is black
  - qt_5.15.6+dfsg-2_virtualbox_glitches is after the update, virtualbox has glitches too



This issue is not related to hardware, I encountered this redraw issue with these different machines:
  - Intel i5 3230m with Intel HD 4000 Graphics (no discrete GPU)
  - AMD Ryzen 3600 with AMD Radeon RX580 GPU


I'm not sure, but #1023005 (on vlc about broken video playback) might be caused by this.

The minimal update that reproduce this issue is:

[REMOVE, NOT USED] libkwinxrenderutils13:amd64 4:5.25.5-1
[REMOVE, NOT USED] libpipewire-0.3-0:amd64 0.3.58-2
[REMOVE, NOT USED] libspa-0.2-modules:amd64 0.3.58-2
[HOLD, DEPENDENCIES] libqt5multimediaquick5:amd64 5.15.4-2
[HOLD, DEPENDENCIES] libqt5x11extras5:amd64 5.15.4-2
[HOLD, DEPENDENCIES] qml-module-qt-labs-folderlistmodel:amd64 5.15.4+dfsg-4
[HOLD, DEPENDENCIES] qml-module-qt-labs-settings:amd64 5.15.4+dfsg-4
[HOLD, DEPENDENCIES] qml-module-qtmultimedia:amd64 5.15.4-2
[HOLD, DEPENDENCIES] qml-module-qtqml-models2:amd64 5.15.4+dfsg-4
[INSTALL, DEPENDENCIES] libkwineffects14:amd64 4:5.26.0-1
[INSTALL, DEPENDENCIES] libkwinglutils14:amd64 4:5.26.0-1
[REMOVE, DEPENDENCIES] libkwineffects13:amd64 4:5.25.5-1
[REMOVE, DEPENDENCIES] libkwinglutils13:amd64 4:5.25.5-1
[UPGRADE] kde-config-screenlocker:amd64 5.25.5-1 -> 5.26.0-1
[UPGRADE] kwin-common:amd64 4:5.25.5-1 -> 4:5.26.0-1
[UPGRADE] kwin-data:amd64 4:5.25.5-1 -> 4:5.26.0-1
[UPGRADE] kwin-x11:amd64 4:5.25.5-1 -> 4:5.26.0-1
[UPGRADE] layer-shell-qt:amd64 5.25.5-1 -> 5.26.0-1
[UPGRADE] libcolorcorrect5:amd64 4:5.25.5-1 -> 4:5.26.0-2
[UPGRADE] libkf5i18nlocaledata5:amd64 5.98.0-1 -> 5.98.0-1+b1
[UPGRADE] libkf5iconthemes5:amd64 5.98.0-2 -> 5.98.0-2+b1
[UPGRADE] libkf5kirigami2-5:amd64 5.98.0-1 -> 5.98.0-1+b1
[UPGRADE] libkf5screen-bin:amd64 4:5.25.5-1 -> 4:5.26.0-1
[UPGRADE] libkf5screen7:amd64 4:5.25.5-1 -> 4:5.26.0-1
[UPGRADE] libkf5waylandclient5:amd64 4:5.98.0-1 -> 4:5.98.0-1+b1
[UPGRADE] libkf5xmlgui5:amd64 5.98.0-1 -> 5.98.0-1+b1
[UPGRADE] libkfontinst5:amd64 4:5.25.5-1 -> 4:5.26.0-2
[UPGRADE] libkfontinstui5:amd64 4:5.25.5-1 -> 4:5.26.0-2
[UPGRADE] libkscreenlocker5:amd64 5.25.5-1 -> 5.26.0-1
[UPGRADE] libkworkspace5-5:amd64 4:5.25.5-1 -> 4:5.26.0-2
[UPGRADE] liblayershellqtinterface5:amd64 5.25.5-1 -> 5.26.0-1
[UPGRADE] libnotificationmanager1:amd64 4:5.25.5-1 -> 4:5.26.0-2
[UPGRADE] libplasma-geolocation-interface5:amd64 4:5.25.5-1 -> 4:5.26.0-2
[UPGRADE] libqt5concurrent5:amd64 5.15.4+dfsg-5 -> 5.15.6+dfsg-2
[UPGRADE] libqt5core5a:amd64 5.15.4+dfsg-5 -> 5.15.6+dfsg-2
[UPGRADE] libqt5dbus5:amd64 5.15.4+dfsg-5 -> 5.15.6+dfsg-2
[UPGRADE] libqt5designer5:amd64 5.15.4-2+b1 -> 5.15.6-2
[UPGRADE] libqt5gui5:amd64 5.15.4+dfsg-5 -> 5.15.6+dfsg-2
[UPGRADE] libqt5multimedia5:amd64 5.15.4-2 -> 5.15.6-2
[UPGRADE] libqt5network5:amd64 5.15.4+dfsg-5 -> 5.15.6+dfsg-2
[UPGRADE] libqt5opengl5:amd64 5.15.4+dfsg-5 -> 5.15.6+dfsg-2
[UPGRADE] libqt5positioning5:amd64 5.15.4+dfsg-2 -> 5.15.6+dfsg-2
[UPGRADE] libqt5printsupport5:amd64 5.15.4+dfsg-5 -> 5.15.6+dfsg-2
[UPGRADE] libqt5qml5:amd64 5.15.4+dfsg-4 -> 5.15.6+dfsg-2
[UPGRADE] libqt5qmlmodels5:amd64 5.15.4+dfsg-4 -> 5.15.6+dfsg-2
[UPGRADE] libqt5qmlworkerscript5:amd64 5.15.4+dfsg-4 -> 5.15.6+dfsg-2
[UPGRADE] libqt5quick5:amd64 5.15.4+dfsg-4 -> 5.15.6+dfsg-2
[UPGRADE] libqt5quickcontrols2-5:amd64 5.15.4+dfsg-2 -> 5.15.6+dfsg-2
[UPGRADE] libqt5quickparticles5:amd64 5.15.4+dfsg-4 -> 5.15.6+dfsg-2
[UPGRADE] libqt5quickshapes5:amd64 5.15.4+dfsg-4 -> 5.15.6+dfsg-2
[UPGRADE] libqt5quicktemplates2-5:amd64 5.15.4+dfsg-2 -> 5.15.6+dfsg-2
[UPGRADE] libqt5quickwidgets5:amd64 5.15.4+dfsg-4 -> 5.15.6+dfsg-2
[UPGRADE] libqt5script5:amd64 5.15.4+dfsg-2 -> 5.15.6+dfsg-2
[UPGRADE] libqt5sensors5:amd64 5.15.4-2 -> 5.15.6-2
[UPGRADE] libqt5serialport5:amd64 5.15.4-2 -> 5.15.6-2
[UPGRADE] libqt5sql5:amd64 5.15.4+dfsg-5 -> 5.15.6+dfsg-2
[UPGRADE] libqt5sql5-sqlite:amd64 5.15.4+dfsg-5 -> 5.15.6+dfsg-2
[UPGRADE] libqt5svg5:amd64 5.15.4-2 -> 5.15.6-2
[UPGRADE] libqt5test5:amd64 5.15.4+dfsg-5 -> 5.15.6+dfsg-2
[UPGRADE] libqt5texttospeech5:amd64 5.15.4-2 -> 5.15.6-2
[UPGRADE] libqt5waylandclient5:amd64 5.15.4-2 -> 5.15.6-2
[UPGRADE] libqt5webchannel5:amd64 5.15.4-2 -> 5.15.6-2
[UPGRADE] libqt5webengine-data:amd64 5.15.10+dfsg-4 -> 5.15.10+dfsg-7
[UPGRADE] libqt5webengine5:amd64 5.15.10+dfsg-4 -> 5.15.10+dfsg-7
[UPGRADE] libqt5webenginecore5:amd64 5.15.10+dfsg-4 -> 5.15.10+dfsg-7
[UPGRADE] libqt5webenginewidgets5:amd64 5.15.10+dfsg-4 -> 5.15.10+dfsg-7
[UPGRADE] libqt5webkit5:amd64 5.212.0~alpha4-21 -> 5.212.0~alpha4-25
[UPGRADE] libqt5widgets5:amd64 5.15.4+dfsg-5 -> 5.15.6+dfsg-2
[UPGRADE] libqt5xml5:amd64 5.15.4+dfsg-5 -> 5.15.6+dfsg-2
[UPGRADE] libtaskmanager6abi1:amd64 4:5.25.5-1 -> 4:5.26.0-2
[UPGRADE] libweather-ion7:amd64 4:5.25.5-1 -> 4:5.26.0-2
[UPGRADE] plasma-integration:amd64 5.25.5-1 -> 5.26.0-1
[UPGRADE] plasma-workspace:amd64 4:5.25.5-1 -> 4:5.26.0-2
[UPGRADE] python3-pyqt5:amd64 5.15.7+dfsg-1 -> 5.15.7+dfsg-2
[UPGRADE] qdbus-qt5:amd64 5.15.4-2+b1 -> 5.15.6-2
[UPGRADE] qml-module-org-kde-kirigami2:amd64 5.98.0-1 -> 5.98.0-1+b1
[UPGRADE] qml-module-qt-labs-platform:amd64 5.15.4+dfsg-2 -> 5.15.6+dfsg-2
[UPGRADE] qml-module-qt-labs-qmlmodels:amd64 5.15.4+dfsg-4 -> 5.15.6+dfsg-2
[UPGRADE] qml-module-qtgraphicaleffects:amd64 5.15.4-2 -> 5.15.6-2
[UPGRADE] qml-module-qtqml:amd64 5.15.4+dfsg-4 -> 5.15.6+dfsg-2
[UPGRADE] qml-module-qtquick-controls:amd64 5.15.4-2 -> 5.15.6-2
[UPGRADE] qml-module-qtquick-controls2:amd64 5.15.4+dfsg-2 -> 5.15.6+dfsg-2
[UPGRADE] qml-module-qtquick-dialogs:amd64 5.15.4-2 -> 5.15.6-2
[UPGRADE] qml-module-qtquick-layouts:amd64 5.15.4+dfsg-4 -> 5.15.6+dfsg-2
[UPGRADE] qml-module-qtquick-particles2:amd64 5.15.4+dfsg-4 -> 5.15.6+dfsg-2
[UPGRADE] qml-module-qtquick-privatewidgets:amd64 5.15.4-2 -> 5.15.6-2
[UPGRADE] qml-module-qtquick-shapes:amd64 5.15.4+dfsg-4 -> 5.15.6+dfsg-2
[UPGRADE] qml-module-qtquick-templates2:amd64 5.15.4+dfsg-2 -> 5.15.6+dfsg-2
[UPGRADE] qml-module-qtquick-window2:amd64 5.15.4+dfsg-4 -> 5.15.6+dfsg-2
[UPGRADE] qml-module-qtquick2:amd64 5.15.4+dfsg-4 -> 5.15.6+dfsg-2
[UPGRADE] qml-module-qtwebkit:amd64 5.212.0~alpha4-21 -> 5.212.0~alpha4-25


These packages can't be updated separately, but the one with +b1 in their version are mostly rebuilds with Qt 5.15.6.

#1023580#14
Date:
2022-11-07 21:47:12 UTC
From:
To:
Control: found 1023580 5.15.7+dfsg-1

Ok thanks, so you get it too, I'm not the only one to have this :)
(And if you playback the video again, it will show a black screen (if it wasn't the case the first time))


I guess the issue might appear a bit differently from user to user but is probably the same cause.
I'm trying to find a way to reproduce it easily and maybe find what goes wrong.
I've tried with the Qt version in experimental (5.15.7), but sadly the behavior is the same.