Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kglobalacceld6 for openSUSE:Factory 
checked in at 2025-06-26 11:35:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kglobalacceld6 (Old)
 and      /work/SRC/openSUSE:Factory/.kglobalacceld6.new.7067 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kglobalacceld6"

Thu Jun 26 11:35:00 2025 rev:25 rq:1288287 version:6.4.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/kglobalacceld6/kglobalacceld6.changes    
2025-06-18 15:54:24.135878021 +0200
+++ /work/SRC/openSUSE:Factory/.kglobalacceld6.new.7067/kglobalacceld6.changes  
2025-06-26 11:35:32.148361189 +0200
@@ -1,0 +2,10 @@
+Tue Jun 24 11:54:04 UTC 2025 - Fabian Vogt <fab...@ritter-vogt.de>
+
+- Update to 6.4.1:
+  * New bugfix release
+  * For more details see https://kde.org/announcements/plasma/6/6.4.1
+- Changes since 6.4.0:
+  * Update version for new release 6.4.1
+  * Fix losing shortcuts when updating the system
+
+-------------------------------------------------------------------

Old:
----
  kglobalacceld-6.4.0.tar.xz
  kglobalacceld-6.4.0.tar.xz.sig

New:
----
  kglobalacceld-6.4.1.tar.xz
  kglobalacceld-6.4.1.tar.xz.sig

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

Other differences:
------------------
++++++ kglobalacceld6.spec ++++++
--- /var/tmp/diff_new_pack.IYpmkP/_old  2025-06-26 11:35:33.060399025 +0200
+++ /var/tmp/diff_new_pack.IYpmkP/_new  2025-06-26 11:35:33.064399191 +0200
@@ -26,14 +26,14 @@
 # Latest ABI-stable Plasma (e.g. 6.0 in KF6, but 6.0.80 in KUF)
 %{!?_plasma6_version: %define _plasma6_version %(echo %{_plasma6_bugfix} | awk 
-F. '{print $1"."$2}')}
 Name:           kglobalacceld6
-Version:        6.4.0
+Version:        6.4.1
 Release:        0
 Summary:        Global keyboard shortcut daemon
 License:        LGPL-2.0-or-later
 URL:            https://www.kde.org
-Source:         %{rname}-%{version}.tar.xz
+Source:         
https://download.kde.org/stable/plasma/%{version}/%{rname}-%{version}.tar.xz
 %if %{with released}
-Source1:        %{rname}-%{version}.tar.xz.sig
+Source1:        
https://download.kde.org/stable/plasma/%{version}/%{rname}-%{version}.tar.xz.sig
 Source2:        plasma.keyring
 %endif
 %if 0%{?suse_version} == 1500

++++++ kglobalacceld-6.4.0.tar.xz -> kglobalacceld-6.4.1.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kglobalacceld-6.4.0/CMakeLists.txt 
new/kglobalacceld-6.4.1/CMakeLists.txt
--- old/kglobalacceld-6.4.0/CMakeLists.txt      2025-06-12 10:58:53.000000000 
+0200
+++ new/kglobalacceld-6.4.1/CMakeLists.txt      2025-06-24 11:30:29.000000000 
+0200
@@ -2,7 +2,7 @@
 
 project(kglobalacceld)
 
-set(PROJECT_VERSION "6.4.0")
+set(PROJECT_VERSION "6.4.1")
 
 set(QT_MIN_VERSION "6.8.0")
 set(KF6_MIN_VERSION "6.14.0")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kglobalacceld-6.4.0/src/globalshortcutsregistry.cpp 
new/kglobalacceld-6.4.1/src/globalshortcutsregistry.cpp
--- old/kglobalacceld-6.4.0/src/globalshortcutsregistry.cpp     2025-06-12 
10:58:53.000000000 +0200
+++ new/kglobalacceld-6.4.1/src/globalshortcutsregistry.cpp     2025-06-24 
11:30:29.000000000 +0200
@@ -787,9 +787,30 @@
             continue;
         }
 
-        auto *actionComp = createServiceActionComponent(service);
-        actionComp->activateGlobalShortcutContext(QStringLiteral("default"));
-        actionComp->loadFromService();
+        auto *component = createServiceActionComponent(service);
+        if (KConfigGroup configGroup = 
_config.group(QStringLiteral("services")).group(component->uniqueName()); 
configGroup.exists()) {
+            // Now load the contexts
+            const auto groupList = configGroup.groupList();
+            for (const QString &context : groupList) {
+                // Skip the friendly name group, this was previously used 
instead of _k_friendly_name
+                if (context == QLatin1String("Friendly Name")) {
+                    continue;
+                }
+
+                KConfigGroup contextGroup(&configGroup, context);
+                QString contextFriendlyName = 
contextGroup.readEntry("_k_friendly_name");
+                component->createGlobalShortcutContext(context, 
contextFriendlyName);
+                component->activateGlobalShortcutContext(context);
+                component->loadSettings(contextGroup);
+            }
+
+            // Load the default context
+            
component->activateGlobalShortcutContext(QStringLiteral("default"));
+            component->loadSettings(configGroup);
+        } else {
+            
component->activateGlobalShortcutContext(QStringLiteral("default"));
+            component->loadFromService();
+        }
     }
 }
 

Reply via email to