Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kwayland for openSUSE:Factory checked in at 2022-09-23 14:14:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kwayland (Old) and /work/SRC/openSUSE:Factory/.kwayland.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kwayland" Fri Sep 23 14:14:53 2022 rev:104 rq:1005433 version:5.98.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kwayland/kwayland.changes 2022-09-13 15:10:43.440868098 +0200 +++ /work/SRC/openSUSE:Factory/.kwayland.new.2275/kwayland.changes 2022-09-23 14:15:18.245992525 +0200 @@ -1,0 +2,6 @@ +Thu Sep 22 14:35:55 UTC 2022 - Christophe Giboudeaux <christo...@krop.fr> + +- Add upstream fix (kde#459188) + * 0001-client-plasmashell-add-fallback-for-applet-popups.patch + +------------------------------------------------------------------- New: ---- 0001-client-plasmashell-add-fallback-for-applet-popups.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kwayland.spec ++++++ --- /var/tmp/diff_new_pack.4bRnoy/_old 2022-09-23 14:15:19.793996134 +0200 +++ /var/tmp/diff_new_pack.4bRnoy/_new 2022-09-23 14:15:19.797996144 +0200 @@ -35,6 +35,8 @@ Source1: %{name}-%{version}.tar.xz.sig Source2: frameworks.keyring %endif +# PATCH-FIX-UPSTREAM +Patch0: 0001-client-plasmashell-add-fallback-for-applet-popups.patch BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version} BuildRequires: fdupes BuildRequires: kf5-filesystem ++++++ 0001-client-plasmashell-add-fallback-for-applet-popups.patch ++++++ >From d02188ad1f6222215adcf842f4c9806ba9e62ccb Mon Sep 17 00:00:00 2001 From: Xaver Hugl <xaver.h...@gmail.com> Date: Sat, 17 Sep 2022 01:18:28 +0200 Subject: [PATCH] client/plasmashell: add fallback for applet popups When the compositor doesn't support applet popups, the current code sends an invalid surface role. This causes KWin to fall back to the "normal" surface role and do normal window placement on it. CCBUG: 459188 --- src/client/plasmashell.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/client/plasmashell.cpp b/src/client/plasmashell.cpp index dc613cb5..93bc31c7 100644 --- a/src/client/plasmashell.cpp +++ b/src/client/plasmashell.cpp @@ -276,7 +276,14 @@ void PlasmaShellSurface::setRole(PlasmaShellSurface::Role role) } break; case Role::AppletPopup: - wlRole = ORG_KDE_PLASMA_SURFACE_ROLE_APPLETPOPUP; + // ORG_KDE_PLASMA_SURFACE_ROLE_APPLETPOPUP_SINCE_VERSION is not used for this check + // because it wrongly is 7 with old plasma wayland protocols + if (wl_proxy_get_version(d->surface) < 8) { + // dock is what applet popups were before + wlRole = ORG_KDE_PLASMA_SURFACE_ROLE_PANEL; + } else { + wlRole = ORG_KDE_PLASMA_SURFACE_ROLE_APPLETPOPUP; + } break; default: Q_UNREACHABLE(); -- 2.37.3