[qt/qt/qtbase]: 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/qtbase
Pushed by mirror-service into branch '6.12'.
Changed from 34514ad848d7bb1915fef5e51838d42afdd082f2 to 8a383d62a212b4061b1dcc8beab420857549de5d
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 218df65d0a563740d2907785e18d43f81260a96e by Qt Cherry-pick Bot (on behalf of Ivan Solovev) on 16/07/2026 at 13:21..
Fix a typo in Qt::ImhDecima(l)NumbersOnly

Add the missing 'l'.

Amends 6f23d0cec096bdb1d54b6fce2e09c1338d803deb.

Change-Id: I013b09e5f575d2bf2b1924554b03a5310aa0830b
Reviewed-by: Marc Mutz <[email protected]>
(cherry picked from commit d7d79304b4747261d1e1df1b44a12b0e1716f3dc)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
https://invent.kde.org/qt/qt/qtbase/-/commit/218df65d0a563740d2907785e18d43f81260a96e

Git commit fd96224a69bd16e8c80ce0fb6983166537a18c21 by Qt Cherry-pick Bot (on behalf of Ivan Solovev) on 16/07/2026 at 13:22..
qfloat16: split default and converting c-tors for NativeType

... and mark the default constructor noexcept, thus restoring the 6.11
noexcept status.

Found in API review.
Amends 44124a83c60fe2c49a1a8fc37df8413ef2652b3e.

Change-Id: Ibafbe6ea42d963bb1d7f9e30c557e872629cce60
Reviewed-by: Thiago Macieira <[email protected]>
Reviewed-by: Marc Mutz <[email protected]>
(cherry picked from commit 74e9cb1360467c38a386ff33d99381dcb7e4cc45)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
https://invent.kde.org/qt/qt/qtbase/-/commit/fd96224a69bd16e8c80ce0fb6983166537a18c21

Git commit 78ce83871712674f50359c4dd474a0f0a930b116 by Qt Cherry-pick Bot (on behalf of Marc Mutz) on 16/07/2026 at 14:33..
QXmlStreamAttribute: fix duplicate m_namespaceUri store

Found by Claude reviewing my patch that inits m_isDefault.

Amends the start of the public history.

Pick-to: 6.11 6.8
Change-Id: Ic96f422392f6ccd36ae29d8af9fb1bb0c20026a0
Reviewed-by: Ivan Solovev <[email protected]>
(cherry picked from commit f03a6f0a11516e2ac6c4827fa219115506e2a476)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
https://invent.kde.org/qt/qt/qtbase/-/commit/78ce83871712674f50359c4dd474a0f0a930b116

Git commit 49f5578b1a3f8a714bc9ed40221e45056940ca07 by Qt Cherry-pick Bot (on behalf of Marc Mutz) on 16/07/2026 at 14:34..
QRandomNumber: don't make fallback_fill() cold just to -Os it (cont'd)

Amends 256ff836956f9989eae8004e6a62f935964bb8e1 (picked to 6.8), which
merged incomplete (forgot to git add -p): The Clang part was missing.

Original commit message:

Use optimize("Os") (available since GCC 4.4¹) or minsize (Clang²),
using __has_attribute() to switch between them. Both don't mark the
function as [[unlikely]] and don't co-locate it with other cold
functions (like error handling or exception tables).

Amends 629f3c0277632b9e799b30f4dccbbe41ec211eef (5.10).

¹ https://gcc.gnu.org/gcc-4.4/changes.html → "A new optimize"
² https://clang.llvm.org/docs/AttributeReference.html#minsize

Pick-to: 6.11 6.8
Change-Id: I4e731d639b203c1eda40821d8609eeb616c23937
Reviewed-by: Ivan Solovev <[email protected]>
(cherry picked from commit b79323efe257801bea84ba8e041f03f80f1e23fe)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
https://invent.kde.org/qt/qt/qtbase/-/commit/49f5578b1a3f8a714bc9ed40221e45056940ca07

Git commit 505853d02184a35a5c3bd4f7e810b04c3a81da1c by Qt Cherry-pick Bot (on behalf of Jeff Heller) on 16/07/2026 at 14:43..
Android a11y: announce text edits so screen readers echo typing

With a screen reader enabled, typing or deleting characters in a Qt text
field produced no spoken feedback, and the field's label was not announced
— making edit controls very hard to use.

Several gaps caused this:

