public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/qt6-qtdeclarative] rawhide: Upstream backport:
@ 2026-07-14 5:41 Jan Grulich
0 siblings, 0 replies; only message in thread
From: Jan Grulich @ 2026-07-14 5:41 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/qt6-qtdeclarative
Branch : rawhide
Commit : 2bc3f001ec2964ce90237afc3102b075cc548a49
Author : Jan Grulich <jgrulich@redhat.com>
Date : 2026-07-14T07:41:14+02:00
Stats : +39/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/qt6-qtdeclarative/c/2bc3f001ec2964ce90237afc3102b075cc548a49?branch=rawhide
Log:
Upstream backport:
a11y: Guard against nullptr for scrollbar valueInterface
---
diff --git a/qt6-qtdeclarative.spec b/qt6-qtdeclarative.spec
index a7493be..99ab65e 100644
--- a/qt6-qtdeclarative.spec
+++ b/qt6-qtdeclarative.spec
@@ -16,7 +16,7 @@
Summary: Qt6 - QtDeclarative component
Name: qt6-%{qt_module}
Version: 6.11.1
-Release: 2%{?dist}
+Release: 3%{?dist}
License: LGPL-3.0-only OR GPL-3.0-only WITH Qt-GPL-exception-1.0
Url: http://www.qt.io
@@ -36,6 +36,7 @@ Source5: qv4global_p-multilib.h
## upstream patches
Patch0: qtdeclarative-dialogs-use-generic-qtquickcontrols-import-in-base-fallback-dialogs.patch
Patch1: qtdeclarative-qmltableinstancemodel-refactor-qmodelindex-calculation-out-of-qquicktableview.patch
+Patch2: qtdeclarative-a11y-guard-against-nullptr-for-scrollbar-valueinterface.patch
## upstreamable patches
@@ -754,6 +755,10 @@ make check -k -C tests ||:
%endif
%changelog
+* Tue Jul 14 2026 Jan Grulich <jgrulich@redhat.com> - 6.11.1-3
+- Upstream backport:
+ - a11y: Guard against nullptr for scrollbar valueInterface
+
* Mon May 25 2026 Jan Grulich <jgrulich@redhat.com> - 6.11.1-2
- Upstream backport:
- QQmlTableInstanceModel: refactor QModelIndex calculation out
diff --git a/qtdeclarative-a11y-guard-against-nullptr-for-scrollbar-valueinterface.patch b/qtdeclarative-a11y-guard-against-nullptr-for-scrollbar-valueinterface.patch
new file mode 100644
index 0000000..aac99c8
--- /dev/null
+++ b/qtdeclarative-a11y-guard-against-nullptr-for-scrollbar-valueinterface.patch
@@ -0,0 +1,33 @@
+From 0093e85bbff86a25f3ab069de8ac19b3d723f706 Mon Sep 17 00:00:00 2001
+From: Magnus Groß <magnus@mggross.com>
+Date: Sat, 30 May 2026 21:26:03 +0200
+Subject: [PATCH] a11y: Guard against nullptr for scrollbar valueInterface
+
+The regression was introduced in 3e233634d83, which mistakenly assumed
+that valueInterface cannot be nullptr.
+
+Fixes: QTBUG-146959
+Pick-to: 6.11
+Change-Id: Ia47a05c9da6bf3889b12475f737aeab20485fe59
+Reviewed-by: MohammadHossein Qanbari <mohammad.qanbari@qt.io>
+---
+
+diff --git a/src/quicktemplates/qquickscrollbar.cpp b/src/quicktemplates/qquickscrollbar.cpp
+index f7d0600..70c3b69 100644
+--- a/src/quicktemplates/qquickscrollbar.cpp
++++ b/src/quicktemplates/qquickscrollbar.cpp
+@@ -474,10 +474,10 @@
+ #if QT_CONFIG(accessibility)
+ if (QAccessible::isActive()) {
+ if (QAccessibleInterface *accessible = QAccessible::queryAccessibleInterface(q)) {
+- QAccessibleValueInterface *valueInterface = accessible->valueInterface();
+- Q_ASSERT(valueInterface);
+- QAccessibleValueChangeEvent event(q, valueInterface->currentValue());
+- QAccessible::updateAccessibility(&event);
++ if (QAccessibleValueInterface *valueInterface = accessible->valueInterface()) {
++ QAccessibleValueChangeEvent event(q, valueInterface->currentValue());
++ QAccessible::updateAccessibility(&event);
++ }
+ }
+ }
+ #endif
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-14 5:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-14 5:41 [rpms/qt6-qtdeclarative] rawhide: Upstream backport: Jan Grulich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox