Package: qtquickcontrols2-opensource-src / 5.15.15+dfsg-2

Metadata

Package Version Patches format
qtquickcontrols2-opensource-src 5.15.15+dfsg-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Unset mouseGrabberPopup if it s removed from childre.patch | (download)

src/quicktemplates2/qquickoverlay.cpp | 5 4 + 1 - 0 !
tests/auto/qquickpopup/data/releaseAfterExitTransition.qml | 78 78 + 0 - 0 !
tests/auto/qquickpopup/tst_qquickpopup.cpp | 29 29 + 0 - 0 !
3 files changed, 111 insertions(+), 1 deletion(-)

 [patch] unset mousegrabberpopup if it's removed from children

The mouseGrabberPopup is supposed to be unset in handleRelease, however
when the exit transition of the mouseGrabberPopup (that closed itself on
button press) finishes before the release event is delivered, it
unparents itself from the overlay (see
QQuickPopupPrivate::finalizeExitTransition) and the overlay sets itself
invisible if there is nothing else visible in it. Because the overlay
is not visible it handles no events anymore and the release is missed
and the grabber is never unset. When opening another non-modal popup
the overlay then will continue forwarding the events to now invisible
popup.
So when the overlay loses the currently grabbing popup as a child we need
to reset mouseGrabberPopup.

Fixes: QTBUG-95259
0002 Ensure we don t crash when changing sizes after clea.patch | (download)

src/quicktemplates2/qquickcontainer.cpp | 5 3 + 2 - 0 !
src/quicktemplates2/qquickdialogbuttonbox.cpp | 8 7 + 1 - 0 !
2 files changed, 10 insertions(+), 3 deletions(-)

 [patch] ensure we don't crash when changing sizes after cleanup

This addresses the problems I've seen during destruction. Only
encountered it when using complex layouts on a DialogButtonBox.

Pick-to: 6.2 6.3
0007 implement a11y pressing of qquickabstractbutton.patch | (download)

src/quicktemplates2/qquickabstractbutton.cpp | 6 6 + 0 - 0 !
src/quicktemplates2/qquickabstractbutton_p.h | 1 1 + 0 - 0 !
2 files changed, 7 insertions(+)

 [patch] implement a11y pressing of qquickabstractbutton
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

this adds a pressAction default implementation that simply calls trigger
(which in turn either triggers the action or emits a click), allowing
accessibility tools to issue a button press via a11y api.

0008 Fix the popup position of a Menu.patch | (download)

src/imports/platform/widgets/qwidgetplatformmenu.cpp | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 [patch] fix the popup position of a menu
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

QPA code should operate in native coord.
Treat QWidgetPlatformMenu::showPopup's input as native coord.

Fixes: QTBUG-94619
Fixes: QTBUG-94783
disable_fontless_examples_build.patch | (download)

examples/quickcontrols2/quickcontrols2.pro | 2 0 + 2 - 0 !
1 file changed, 2 deletions(-)

 disable examples using fontello fonts.
 There are two examples using the embedded fontello font. As the fonts is not
 in it's preferred form of modification we needed to remove them. Also the
 fonts are not letters, so they can not be replaced with another one.
 .
 So we disable the build of this to examples.