Bug 303339

Summary: kde takes too long to update menus
Product: [I don't know] kde Reporter: Simple <simplew8>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: faure, nate, notuxius, oldie
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Simple 2012-07-11 00:29:45 UTC
When for example i change a category in a /usr/share/applications/kde/kwrite.desktop  file and then click to save it, it takes more than 10 seconds to have the entry updated in kde panel menu (kmenu).

I have performed this same test in a gnome file gedit.desktop, and after clicking in save, the update in the menus was immediate.

Reproducible: Always

Steps to Reproduce:
explained in details
Actual Results:  
explained in details

Expected Results:  
After saving the .desktop file, it should update kmenu immediately and not have to wait about 10 seconds
Comment 1 Gernot Wieprecht 2012-10-14 11:56:58 UTC
Why don't you use the menu editor? The changes are shown in the menu immediately after saving.
Comment 2 Simple 2012-10-14 16:40:35 UTC
This has nothing to do with menu editor, its related to how kde updates the menu entries,its related to how things were designed to run, if i remember correctly, in gnome the changes are done imediatly, but in kde kbuildsycoca takes too long to do it.
Comment 3 David Faure 2015-09-19 23:02:38 UTC
Can you re-test with Plasma5 and KDE Frameworks >= 5.15? I made many many changes to ksycoca, hopefully it should be better now. On my system it takes 1-2s for a sycoca update, but of course your testcase and your system could be different.
Comment 4 Alexander Mentyu 2018-03-25 17:36:59 UTC
Menu entries are updating fast in:

Plasma: 5.12.3
Apps: 17.12.3
Frameworks: 5.44.0
Qt: 5.10.1
Kernel: 4.14.27-1-MANJARO
OS: Netrunner Rolling
Comment 5 Nate Graham 2020-09-29 03:14:09 UTC
Yup.