[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 2a819525180418d49834aa4dea3aa41796cd5d92 to 051f4c75157af4fbfef93f452fa0b2ac10fcdc36 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 685c04f14e88b0659e4a65682bb58f2be34b3a27 by Marc Mutz (on behalf of David Faure) on 22/07/2026 at 10:48.. testlib: fix data races on the current test's identifiers qDebug() and friends reach the loggers from whatever thread called them, so generateTestIdentifier() and QXmlTestLogger::addMessage() read the current test function and data tags while the main thread moves on to the next row. Those strings don't outlive the test function either: currentTestFunc points into a QByteArray local to invokeTest(), and the QTestData rows belong to a QTestTable local to it. So a logging thread could read freed memory, or a pointer that turned null between the check and the dereference. Locking the accessors doesn't help: they hand out a raw const char* that the caller still uses after unlocking. Keep our own copies of the four strings instead, refreshed by the main thread whenever the identifiers change, and hand them out only under a mutex, via QTestResult::IdentifierLocker. Fixes the races TSan reports in tst_http2::goaway(). Task-number: QTBUG-141988 Pick-to: 6.12 6.11 6.8 Change-Id: I3a1d97b5b7169daac8191063f29c407ddda03eac Reviewed-by: Marc Mutz <[email protected]> https://invent.kde.org/qt/qt/qtbase/-/commit/685c04f14e88b0659e4a65682bb58f2be34b3a27 Git commit 051f4c75157af4fbfef93f452fa0b2ac10fcdc36 by Seokha Ko on 22/07/2026 at 10:48.. tst_QGraphicsView: Widen the scrollBarRanges test view to 400px scrollBarRanges resizes the view to a 250x100 top-level window and compares the scroll bar ranges against values derived from that width. On OHOS the minimum window size (320x72 vp) is enforced, so the window is widened past the requested 250px, the viewport no longer matches the width the expected ranges were computed from, and the scroll bar range comparisons fail. Increase viewWidth from 250 to 400, above the enforced minimum. Every expected value is relative to viewWidth/viewHeight, so widening it keeps the comparisons consistent on all platforms. viewHeight, at 100, is already above the minimum and is left unchanged. Fixes: QTBUG-148261 Pick-to: 6.12 Change-Id: I4f254f2dac9fd68ae0669a1998a1201f4d1bd32e Reviewed-by: SanthoshKumar Selvaraj <[email protected]> Reviewed-by: Axel Spoerl <[email protected]> https://invent.kde.org/qt/qt/qtbase/-/commit/051f4c75157af4fbfef93f452fa0b2ac10fcdc36