- Qt Quick text items emit a QAccessible text-change event only from the
  programmatic setText() path, never from input-method or key-event edits,
  so nothing reached the Android accessibility bridge while typing.
  Generate the events at the platform chokepoints instead:
  QAndroidInputContext::endBatchEdit() announces IME edits (with mid-batch
  changes deferred via a pending flag so unmarked mutations such as
  finishComposingText()'s commit are covered), and update() announces edits
  that bypass the IME entirely (KEYCODE_DEL backspace, hardware keys,
  programmatic changes). The changed span is a prefix/suffix diff of the
  field text, kept on code-point boundaries. Announcing only from these
  chokepoints (not also from the QAccessible::TextInserted/Removed/Updated
  path) avoids double-announcing programmatic changes, which update()
  reports too.

- QtAccessibilityDelegate.notifyTextChanged() fires the two events a real
  editable view fires on each keystroke, sourced from the input-focused
  node: TYPE_VIEW_TEXT_CHANGED (what changed) and a companion
  TYPE_VIEW_TEXT_SELECTION_CHANGED (the new caret position). The selection
  event matters because a screen reader echoes typing from the input-focused
  editable; the text-changed event alone is not honored when accessibility
  focus is on the soft keyboard rather than the field.

- Editable nodes exposed their content only via setContentDescription().
  A screen reader reads an editable's text to track the caret and echo
  edits, and reads its label from the hint; with neither set the field was
  treated as empty and unlabeled. populateNode() now also sets text,
  inputType (TYPE_CLASS_TEXT) and hintText (the accessible name) for
  editable nodes.

Confirmed on a Samsung Galaxy Tab A9 (Android 16) by a blind user: with the
single text-changed event, a screen-reader update stopped speaking it during
typing (its source is not the accessibility-focused node while the keyboard
is open); adding the caret/selection companion — matching how a standard
editable view drives typing echo — restored spoken feedback for typing and
deletion.

Task-number: QTBUG-118858
Pick-to: 6.11
Change-Id: I51589fc3891b7c42fcfbf0163545fad3666ac3dc
Reviewed-by: Oliver Eftevaag <[email protected]>
(cherry picked from commit 66acbeda7c59cf05cd300a4a36cd748c74fb78fe)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
https://invent.kde.org/qt/qt/qtbase/-/commit/505853d02184a35a5c3bd4f7e810b04c3a81da1c

Git commit 3632a1a88752b1648cf04c46671dd89502e6ff62 by Qt Cherry-pick Bot (on behalf of Alexandru Croitor) on 16/07/2026 at 15:48..
CMake: Disable '-Wgnu-include-next' for Apple header checks

Starting with Xcode 26, `-pedantic-errors` enables
`-Wgnu-include-next` which causes errors in framework forwarding
headers that use `#include_next` during a headers clean check.

Disable the warning in the header check, specifically when using
Apple Clang from Xcode 26 or later for a Qt framework build.

Amends 8d4d1c58cd37939f906edcffd22c93c479d90ce9

Change-Id: Ia24d5cb440eb9ac46506e498be9fd449a5933207
Reviewed-by: Joerg Bornemann <[email protected]>
(cherry picked from commit ba5a7149c512cfc0f1a95d034cf40f81a2cb3427)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
https://invent.kde.org/qt/qt/qtbase/-/commit/3632a1a88752b1648cf04c46671dd89502e6ff62

Git commit e561deee934561975685c86c11eef64820bade0e by Qt Cherry-pick Bot (on behalf of Frédéric Lefebvre) on 16/07/2026 at 16:14..
Fix tst_QSpinBox flakiness on openSuSE 16

tst_QSpinBox::init is setting the cursor in the top left corner of the
screen which triggers the application overview and occasionaly prevents
windows from becoming active.

Add an offset of QPoint(50, 50) to avoid this issue.

Pick-to: 6.11 6.8
Change-Id: I583d6510008417defb6a2ebc8ed76ba005351ce2
Reviewed-by: Friedemann Kleint <[email protected]>
(cherry picked from commit 958dd2c1bcc89f64403bb816aeb5bf73360beed0)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
https://invent.kde.org/qt/qt/qtbase/-/commit/e561deee934561975685c86c11eef64820bade0e

Git commit 0af5003d17aacb29e2ed35e55aa696295864c128 by Qt Cherry-pick Bot (on behalf of Marc Mutz) on 16/07/2026 at 16:17..
QMatrix4x4: deduplicate code between two ctors

The QGenericMatrix<N,M,float> ctor was performing exactly the same
operations as the (const float *, int cols, int rows) one, except the
former is inline and the latter is out-of-line.

While an inline function is more likely to be optimized properly,
incl. strength-reducing the multiplication in the inner loop, we can
do these optimizations to the out-of-line function manually, and
reduce code duplication (both source and executable) with very little
performance overhead. There's only one in-tree user of this contructor
(from QMatrix3x3), so I think the advantages outweight the
disadvantages here.

Amends the start of the public history, which, of course, didn't have
constructor delegation available, as this was a C++11 addition.

Pick-to: 6.11
Change-Id: Ieb237961d1f664f633fd576985b9376cd9225ed0
Reviewed-by: Volker Hilsheimer <[email protected]>
(cherry picked from commit 44d63c50836a4752b1ff3b9015d5f31528b74b79)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
https://invent.kde.org/qt/qt/qtbase/-/commit/0af5003d17aacb29e2ed35e55aa696295864c128

Git commit 50487bd929d6ee82c0d368b09213573e40617ad1 by Qt Cherry-pick Bot (on behalf of Michael Weghorn) on 16/07/2026 at 17:24..
CUPS print dialog: Support entering custom values for PPD options

CUPS not only supports PPD options that have a fixed
set of values to choose from, but also PPD options
that allow entering a custom value.

CUPS documentation on custom options: [1]

Implement support for such custom PPD options by
adding a QLineEdit to enter custom text when a non-null
return value of ppdFindCustomOption [2] indicates that
a custom option exists.

Show that one only if the "Custom" value has been
selected for the PPD option. In that case, set
manually entered value in the print options
in QPrintPropertiesDialog::setPrinterAdvancedCupsOptions
as "Custom.<entered_value>" which matches the behavior
passed of other CUPS client application implementations
like GTK 3 applications or LibreOffice.

This commit implements passing a value manually entered
in the Qt print dialog to the CUPS print job.

So far, responsibility that the user-entered text
meets the type and minimum/maximum length supported
for the custom option is fully on the user, i.e.
the value is simply passed to CUPS as is.

[1] https://www.cups.org/doc/spec-ppd.html#OPTIONS
[2] https://www.cups.org/doc/api-ppd.html#ppdFindCustomOption

Task-number: QTBUG-137426
Pick-to: 6.11 6.8
Change-Id: Ia0d9260170a691f1e42a4e611eed86759e97dcdf
Reviewed-by: Axel Spoerl <[email protected]>
(cherry picked from commit 7d54cbd406890d9a54c58b3ec9f9cf7eb71ec9c0)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
https://invent.kde.org/qt/qt/qtbase/-/commit/50487bd929d6ee82c0d368b09213573e40617ad1

Git commit 8a383d62a212b4061b1dcc8beab420857549de5d by Qt Cherry-pick Bot (on behalf of Marc Mutz) on 16/07/2026 at 17:24..
QDirEntryInfo: assert the variant is not valueless_by_exception

Coverity keeps complaining about the std::visit()s in this class
potentially throwing std::bad_variant_access, even after we closed the
one real source of valueless_by_exception() (never realized in
practice) by giving QFileInfo a nothrow move constructor
(cf. eb4b67478a1a36c476ad20a90e7d5a3fd080516c).

Next try is to add asserts, which this patch provides. If this also
fails, we need to port away from std::visit and switch over index()
instead. This is causing way too much fallout to not do anything about
it.

Amends 336ff06b648e2e7419f9234e4d1018a63ac9fb5b (picked to 6.11).

Since even QFileInfo copy wouldn't throw in practice, we can pick this
to 6.11, it doesn't hinge on a nothrow-move-constructible QFileInfo.

Pick-to: 6.11
Coverity-Id: 909813
Coverity-Id: 909676
Coverity-Id: 909674
Coverity-Id: 909672
Coverity-Id: 909666
Coverity-Id: 909663
Coverity-Id: 909661
Coverity-Id: 909660
Coverity-Id: 909656
Coverity-Id: 909650
Coverity-Id: 909648
Coverity-Id: 909645
Coverity-Id: 909640
Coverity-Id: 909639
Coverity-Id: 909637
Coverity-Id: 909636
Coverity-Id: 909633
Coverity-Id: 909632
Coverity-Id: 909629
Coverity-Id: 909628
Coverity-Id: 909627
Coverity-Id: 909626
Coverity-Id: 909624
Coverity-Id: 909622
Coverity-Id: 909621
Coverity-Id: 909618
Coverity-Id: 909616
Coverity-Id: 909615
Coverity-Id: 909614
Coverity-Id: 909613
Coverity-Id: 909612
Coverity-Id: 909611
Coverity-Id: 909598
Coverity-Id: 909597
Coverity-Id: 909596
Coverity-Id: 909593
Coverity-Id: 909591
Coverity-Id: 909590
Coverity-Id: 909589
Coverity-Id: 909588
Coverity-Id: 909585
Coverity-Id: 909582
Coverity-Id: 909580
Coverity-Id: 909579
Coverity-Id: 909576
Coverity-Id: 909572
Coverity-Id: 909568
Coverity-Id: 909566
Coverity-Id: 909561
Coverity-Id: 909559
Coverity-Id: 909557
Coverity-Id: 909555
Coverity-Id: 909553
Coverity-Id: 909550
Coverity-Id: 909546
Coverity-Id: 909544
Coverity-Id: 909542
Coverity-Id: 909539
Coverity-Id: 909534
Coverity-Id: 909533
Coverity-Id: 909532
Coverity-Id: 909526
Coverity-Id: 909522
Coverity-Id: 909517
Coverity-Id: 909516
Coverity-Id: 909515
Coverity-Id: 909514
Coverity-Id: 909513
Coverity-Id: 909510
Coverity-Id: 906992
Coverity-Id: 895839
Coverity-Id: 895838
Coverity-Id: 895835
Change-Id: I8b14c193054318c8710f3dcb6bad3093e8b56a78
Reviewed-by: Fabian Kosmale <[email protected]>
Reviewed-by: Ulf Hermann <[email protected]>
(cherry picked from commit 8bd5d7ee8f73dc70871f39e15ccaa785a077dcfc)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
https://invent.kde.org/qt/qt/qtbase/-/commit/8a383d62a212b4061b1dcc8beab420857549de5d
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.