Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package plasma5-desktop for openSUSE:Factory
checked in at 2021-12-30 15:55:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/plasma5-desktop (Old)
and /work/SRC/openSUSE:Factory/.plasma5-desktop.new.1896 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "plasma5-desktop"
Thu Dec 30 15:55:18 2021 rev:162 rq:942948 version:5.23.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/plasma5-desktop/plasma5-desktop.changes
2021-12-02 22:30:21.486647941 +0100
+++
/work/SRC/openSUSE:Factory/.plasma5-desktop.new.1896/plasma5-desktop.changes
2021-12-30 15:55:22.736652618 +0100
@@ -1,0 +2,7 @@
+Tue Dec 28 11:34:40 UTC 2021 - Fabian Vogt <[email protected]>
+
+- Add patch to fix empty window appearing on activity switching
+ (kde#443968, boo#1193960):
+ * 0001-SwitcherBackend-Only-create-the-workaround-window-on.patch
+
+-------------------------------------------------------------------
New:
----
0001-SwitcherBackend-Only-create-the-workaround-window-on.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ plasma5-desktop.spec ++++++
--- /var/tmp/diff_new_pack.cEM1Db/_old 2021-12-30 15:55:24.776654191 +0100
+++ /var/tmp/diff_new_pack.cEM1Db/_new 2021-12-30 15:55:24.780654194 +0100
@@ -43,6 +43,8 @@
Source1:
https://download.kde.org/stable/plasma/%{version}/plasma-desktop-%{version}.tar.xz.sig
Source2: plasma.keyring
%endif
+# PATCH-FIX-UPSTREAM
+Patch1: 0001-SwitcherBackend-Only-create-the-workaround-window-on.patch
# PATCH-FIX-OPENSUSE
Patch2: 0002-No-usr-bin-env-in-shebangs.patch
BuildRequires: extra-cmake-modules >= %{kf5_version}
++++++ 0001-SwitcherBackend-Only-create-the-workaround-window-on.patch ++++++
>From c8bcd716800b1e842301fbef8a0adf16d9042eb1 Mon Sep 17 00:00:00 2001
From: David Redondo <[email protected]>
Date: Wed, 15 Dec 2021 17:19:15 +0100
Subject: [PATCH] SwitcherBackend: Only create the workaround window on wayland
Not needed on X
BUG:443968
(cherry picked from commit cad50cb7961b7ebe87b08334ea11ec2f83979680)
---
imports/activitymanager/switcherbackend.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/imports/activitymanager/switcherbackend.cpp
b/imports/activitymanager/switcherbackend.cpp
index d97ef9b94..8a12da5e6 100644
--- a/imports/activitymanager/switcherbackend.cpp
+++ b/imports/activitymanager/switcherbackend.cpp
@@ -229,7 +229,7 @@ void SwitcherBackend::switchToActivity(Direction direction)
void SwitcherBackend::keybdSwitchedToAnotherActivity()
{
m_lastInvokedAction = dynamic_cast<QAction *>(sender());
- if (!qGuiApp->focusWindow() && !m_inputWindow) {
+ if (KWindowSystem::isPlatformWayland() && !qGuiApp->focusWindow() &&
!m_inputWindow) {
// create a new Window so the compositor sends us modifier info
m_inputWindow = new QRasterWindow();
m_inputWindow->setGeometry(0, 0, 1, 1);
--
2.33.1