Bug 376702 - Moving an application from one submenu to another leads to an inconsistent menu configuration (kbuildsycoca5 error) and subsequent plasma5 crashes
Summary: Moving an application from one submenu to another leads to an inconsistent m...
Status: RESOLVED WORKSFORME
Alias: None
Product: kmenuedit
Classification: Applications
Component: general (show other bugs)
Version: 5.8.2
Platform: openSUSE Linux
: NOR major
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-20 09:44 UTC by TSD1107
Modified: 2020-12-08 04:34 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description TSD1107 2017-02-20 09:44:48 UTC
Hello,

Currently, it is not possible to do any rearrangements to the menu that concern moving an application from one submenu to another without corrupting the configuration.

Steps to replicate the issue:
1. reset the menu configuration to system default via the corresponding application menu in the menu editor
2. take the appications 'DVDstyler' and gOCR that once installed is being listed in an extra  submenu 'unassigned'. 
3. drag and drop them one by one to the multimedia submenu
4. save
5. run kbuildsycoca5
6. error message "Recreating ksycoca file ("/home/...", version 303)
Still in the time dict (i.e. deleted files) ("apps")
kf5.kservice.sycoca: The menu spec file contains a Layout or DefaultLayout tag without the mandatory Merge tag inside. Please fix your file."
7. From now on KDE Plasma 5 will crash frequently while browsing the menu...

I am on openSUSE Leap 42.2 64-bit which is the latest stable release and has only been installed recently as a clean install. 
KDE Plasma Version is 5.8.3, KDE Frameworks Version is 5.26.0, QT-Version is 5.6.1.
Comment 1 TSD1107 2017-02-20 09:53:23 UTC
I forgot to mention step 1.1 - an initial run of kbuildsycoca5 on the reset menu. This led to no errors. The errors only occured after doing the first change to the menu structure as described in steps 2ff.
Comment 2 Justin Zobel 2020-11-08 09:13:15 UTC
Thanks for the report.

I've just tested these steps against Plasma from git master and I cannot reproduce the issue.

Can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved, thanks.
Comment 3 Bug Janitor Service 2020-11-23 04:34:06 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2020-12-08 04:34:31 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!