Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kwayland-server for openSUSE:Factory checked in at 2022-02-24 18:18:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kwayland-server (Old) and /work/SRC/openSUSE:Factory/.kwayland-server.new.1958 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kwayland-server" Thu Feb 24 18:18:51 2022 rev:33 rq:956964 version:5.24.2 Changes: -------- --- /work/SRC/openSUSE:Factory/kwayland-server/kwayland-server.changes 2022-02-17 23:39:51.343701248 +0100 +++ /work/SRC/openSUSE:Factory/.kwayland-server.new.1958/kwayland-server.changes 2022-02-24 18:19:25.446722890 +0100 @@ -1,0 +2,10 @@ +Tue Feb 22 16:21:01 UTC 2022 - Fabian Vogt <fab...@ritter-vogt.de> + +- Update to 5.24.2 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/plasma/5/5.24.2 +- Changes since 5.24.1: + * seat: Do not assert on corner touch cases (kde#450338) + +------------------------------------------------------------------- Old: ---- kwayland-server-5.24.1.tar.xz kwayland-server-5.24.1.tar.xz.sig New: ---- kwayland-server-5.24.2.tar.xz kwayland-server-5.24.2.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kwayland-server.spec ++++++ --- /var/tmp/diff_new_pack.MPTnEr/_old 2022-02-24 18:19:26.034722733 +0100 +++ /var/tmp/diff_new_pack.MPTnEr/_new 2022-02-24 18:19:26.034722733 +0100 @@ -24,7 +24,7 @@ %bcond_without released Name: kwayland-server -Version: 5.24.1 +Version: 5.24.2 Release: 0 Summary: KDE Wayland server library License: LGPL-2.1-or-later ++++++ kwayland-server-5.24.1.tar.xz -> kwayland-server-5.24.2.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kwayland-server-5.24.1/CMakeLists.txt new/kwayland-server-5.24.2/CMakeLists.txt --- old/kwayland-server-5.24.1/CMakeLists.txt 2022-02-15 13:30:05.000000000 +0100 +++ new/kwayland-server-5.24.2/CMakeLists.txt 2022-02-22 13:13:28.000000000 +0100 @@ -2,7 +2,7 @@ set(CMAKE_C_STANDARD 99) -set(PROJECT_VERSION "5.24.1") +set(PROJECT_VERSION "5.24.2") set(PROJECT_VERSION_MAJOR 5) set(QT_MIN_VERSION "5.15.0") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kwayland-server-5.24.1/src/server/seat_interface.cpp new/kwayland-server-5.24.2/src/server/seat_interface.cpp --- old/kwayland-server-5.24.1/src/server/seat_interface.cpp 2022-02-15 13:30:05.000000000 +0100 +++ new/kwayland-server-5.24.2/src/server/seat_interface.cpp 2022-02-22 13:13:28.000000000 +0100 @@ -1072,7 +1072,12 @@ if (!d->touch) { return; } - Q_ASSERT(d->globalTouch.ids.contains(id)); + auto itTouch = d->globalTouch.ids.constFind(id); + if (itTouch == d->globalTouch.ids.constEnd()) { + // This can happen in cases where the interaction started while the device was asleep + qCWarning(KWAYLAND_SERVER) << "Detected a touch move that never has been down, discarding"; + return; + } const auto pos = globalPosition - d->globalTouch.focus.offset; if (isDragTouch()) { @@ -1093,7 +1098,7 @@ } } } - Q_EMIT touchMoved(id, d->globalTouch.ids[id], globalPosition); + Q_EMIT touchMoved(id, *itTouch, globalPosition); } void SeatInterface::notifyTouchUp(qint32 id) @@ -1101,7 +1106,13 @@ if (!d->touch) { return; } - Q_ASSERT(d->globalTouch.ids.contains(id)); + + auto itTouch = d->globalTouch.ids.find(id); + if (itTouch == d->globalTouch.ids.end()) { + // This can happen in cases where the interaction started while the device was asleep + qCWarning(KWAYLAND_SERVER) << "Detected a touch that never started, discarding"; + return; + } const qint32 serial = d->display->nextSerial(); if (d->drag.mode == SeatInterfacePrivate::Drag::Mode::Touch && d->drag.dragImplicitGrabSerial == d->globalTouch.ids.value(id)) { // the implicitly grabbing touch point has been upped @@ -1119,7 +1130,7 @@ } } - d->globalTouch.ids.remove(id); + d->globalTouch.ids.erase(itTouch); } void SeatInterface::notifyTouchFrame()