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
Why don't you use the menu editor? The changes are shown in the menu immediately after saving.
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.
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.
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
Yup.