Bug 413079 - problem adding/modifying menu entires
Summary: problem adding/modifying menu entires
Status: RESOLVED FIXED
Alias: None
Product: kmenuedit
Classification: Applications
Component: general (show other bugs)
Version: 5.17.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
: 413154 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-10-17 09:27 UTC by CSLX
Modified: 2019-10-28 08:06 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.17.2


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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