[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 d31dac8a3891a5c9450a8ec9e0ada80f7834b5c8 to ea78d5a4e582d44b17a7c303b22f65f18a3de157
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 ec3e04184443f34e3e8a29628be2bdc7b21666c0 by Jie Liu on 17/07/2026 at 00:22..
wayland: protect mSurface access in commit() with read lock

Commit 0a8fe091f7 added a mSurface->commit() call in the
buffer->committed() fast path, but it was placed before the
QReadLocker that was introduced by commit 06906e0d11, leaving
the mSurface access unprotected.

If another thread (e.g. the main thread in reset()) concurrently
acquires the write lock and destroys mSurface, this can lead to
a null pointer dereference.

Move the QReadLocker to the top of commit() so that all mSurface
accesses are covered, including the buffer->committed() early
return path.

Pick-to: 6.12
Change-Id: I56bd4795332d4f3d740d6bfd42f2ef3edcf0a300
Reviewed-by: David Edmundson <[email protected]>
https://invent.kde.org/qt/qt/qtbase/-/commit/ec3e04184443f34e3e8a29628be2bdc7b21666c0

Git commit bebbf84167a4341eed27ecfca480ff62dfa1b159 by Liang Qi (on behalf of Li Zequan) on 17/07/2026 at 05:04..
QtGui: avoid losing theme name when ensureInitialized() called early

ensureInitialized() may be called before QPlatformTheme is fully
initialized, e.g. when KDE's libKF5IconThemes triggers
QIcon::setFallbackThemeName() during application startup. In this
case m_systemTheme ended up as an empty string permanently, causing
all subsequent QIcon::fromTheme() calls to fail, since themeName()
returned empty.

Fixed by adding lazy re-initialization: when m_systemTheme is empty,
re-query systemThemeName() which will succeed if the platform theme
is now available.

Task-number: QTBUG-133102
Pick-to: 6.12 6.11
Change-Id: I8ce8a2790b8eb9bddd228bdc67b285819c1175ce
Reviewed-by: Liang Qi <[email protected]>
https://invent.kde.org/qt/qt/qtbase/-/commit/bebbf84167a4341eed27ecfca480ff62dfa1b159

Git commit ea78d5a4e582d44b17a7c303b22f65f18a3de157 by Seokha Ko on 17/07/2026 at 05:42..
ohos: Snapshot QAbility peers before invoking the visitor

visitEachQAbilityPeer() iterated m_qAbilityPeers directly while its
visitor could synchronously resolve a JS Promise that re-entered and
erased an entry from the same map, invalidating the range-for iterator
and dereferencing a null shared_ptr on the next step.

Copy the peer map before invoking the visitor so that re-entrant
insertion or removal cannot invalidate the iteration, and each peer
stays alive for the duration of its visit.

Pick-to: 6.12
Change-Id: If2f0fa062833da2cc863fb04ee01564169f5cc94
Reviewed-by: Zbigniew Chyla <[email protected]>
Reviewed-by: SanthoshKumar Selvaraj <[email protected]>
https://invent.kde.org/qt/qt/qtbase/-/commit/ea78d5a4e582d44b17a7c303b22f65f18a3de157
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.