Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kwin5 for openSUSE:Factory checked in at 2022-02-24 18:19:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kwin5 (Old) and /work/SRC/openSUSE:Factory/.kwin5.new.1958 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kwin5" Thu Feb 24 18:19:08 2022 rev:161 rq:957159 version:5.24.2 Changes: -------- --- /work/SRC/openSUSE:Factory/kwin5/kwin5.changes 2022-02-17 23:39:52.475701239 +0100 +++ /work/SRC/openSUSE:Factory/.kwin5.new.1958/kwin5.changes 2022-02-24 18:20:05.714712132 +0100 @@ -1,0 +2,24 @@ +Wed Feb 23 20:39:02 UTC 2022 - Fabian Vogt <fab...@ritter-vogt.de> + +- Add patch to fix mouse event issues in openQA (kde#449273): + * 0001-Revert-Remove-mysterious-s_cursorUpdateBlocking-bool.patch + +------------------------------------------------------------------- +Tue Feb 22 16:21:02 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: + * backends/drm: block input with the placeholder output + * effects/blur: Avoid shrinking unrelated opaque regions + * effects/contrast: Remove paint area tracking + * backends/drm: ignore enabled state of outputs for the lifetime of surfaces (kde#450501) + * backends/drm: fix overscan + * inputmethod: Fix read setting (kde#450430) + * Use the minimum of workspace area size and panel size for input method placement + * Check lockscreen status for fullscreen effects (kde#450331) + * xwayland: Guard against offers arriving after leaving surface (kde#449644) + +------------------------------------------------------------------- Old: ---- kwin-5.24.1.tar.xz kwin-5.24.1.tar.xz.sig New: ---- 0001-Revert-Remove-mysterious-s_cursorUpdateBlocking-bool.patch kwin-5.24.2.tar.xz kwin-5.24.2.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kwin5.spec ++++++ --- /var/tmp/diff_new_pack.KWYC9f/_old 2022-02-24 18:20:07.254711720 +0100 +++ /var/tmp/diff_new_pack.KWYC9f/_new 2022-02-24 18:20:07.262711718 +0100 @@ -24,7 +24,7 @@ %global wayland (0%{?suse_version} >= 1330) %bcond_without released Name: kwin5 -Version: 5.24.1 +Version: 5.24.2 Release: 0 # Full Plasma 5 version (e.g. 5.8.95) %{!?_plasma5_bugfix: %define _plasma5_bugfix %{version}} @@ -39,6 +39,8 @@ Source1: https://download.kde.org/stable/plasma/%{version}/kwin-%{version}.tar.xz.sig Source2: plasma.keyring %endif +# PATCH-FIX-UPSTREAM +Patch1: 0001-Revert-Remove-mysterious-s_cursorUpdateBlocking-bool.patch # PATCH-FEATURE-OPENSUSE Patch101: 0001-Export-consistent-hostname-as-XAUTHLOCALHOSTNAME.patch BuildRequires: extra-cmake-modules >= 0.0.11 ++++++ 0001-Revert-Remove-mysterious-s_cursorUpdateBlocking-bool.patch ++++++ >From bac4f4ed62017bb4aeb81078f5ec2cd915af5de4 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii <vlad.zahorod...@kde.org> Date: Wed, 23 Feb 2022 20:17:28 +0200 Subject: [PATCH] Revert "Remove mysterious s_cursorUpdateBlocking boolean flag in pointer_input.cpp" This reverts commit 3d0bdc56a48fe0d5cc0889ab098f6c6c922d20c7. seat->setFocusedPointerSurface() before notifyPointerMotion() is needed to prevent sending a motion event that's outside the previously focused surface. BUG: 449273 (cherry picked from commit aaa07f0605d605ae2472b1a8f7f4bd07f2138cb2) --- src/pointer_input.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/pointer_input.cpp b/src/pointer_input.cpp index 88091e88b..a608b50e6 100644 --- a/src/pointer_input.cpp +++ b/src/pointer_input.cpp @@ -548,6 +548,8 @@ void PointerInputRedirection::cleanupDecoration(Decoration::DecoratedClientImpl m_decorationDestroyedConnection = connect(now, &QObject::destroyed, this, &PointerInputRedirection::update, Qt::QueuedConnection); } +static bool s_cursorUpdateBlocking = false; + void PointerInputRedirection::focusUpdate(Toplevel *focusOld, Toplevel *focusNow) { if (AbstractClient *ac = qobject_cast<AbstractClient*>(focusOld)) { @@ -568,6 +570,11 @@ void PointerInputRedirection::focusUpdate(Toplevel *focusOld, Toplevel *focusNow return; } + // prevent updating cursor and sending motion event outside the previously focused surface + s_cursorUpdateBlocking = true; + seat->setFocusedPointerSurface(nullptr); + s_cursorUpdateBlocking = false; + seat->notifyPointerMotion(m_pos.toPoint()); seat->setFocusedPointerSurface(focusNow->surface(), focusNow->inputTransformation()); @@ -1014,6 +1021,10 @@ void CursorImage::handlePointerChanged() void CursorImage::handleFocusedSurfaceChanged() { + if (s_cursorUpdateBlocking) { + return; + } + KWaylandServer::PointerInterface *pointer = waylandServer()->seat()->pointer(); disconnect(m_serverCursor.connection); -- 2.33.1 ++++++ kwin-5.24.1.tar.xz -> kwin-5.24.2.tar.xz ++++++ /work/SRC/openSUSE:Factory/kwin5/kwin-5.24.1.tar.xz /work/SRC/openSUSE:Factory/.kwin5.new.1958/kwin-5.24.2.tar.xz differ: char 27, line 1