[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.11'.
Changed from 15ae98844a452a528973c4ebab168199f2bade68 to 5ae3ec6c4b9f3fb9360f631433735bf3b90fb5cb
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 2402cd275fb7df039c65df328ecbaaa63cc33c41 by Qt Cherry-pick Bot (on behalf of Morteza Jamshidi) on 24/07/2026 at 09:29..
Windows QPA: Keep native window state in sync for frameless windows

Maximizing or restoring a frameless window used MoveWindow(), which
only changes the geometry. The native zoomed state was never updated,
so the window state reported by Windows and Qt diverged, and restoring
a window maximized from the system menu did not work.

Use ShowWindow() again for the state change and instead constrain the
maximize rect to the work area in WM_GETMINMAXINFO, so a maximized
frameless window still leaves the taskbar visible. This also applies
to maximizing from the system menu or Win+Up. Add an auto test.

Fixes: QTBUG-145092
Task-number: QTBUG-129791
Pick-to: 6.8
Change-Id: Id4631e53fa709e2bc9b96eeab4ff9cbca09eb2e6
Reviewed-by: Oliver Wolff <[email protected]>
(cherry picked from commit 4900c1efd9c47a90c6230fb3ee6b154fc0d97bfa)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
(cherry picked from commit 8b1c96de8b886b7d2bb9efc43a3689eaaef9d0c9)
https://invent.kde.org/qt/qt/qtbase/-/commit/2402cd275fb7df039c65df328ecbaaa63cc33c41

Git commit 43c486ad278c4ce048ce9e0ffcc70c84cee6446e by Qt Cherry-pick Bot (on behalf of Ivan Solovev) on 24/07/2026 at 09:29..
QMachOParser: add size checks in encryption command handling

The QMachOParser::parse() method correctly validates the size of each
processed command against the size of the mmapped file.
However, the helper isEncrypted() function iterates through all the
commands in the header again and does not do such validation.
This could lead to a situation when a malformed or corrupted command
with a too large size results in an out-of-bounds read.

Fix it by extending the isEncrypted() function with the similar checks.

Amends 667aec810f71ac378a618032846df4bb6d76c647, which cherry-picks to
6.2 and 5.15 were abandoned. So, picking only down to 6.5.

Fixes: QTBUG-148364
Pick-to: 6.8 6.5
Change-Id: Ibb37367173f1cea4c2fa1608f0d679cd6887d4e2
Reviewed-by: Thiago Macieira <[email protected]>
(cherry picked from commit 2a819525180418d49834aa4dea3aa41796cd5d92)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
(cherry picked from commit 6c61210bccd7d67166f5d773d22dfb15ef512687)
https://invent.kde.org/qt/qt/qtbase/-/commit/43c486ad278c4ce048ce9e0ffcc70c84cee6446e

Git commit 5ae3ec6c4b9f3fb9360f631433735bf3b90fb5cb by Qt Cherry-pick Bot (on behalf of Luqiao Chen) on 24/07/2026 at 09:29..
QStyle: fix drawItemPixmap() source rect offset at DPR != 1

QStyle::drawItemPixmap() built the QPainter::drawPixmap() source
rectangle with a device-independent (logical) top-left offset but a
device (physical) width and height, the latter scaled by the pixmap's
device pixel ratio. All four values describe a single rectangle sampled
from the pixmap, so they must share the same coordinate space.

When the device pixel ratio is not 1, the un-scaled offset addresses the
wrong pixels. An aligned pixmap larger than the target rectangle is then
sampled from the wrong location: e.g. a bottom-left aligned 100x200
pixmap in a 100x100 QLabel shows part of the top (clipped) half and drops
the bottom edge, instead of showing the bottom half exactly.

Scale the source offset by the device pixel ratio too, matching the width
and height, and build the whole source rectangle in a named local
variable so the device-pixel coordinate handling is explicit.

Fixes: QTBUG-148076
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Change-Id: Id4fe45cae72f0edcc8a51e5aa74293d4478a6c61
Reviewed-by: Morten Johan Sørvig <[email protected]>
(cherry picked from commit 4e5927ec7cc5d0aa66ad2ecd54ceb23f2f61494e)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
(cherry picked from commit 237eebfdd5f734e25dc8567e0321891a8a341d5d)
https://invent.kde.org/qt/qt/qtbase/-/commit/5ae3ec6c4b9f3fb9360f631433735bf3b90fb5cb
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.