Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kf6-kio for openSUSE:Factory checked 
in at 2026-08-22 21:34:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kf6-kio (Old)
 and      /work/SRC/openSUSE:Factory/.kf6-kio.new.1258 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kf6-kio"

Sat Aug 22 21:34:29 2026 rev:35 rq:1372567 version:6.29.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kf6-kio/kf6-kio.changes  2026-08-17 
16:59:45.008637571 +0200
+++ /work/SRC/openSUSE:Factory/.kf6-kio.new.1258/kf6-kio.changes        
2026-08-22 21:35:25.897674566 +0200
@@ -1,0 +2,6 @@
+Thu Aug 20 17:05:13 UTC 2026 - Christophe Marin <[email protected]>
+
+- Add upstream fix (kde#524239, boo#1275906)
+  * 0001-kfileitemactions-fix-submenu-lifetime-using-main-men.patch
+
+-------------------------------------------------------------------

New:
----
  0001-kfileitemactions-fix-submenu-lifetime-using-main-men.patch

----------(New B)----------
  New:- Add upstream fix (kde#524239, boo#1275906)
  * 0001-kfileitemactions-fix-submenu-lifetime-using-main-men.patch
----------(New E)----------

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

Other differences:
------------------
++++++ kf6-kio.spec ++++++
--- /var/tmp/diff_new_pack.DwwBr9/_old  2026-08-22 21:35:26.674702273 +0200
+++ /var/tmp/diff_new_pack.DwwBr9/_new  2026-08-22 21:35:26.676702344 +0200
@@ -33,6 +33,8 @@
 Source1:        %{rname}-%{version}.tar.xz.sig
 Source2:        frameworks.keyring
 %endif
+# PATCH-FIX-UPSTREAM
+Patch0:         0001-kfileitemactions-fix-submenu-lifetime-using-main-men.patch
 BuildRequires:  fdupes
 BuildRequires:  kf6-extra-cmake-modules >= %{_kf6_version}
 BuildRequires:  libattr-devel

++++++ 0001-kfileitemactions-fix-submenu-lifetime-using-main-men.patch ++++++
>From 774defb949ac5130bbbd9f900c2c140ff99e1af1 Mon Sep 17 00:00:00 2001
From: Luis Bocanegra <[email protected]>
Date: Mon, 17 Aug 2026 18:27:22 -0600
Subject: [PATCH] kfileitemactions: fix submenu lifetime using main menu as the
 parent

parent was set to the menu holders which are deleted taking the X-KDE-Submenu 
with them

BUG: 524239
---
 src/widgets/kfileitemactions.cpp | 3 ++-
 src/widgets/kfileitemactions_p.h | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/widgets/kfileitemactions.cpp b/src/widgets/kfileitemactions.cpp
index 23371283c..b78f19bfd 100644
--- a/src/widgets/kfileitemactions.cpp
+++ b/src/widgets/kfileitemactions.cpp
@@ -152,7 +152,7 @@ int KFileItemActionsPrivate::insertServicesSubmenus(const 
QMap<QString, ServiceL
             continue;
         }
 
-        QMenu *actionSubmenu = new QMenu(menu);
+        QMenu *actionSubmenu = new QMenu(m_mainMenu);
         const int servicesAddedCount = insertServices(it.value(), 
actionSubmenu);
 
         if (servicesAddedCount > 0) {
@@ -313,6 +313,7 @@ void KFileItemActions::addActionsTo(QMenu *mainMenu, 
MenuActionSources sources,
 {
     QMenu *mainMenuHolder = new QMenu();
     QMenu *actionsMenuHolder = new QMenu();
+    d->m_mainMenu = mainMenu;
     if (sources & MenuActionSource::Services) {
         d->addServiceActionsTo(mainMenuHolder, actionsMenuHolder, 
additionalActions, excludeList);
     } else {
diff --git a/src/widgets/kfileitemactions_p.h b/src/widgets/kfileitemactions_p.h
index ae415f850..f7c6f8042 100644
--- a/src/widgets/kfileitemactions_p.h
+++ b/src/widgets/kfileitemactions_p.h
@@ -92,6 +92,7 @@ public:
     QActionGroup m_executeServiceActionGroup;
     QActionGroup m_runApplicationActionGroup;
     QWidget *m_parentWidget;
+    QMenu *m_mainMenu = nullptr;
     KConfig m_config;
     QHash<QString, KAbstractFileItemActionPlugin *> m_loadedPlugins;
     // Actions created by createServiceMenuActions()
-- 
2.55.0

Reply via email to