Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package qt6-base for openSUSE:Factory checked in at 2025-12-17 17:30:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/qt6-base (Old) and /work/SRC/openSUSE:Factory/.qt6-base.new.1939 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qt6-base" Wed Dec 17 17:30:56 2025 rev:77 rq:1323004 version:6.10.1 Changes: -------- --- /work/SRC/openSUSE:Factory/qt6-base/qt6-base.changes 2025-11-25 15:48:10.418654982 +0100 +++ /work/SRC/openSUSE:Factory/.qt6-base.new.1939/qt6-base.changes 2025-12-17 17:34:21.202569192 +0100 @@ -1,0 +2,7 @@ +Mon Dec 15 15:41:38 UTC 2025 - Fabian Vogt <[email protected]> + +- Add patch to fix crash due to 0001-fix-slow-scrolling-on-wayland.patch + (boo#1253651): + * 0001-wayland-Fix-crash-in-QWaylandShmBackingStore-scroll.patch + +------------------------------------------------------------------- New: ---- 0001-wayland-Fix-crash-in-QWaylandShmBackingStore-scroll.patch ----------(New B)---------- New: (boo#1253651): * 0001-wayland-Fix-crash-in-QWaylandShmBackingStore-scroll.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ qt6-base.spec ++++++ --- /var/tmp/diff_new_pack.5if0Ww/_old 2025-12-17 17:34:23.550667805 +0100 +++ /var/tmp/diff_new_pack.5if0Ww/_new 2025-12-17 17:34:23.558668141 +0100 @@ -43,6 +43,7 @@ Source99: qt6-base-rpmlintrc # Patches 0-100 are upstream patches # Patch0: 0001-fix-slow-scrolling-on-wayland.patch +Patch1: 0001-wayland-Fix-crash-in-QWaylandShmBackingStore-scroll.patch # Patches 100-200 are openSUSE and/or non-upstream(able) patches # # No need to pollute the library dir with object files, install them in the qt6 subfolder Patch100: 0001-CMake-Install-objects-files-into-ARCHDATADIR.patch ++++++ 0001-wayland-Fix-crash-in-QWaylandShmBackingStore-scroll.patch ++++++ >From c93008e4d06abb0072e0e5e57d84a4ae182ecfc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C5=82a=C5=BCej=20Szczygie=C5=82?= <[email protected]> Date: Tue, 21 Oct 2025 19:49:17 +0200 Subject: [PATCH] wayland: Fix crash in QWaylandShmBackingStore::scroll() Fixes a crash when monitor is unplugged while scrolling. recreateBackBufferIfNeeded() calls getBuffer() which may set mFrontBuffer to nullptr. Amends: 6f25f703fd37a900c139e14a33a4639502bfeae7 Task-number: QTBUG-139231 Change-Id: Ia5bedce2a3f6580c722f73446de81a26d40ea2f4 Reviewed-by: David Edmundson <[email protected]> --- src/plugins/platforms/wayland/qwaylandshmbackingstore.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/plugins/platforms/wayland/qwaylandshmbackingstore.cpp b/src/plugins/platforms/wayland/qwaylandshmbackingstore.cpp index b853db21529..fa70b53cbd0 100644 --- a/src/plugins/platforms/wayland/qwaylandshmbackingstore.cpp +++ b/src/plugins/platforms/wayland/qwaylandshmbackingstore.cpp @@ -229,7 +229,7 @@ void QWaylandShmBackingStore::endPaint() // Inspired by QCALayerBackingStore. bool QWaylandShmBackingStore::scroll(const QRegion ®ion, int dx, int dy) { - if (Q_UNLIKELY(!mBackBuffer || !mFrontBuffer)) + if (Q_UNLIKELY(!mBackBuffer)) return false; const qreal devicePixelRatio = waylandWindow()->scale(); @@ -241,6 +241,8 @@ bool QWaylandShmBackingStore::scroll(const QRegion ®ion, int dx, int dy) return false; recreateBackBufferIfNeeded(); + if (!mFrontBuffer) + return false; const QPoint scrollDelta(dx, dy); const QMargins margins = windowDecorationMargins(); -- 2.52.0
