Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package plasma6-workspace for 
openSUSE:Factory checked in at 2026-05-11 16:52:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/plasma6-workspace (Old)
 and      /work/SRC/openSUSE:Factory/.plasma6-workspace.new.1966 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "plasma6-workspace"

Mon May 11 16:52:11 2026 rev:52 rq:1352225 version:6.6.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/plasma6-workspace/plasma6-workspace.changes      
2026-04-10 17:51:02.556937036 +0200
+++ 
/work/SRC/openSUSE:Factory/.plasma6-workspace.new.1966/plasma6-workspace.changes
    2026-05-11 16:58:43.028212773 +0200
@@ -1,0 +2,6 @@
+Sat May  9 21:31:00 UTC 2026 - Fabian Vogt <[email protected]>
+
+- Add patch to support systemd 260 power handling (kde#518174):
+  * 0001-libkworkspace-Handle-new-states-from-logind.patch
+
+-------------------------------------------------------------------

New:
----
  0001-libkworkspace-Handle-new-states-from-logind.patch

----------(New B)----------
  New:- Add patch to support systemd 260 power handling (kde#518174):
  * 0001-libkworkspace-Handle-new-states-from-logind.patch
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ plasma6-workspace.spec ++++++
--- /var/tmp/diff_new_pack.hRtmUg/_old  2026-05-11 16:58:45.536316268 +0200
+++ /var/tmp/diff_new_pack.hRtmUg/_new  2026-05-11 16:58:45.548316763 +0200
@@ -42,6 +42,8 @@
 %endif
 Source3:        sddm.conf
 Source4:        waitforkded.conf
+# PATCH-FIX-UPSTREAM
+Patch1:         0001-libkworkspace-Handle-new-states-from-logind.patch
 # PATCHES 501-??? are PATCH-FIX-OPENSUSE
 Patch501:       0001-Use-qdbus6.patch
 Patch502:       0001-Ignore-default-sddm-face-icons.patch

++++++ 0001-libkworkspace-Handle-new-states-from-logind.patch ++++++
>From 8f6d71715a70e5c73d322619163dce738993724b Mon Sep 17 00:00:00 2001
From: Nicolas Fella <[email protected]>
Date: Thu, 30 Apr 2026 21:41:44 +0200
Subject: [PATCH] libkworkspace: Handle new states from logind

systemd 260 introduces new states for CanReboot/CanPoweroff/etc

We need to adjust our code to not trip over those

This is a bit of a hotfix, ideally we would properly indicate in the UI that a 
given action is temporarily inhibited

BUG: 518174
(cherry picked from commit 07750c8a7cc89d532ec852a677772b0402a16ba8)
---
 libkworkspace/sessionmanagementbackend.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/libkworkspace/sessionmanagementbackend.cpp 
b/libkworkspace/sessionmanagementbackend.cpp
index c5631c16c8..d0742bfb9a 100644
--- a/libkworkspace/sessionmanagementbackend.cpp
+++ b/libkworkspace/sessionmanagementbackend.cpp
@@ -113,9 +113,11 @@ LogindSessionBackend::LogindSessionBackend()
             *argToUpdate = false;
         } else {
             // both "yes" and "challenge" will show up in the UI
+            // also accept "inhibited" for now, TODO expose this more 
fine-grained and indicate in the UI that the action is inhibited (and why)
             const QString value = reply.value();
             *argToUpdate = false;
-            if (value == QLatin1String("yes") || value == 
QLatin1String("challenge")) {
+            if (value == QLatin1String("yes") || value == 
QLatin1String("challenge") || value == QLatin1String("inhibited")
+                || value == QLatin1String("inhibited-blocked") || value == 
QLatin1String("challenge-inhibitor-blocked")) {
                 *argToUpdate = true;
             }
         }
-- 
2.53.0

Reply via email to