[qt/qt/qtdeclarative]: Summary of bulk changes made

KDE Git Services - Bulk Change <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git repository change summary for qt/qt/qtdeclarative
Pushed by mirror-service into branch '6.12'.
Changed from b3427d1faf19b6e80a8d00794c3f5bf77f3068e2 to 7bd0155b16814c61f42b7fec411dc890c799642a
Acknowledgement was received that this change introduces only existing code that has been pushed to another public open source repository.

This change contains the following new commits:

Git commit c4ed53346d0e2172f0d88631f7721b62be84ced0 by Qt Cherry-pick Bot (on behalf of Ivan Solovev) on 18/07/2026 at 22:01..
qmltyperegistrar: fix a typo in Qt::ImhDecima(l)NumbersOnly

Change-Id: I216b787abe441bc9dde1328479713e70bd1575dc
Reviewed-by: Ulf Hermann <[email protected]>
(cherry picked from commit 4113a2739e5fb852516aa345aa079193c50e8d93)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
https://invent.kde.org/qt/qt/qtdeclarative/-/commit/c4ed53346d0e2172f0d88631f7721b62be84ced0

Git commit d8dc6cf0432dd1983c971afd80f337e7cbb55cf4 by Qt Cherry-pick Bot (on behalf of Dilek Akcay) on 18/07/2026 at 22:01..
StyleKit Example: Fix ScrollIndicator positioning in Plain style

ScrollIndicator was positioned too far inside Menu and Popup
because it had no explicit padding and therefore inherited control's
padding values through fallback. These values were larger than
intended for a ScrollIndicator.

Set explicit padding values to position it correctly.

Change-Id: I513dfbbac9a81805614905cd56d1715b83ab99cc
Reviewed-by: Doris Verria <[email protected]>
(cherry picked from commit ba4049ac9f880c708104b23be39ac4e449551d9c)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
https://invent.kde.org/qt/qt/qtdeclarative/-/commit/d8dc6cf0432dd1983c971afd80f337e7cbb55cf4

Git commit 16d1ab23ebbcd028a9079a5b8ff5a56312ed1e89 by Qt Cherry-pick Bot (on behalf of Kai Uwe Broulik) on 18/07/2026 at 22:02..
Accept a proper QKeySequence as shortcut

When interfacing with C++, one might pass a proper QKeySequence
to a QtQuick Shortcut or QtQuick Controls Action.

In order to accept both a StandardKey and a string, the property
is defined as QVariant. For anything non-int it would call
toString() on the QVariant and pass it to QKeySequence::fromString.

However, QVariant has a registered converter to QString in Qt GUI
which uses NativeText, i.e. translated and adjusted to the platform.
QKeySequence::fromString on the other hand expects PortableText.

This mismatch means that assigning a QKeySequence typically worked
in an English system but did not when the system was configured
for another language (with qttranslations available).

Instead, accept a provided QKeySequence and use it as-is.

Pick-to: 6.11
Change-Id: Ib95c8f187fc7ed4f4fc315ee0eae043b632ecf8d
Reviewed-by: Mitch Curtis <[email protected]>
(cherry picked from commit 923641a53155bc1ceafeb9b7f9cd7c10c7125d49)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
https://invent.kde.org/qt/qt/qtdeclarative/-/commit/16d1ab23ebbcd028a9079a5b8ff5a56312ed1e89

Git commit c8cecf6796f5b7bb9361a202543bf5e6588a12f7 by Qt Cherry-pick Bot (on behalf of Richard Moe Gustavsen) on 18/07/2026 at 22:02..
StyleKit, ComboBox: set StopAtBounds on the popup ListView

Being able to overshoot the ListView inside the combo box
popup is unusual, and comes across as a glitch in practice
for smaller menus, especially when using the mouse wheel
for scrolling.

This patch will disable being able to overshoot the popup
menu.

Change-Id: I24c7c29d60192a77e19ff8f4878f5eb74f568db0
Reviewed-by: Doris Verria <[email protected]>
(cherry picked from commit 11524c090191c60982951d6c5a943eb8cb3e81ee)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
https://invent.kde.org/qt/qt/qtdeclarative/-/commit/c8cecf6796f5b7bb9361a202543bf5e6588a12f7

Git commit 5f29a09058f16162232039ca9359e93a9c595916 by Qt Cherry-pick Bot (on behalf of Richard Moe Gustavsen) on 18/07/2026 at 22:02..
StyleKit: improve DelegateStyle width/height documentation

Amends 3103b9d6cc

After removing implicitWidth and implicitHeight from the DelegateStyle
API in favor of width and height, some places slipped through the
cracks. This patch will correct the remaining places.

