Bug 524239 - X-KDE-Submenu has no effect in version 6.29.
Summary: X-KDE-Submenu has no effect in version 6.29.
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 6.29.0
Platform: Fedora RPMs Linux
: HI normal
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords: regression
: 524425 524533 524639 525484 (view as bug list)
Depends on:
Blocks:
 
Reported: 2026-08-13 21:34 UTC by edpil02
Modified: 2026-09-10 19:00 UTC (History)
13 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Screenshots (155.88 KB, application/zip)
2026-08-13 21:34 UTC, edpil02
Details
appendImagesQuick.desktop (978 bytes, application/x-desktop)
2026-08-18 02:23 UTC, Luis Bocanegra
Details

Note You need to log in before you can comment on or make changes to this bug.
Description edpil02 2026-08-13 21:34:05 UTC
Created attachment 195136 [details]
Screenshots

My distro (fedora rawhide)  upgraded to kf6-6.29.
Since then, my service menus using `X-KDE-Submenu` no longer work.

I have a  root action submenu.
When I open the context menu configuration, the submenu and actions appear in the settings.
However, nothing appears when using the mouse.

If I remove `X-KDE-Submenu` from the `.desktop` file, the actions reappear in the context menu, proving that the `X-KDE-Submenu` option is no longer being recognized.
Comment 1 edpil02 2026-08-15 04:46:26 UTC
I set up a machine with kf6-6.28, and my service menu worked again in Dolphin.
After updating to kf6-6.29, it stopped working.
Comment 2 Oleg 2026-08-16 15:55:04 UTC
I confirm this degradation.
There are no submenus specified in the "ServiceMenus" user files.
If you comment out the line with "X-KDE-Submenu", all the items from the submenu appear at the root of the menu.
Comment 3 Marvin 2026-08-17 06:04:17 UTC
I also confirm this bug.
Comment 4 Bug Janitor Service 2026-08-18 00:38:48 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/2384
Comment 5 Antti Savolainen 2026-08-18 01:12:01 UTC
Can you post a .desktop file that I can use? I want to be able to reproduce this as I'm the one who broke the submenu.
Comment 6 Luis Bocanegra 2026-08-18 02:23:12 UTC
Created attachment 195232 [details]
appendImagesQuick.desktop
Comment 7 edpil02 2026-08-18 05:40:42 UTC
I can confirm that the patch suggested in comment 4 resolved the issue.
Comment 8 Antonio Rojas 2026-08-19 06:40:52 UTC
*** Bug 524425 has been marked as a duplicate of this bug. ***
Comment 9 Méven 2026-08-20 15:21:51 UTC
Git commit 774defb949ac5130bbbd9f900c2c140ff99e1af1 by Méven Car, on behalf of Luis Bocanegra.
Committed on 20/08/2026 at 14:14.
Pushed by meven into branch 'master'.

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

M  +2    -1    src/widgets/kfileitemactions.cpp
M  +1    -0    src/widgets/kfileitemactions_p.h

https://invent.kde.org/frameworks/kio/-/commit/774defb949ac5130bbbd9f900c2c140ff99e1af1
Comment 10 Antonio Rojas 2026-08-21 12:51:45 UTC
*** Bug 524533 has been marked as a duplicate of this bug. ***
Comment 11 Antonio Rojas 2026-08-23 10:10:51 UTC
*** Bug 524639 has been marked as a duplicate of this bug. ***
Comment 12 Antonio Rojas 2026-09-10 19:00:41 UTC
*** Bug 525484 has been marked as a duplicate of this bug. ***