[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 'dev'.
Changed from ac99c4148329694abd8c96057a51edf3c64a449e to 8bd5d7ee8f73dc70871f39e15ccaa785a077dcfc
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 958dd2c1bcc89f64403bb816aeb5bf73360beed0 by 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.12 6.11 6.8
Change-Id: I583d6510008417defb6a2ebc8ed76ba005351ce2
Reviewed-by: Friedemann Kleint <[email protected]>
https://invent.kde.org/qt/qt/qtbase/-/commit/958dd2c1bcc89f64403bb816aeb5bf73360beed0

Git commit 44d63c50836a4752b1ff3b9015d5f31528b74b79 by 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.12 6.11
Change-Id: Ieb237961d1f664f633fd576985b9376cd9225ed0
Reviewed-by: Volker Hilsheimer <[email protected]>
https://invent.kde.org/qt/qt/qtbase/-/commit/44d63c50836a4752b1ff3b9015d5f31528b74b79

Git commit 7d54cbd406890d9a54c58b3ec9f9cf7eb71ec9c0 by 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.12 6.11 6.8
Change-Id: Ia0d9260170a691f1e42a4e611eed86759e97dcdf
Reviewed-by: Axel Spoerl <[email protected]>
https://invent.kde.org/qt/qt/qtbase/-/commit/7d54cbd406890d9a54c58b3ec9f9cf7eb71ec9c0

Git commit bcb7e2f8422ba85788065fa5b79b098467807dd5 by Michael Weghorn on 16/07/2026 at 17:24..
CUPS print dialog: Set custom option's default value

Add a new QVariant parameter to the QPrintDevice::property
and QPlatformPrintDevice::property methods and
make use of that to implement logic to get the
value for a PPD option in QPpdPrintDevice::property.

In the print dialog, make use of that to retrieve the
(default) value of custom PPD options [1] and set that
for the line edit that allows setting a custom value.

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

Fixes: QTBUG-137426
Change-Id: Ibff198178b34975cfa5f49ffd9cdd17cb3e46897
Reviewed-by: Axel Spoerl <[email protected]>
https://invent.kde.org/qt/qt/qtbase/-/commit/bcb7e2f8422ba85788065fa5b79b098467807dd5

Git commit 8bd5d7ee8f73dc70871f39e15ccaa785a077dcfc by 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.12 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]>
https://invent.kde.org/qt/qt/qtbase/-/commit/8bd5d7ee8f73dc70871f39e15ccaa785a077dcfc
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.