Change-Id: I3cd882072535addf5870be38dac68e4d2d5d6595
Reviewed-by: Doris Verria <[email protected]>
(cherry picked from commit 01256393294b084d4636cced98eb6bba8639a888)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
https://invent.kde.org/qt/qt/qtdeclarative/-/commit/5f29a09058f16162232039ca9359e93a9c595916

Git commit f4fff424f477c84f584456becb27e2975f44f193 by Qt Cherry-pick Bot (on behalf of Volker Hilsheimer) on 18/07/2026 at 22:02..
QQuickHeaderView: don't emit dataChanged from proxy model's setData

The proxy calls setHeaderData() on the source model, which is expected
to emit the headerDataChanged signal. We connect to that signal to
emit dataChanged, so no need to do it explicitly.

Amends 0b607bfe14048e32dd81855e1497dda3465b5183.

Pick-to: 6.11
Change-Id: I8008a84bb276a644319c82daace627309e448144
Reviewed-by: Dilek Akcay <[email protected]>
Reviewed-by: SanthoshKumar Selvaraj <[email protected]>
(cherry picked from commit c57b212de3a8f94e2eef559b37ea5fe5d809a41c)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
https://invent.kde.org/qt/qt/qtdeclarative/-/commit/f4fff424f477c84f584456becb27e2975f44f193

Git commit b8c994e053ec6c5ddb87d99c56ffe8ec47698638 by Qt Cherry-pick Bot (on behalf of Volker Hilsheimer) on 18/07/2026 at 22:02..
QQuickHeaderView: don't return default model index from invalid data calls

Return the default QVariant instead.

Amends 0b607bfe14048e32dd81855e1497dda3465b5183. Discovered while
reviewing the code to understand the data/headerData usage of Qt Quick's
header views.

Pick-to: 6.11 6.8
Change-Id: Ibd77e12948a78a8140a8088b2c8d0378846e5818
Reviewed-by: SanthoshKumar Selvaraj <[email protected]>
Reviewed-by: Dilek Akcay <[email protected]>
(cherry picked from commit 442b4a463a3351825b62c869be81370ec6c33c98)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
https://invent.kde.org/qt/qt/qtdeclarative/-/commit/b8c994e053ec6c5ddb87d99c56ffe8ec47698638

Git commit ca52464d0ca84db6f25c71ee26f47d8aa80cffcd by Qt Cherry-pick Bot (on behalf of Ulf Hermann) on 18/07/2026 at 22:02..
QmlPreview: Clarify outerRebuildTarget() return conditions

Amends commit ef36cfd4cfd793aa5aab4d5558ca03e8e0f72a74.

Coverity-Id: 911567
Change-Id: I2f32cb98ec24008734750c74d84575694e18091f
Reviewed-by: Fabian Kosmale <[email protected]>
(cherry picked from commit a8266909ff5274e0278d958fb28c37cbf737dfef)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
https://invent.kde.org/qt/qt/qtdeclarative/-/commit/ca52464d0ca84db6f25c71ee26f47d8aa80cffcd

Git commit bf99ee53a1dfed4e48d037894755f0dda1e3b86c by Qt Cherry-pick Bot (on behalf of Richard Moe Gustavsen) on 18/07/2026 at 22:03..
StyleKit, comboBox: add a note about how to style the popup

It might not be obvious that the drop-down menu of a combo box is
styled through popup + itemDelegate and not menu + menuItem. So add
a note about this fact.

Change-Id: I99c19b4a49ed62e82df3949af10f2a5283adc0c9
Reviewed-by: Doris Verria <[email protected]>
(cherry picked from commit c6b7c7a0a3f5841231c8daf9bb074ba2a7249d9b)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
https://invent.kde.org/qt/qt/qtdeclarative/-/commit/bf99ee53a1dfed4e48d037894755f0dda1e3b86c

Git commit 699110172f5fcafbeb005745430c9fb019a324de by Qt Cherry-pick Bot (on behalf of Dilek Akcay) on 18/07/2026 at 22:03..
StyleKit: Implement SwitchDelegate

Change-Id: I3ce5974e40bbd118d95ac74f869d7b1204196238
Reviewed-by: Doris Verria <[email protected]>
(cherry picked from commit d4fcc5bd5e59f82767c16df9b9a55b30efe2687e)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
https://invent.kde.org/qt/qt/qtdeclarative/-/commit/699110172f5fcafbeb005745430c9fb019a324de

Git commit 7f6d10173561a376ff6a40adb78a3130ef3d976f by Qt Cherry-pick Bot (on behalf of Ulf Hermann) on 18/07/2026 at 22:03..
QmlPreview: When stashing external state, consider object's own CU

An object may have an own CU that differs from the one that instantiates
the object and also from any CUs used for VME metaobjects. This CU may
still have constant bindings, though.

Amends commit 2bf46dc110c6e78fd0b657196017880151c3ade3.

