public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jan Grulich <jgrulich@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/qt6-qtdeclarative] rawhide: Upstream backport:
Date: Tue, 14 Jul 2026 05:41:52 GMT [thread overview]
Message-ID: <178400771255.1.9059134204504848152.rpms-qt6-qtdeclarative-2bc3f001ec29@fedoraproject.org> (raw)
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
reply other threads:[~2026-07-14 5:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178400771255.1.9059134204504848152.rpms-qt6-qtdeclarative-2bc3f001ec29@fedoraproject.org \
--to=jgrulich@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox