Bug 413079

Summary: problem adding/modifying menu entires
Product: [Applications] kmenuedit Reporter: CSLX <carlosandovalgt>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: nate, yumpottedmeat
Priority: NOR    
Version: 5.17.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 5.17.2

Description CSLX 2019-10-17 09:27:52 UTC
SUMMARY

When you open KDE's menu editor, and then you try to save changes (either adding or removing entries). there is an error when saving:

#"No fue posible guardar los cambios al menĂº debido al siguiente problema:
No se pudo escribir en /home/cslx/.config/menus/applications-kmenuedit.menu"

#"It is not possible to save changes in menu due to the following problem:
could not write: /home/cslx/.config/menus/applications-kmenuedit.menu"

I followed the route but seems not to exist in ArchLinux based system directory, and tried creating the route but gave same error anyway.

Linux/KDE Plasma: ARCH Linux
(available in About System)
KDE Plasma Version: 5.17
KDE Frameworks Version: 5.63
Qt Version: 5.13.1

ADDITIONAL INFORMATION
Comment 1 Wolfgang Bauer 2019-10-26 21:07:55 UTC
*** Bug 413154 has been marked as a duplicate of this bug. ***
Comment 2 Wolfgang Bauer 2019-10-28 08:06:42 UTC
Git commit d7dbd84e96b8727a8f37abb8744b2dcf27ff5fb0 by Wolfgang Bauer.
Committed on 28/10/2019 at 08:02.
Pushed by wbauer into branch 'Plasma/5.17'.

Create directory when saving the menu file

Commit 0bf70655 ported kmenuedit away from KStandardDirs.
But unlike KStandardDirs, QStandardPaths doesn't guarantee that the
target directory actually exists, therefore saving the menu file failed
if ~/.config/menus/ wasn't there already.
FIXED-IN: 5.17.2
Differential Revision: https://phabricator.kde.org/D24996

M  +4    -0    menufile.cpp

https://commits.kde.org/kmenuedit/d7dbd84e96b8727a8f37abb8744b2dcf27ff5fb0