Task-number: QTBUG-146122
Change-Id: Ice3d6aa4173914ae9b647d2a4d4cb01755d6f4c6
Reviewed-by: Fabian Kosmale <[email protected]>
(cherry picked from commit ca7fcace5a740966175218d2dbd24421443a4ce2)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
https://invent.kde.org/qt/qt/qtdeclarative/-/commit/7f6d10173561a376ff6a40adb78a3130ef3d976f

Git commit 5fa7f2250ee7ad14110a7fef471aad3a90e41881 by Qt Cherry-pick Bot (on behalf of Ulf Hermann) on 18/07/2026 at 22:03..
QtQml: Replace QQmlComponent::setData() overload

We can't add a first overload to a method commonly used as slot in a
signal-slot connection because that breaks source compatibility.
Instead, add a method with a new name that only provides the new
functionality.

Discovered during API review.

Change-Id: Id630498538ec6fc141eadbb2724c3fa64d7df000
Reviewed-by: Fabian Kosmale <[email protected]>
(cherry picked from commit d9df0ed93f67a66a18a86f0e4534d40880cf325b)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
https://invent.kde.org/qt/qt/qtdeclarative/-/commit/5fa7f2250ee7ad14110a7fef471aad3a90e41881

Git commit e46b4275bccf2bbe2b39e2600c8039c768aefcb6 by Qt Cherry-pick Bot (on behalf of Richard Moe Gustavsen) on 18/07/2026 at 22:03..
StyleKit: set the size of the indicator its foreground independently

As it stood, the implicit size of the IndicatorDelegate would be
the max of the indicator's own size and its foreground's size. But
this is wrong. Consider:

checkBox {
    indicator.width: 30
    indicator.foreground.width: 40
}

Here the indicator width is hard-coded to 30. But since
indicator.foreground has a width of 40, the indicator would end up
with a width of 40 as well. This is confusing, since if you
hard-code the indicator to have a width of 30, you expect it to
be 30 wide, not 40.

Change this so that the sizes of the indicator and its foreground
are controlled independently. This also means that the foreground
is allowed to be bigger than its parent, and alignment and margins
decide how it's then positioned on top, as expected. Since the
default implicit size implementation of a DelegateContainer does
exactly that, simply remove the implicitWidth/height overrides.

Note: Normally it's better to set fillWidth and fillHeight on the
foreground to make it fit inside the parent indicator. That way,
the size set on the indicator will also dictate the size of the
foreground. But the designer should not be limited to this
approach.

Change-Id: I4cbc36e5a6723666873efe6a8d354e70590e9a44
Reviewed-by: Doris Verria <[email protected]>
(cherry picked from commit f943d8e2ee647e335d1745174546594a5d03e2d3)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
https://invent.kde.org/qt/qt/qtdeclarative/-/commit/e46b4275bccf2bbe2b39e2600c8039c768aefcb6

Git commit 81d15a800f5329b4a37afba4277c60bb60c6a6e4 by Qt Cherry-pick Bot (on behalf of Ulf Hermann) on 18/07/2026 at 22:04..
QmlProfiler: Don't assert when the output file cannot be opened

Skip closing the document when the writer was never opened. Trying to
write anything to the never-opened writer causes asserts.

Pick-to: 6.11 6.8
Change-Id: Ib1e6fbe8f958c15faa0bbdc8ad949aef7a0bd159
Reviewed-by: Semih Yavuz <[email protected]>
(cherry picked from commit 5289b57272d964f86883ae200fda092eef8e5217)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
https://invent.kde.org/qt/qt/qtdeclarative/-/commit/81d15a800f5329b4a37afba4277c60bb60c6a6e4

Git commit 7bd0155b16814c61f42b7fec411dc890c799642a by Qt Cherry-pick Bot (on behalf of Marc Mutz) on 18/07/2026 at 22:04..
DomItem: DRY ownerAs()

Extract (Template) Method ownerAs_impl() to factor the repetitive
parts of the function out. This also makes the first three branches
SCARY, assuming there are, actually, sufficient subclasses of these
three types to matter.

As a drive-by, remove the two artifical scopes left by two previous
commits to avoid re-indentation.

This also puts us into better position to do something about C*verity
complaining that ownerAs() is throwing bad_variant_access, a known
False Positive for the if (holds_alternative<T>) get<T> pattern.

Amends 52d61e705ee606f3b673c757bdf253bdf6134a3b (6.2).

Change-Id: I3a51b022e9b73f5cee374687c5ac053d6c7892a3
Reviewed-by: Ulf Hermann <[email protected]>
(cherry picked from commit 6d6fd1756a5e47689e178689b010109925283f6a)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
https://invent.kde.org/qt/qt/qtdeclarative/-/commit/7bd0155b16814c61f42b7fec411dc890c799642a
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.