Bug 478055 - kmenuedit does not save changes
Summary: kmenuedit does not save changes
Status: RESOLVED WORKSFORME
Alias: None
Product: kmenuedit
Classification: Applications
Component: general (show other bugs)
Version: 5.90.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6, regression
Depends on:
Blocks:
 
Reported: 2023-12-04 15:45 UTC by Patrick Silva
Modified: 2024-07-18 03:46 UTC (History)
2 users (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 Patrick Silva 2023-12-04 15:45:53 UTC
STEPS TO REPRODUCE
1. open kmenuedit
2. change the icon or edit the "command-line arguments" field
3. save the change
4. restart kmenuedit
5. check the previously edited app

OBSERVED RESULT
the change was not saved

EXPECTED RESULT
any change is saved

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.90.0
KDE Frameworks Version: 5.246.0
Qt Version: 6.6.1
Graphics Platform: Wayland
Comment 1 Denis Kuplyakov 2024-04-18 21:19:08 UTC
I can confirm the same bug. Steps to reproduce, observed and expected results are the same as Patrick Silva has.


SOFTWARE/OS VERSIONS
Operating System: OpenSUSE Tumbleweed 20240417
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Graphics Platform: Wayland
Comment 2 cwo 2024-06-18 17:11:28 UTC
I can't replicate this on current Neon. I tested it with a newly created menu entry, as well as two system ones.

Steps I did to attempt replication:

1. Right-click on kickoff, Edit Applications.
2. "New Item", labeled 'test', pointing to /bin/true. Set an icon.
3. Edit the stock Kate menu entry, change the icon to Kate-symbolic
4. Edit the stock Okular menu entry to have a different command line argument (--version, which means the program will exit immediately).
5. Save, Close KMenuEdit.

Verification:
1. Check Kickoff to see if the new icons are used for "test" and "Kate"
2. Check Kickoff to see if the command line argument is used for okular
3. Repeat 1 for kickerdash
4. check ~/.local/share/applications for the corresponding desktop files and whether they contain the changes.
5. Reopen KMenuEdit to see if the changes are still there.

All verification steps concluded successfully - the icons and command line parameter were correctly set in all.

So this is either fixed in the new version, or there is another condition that triggers it, not a general inability to save changes. If you still experience this issue in a current version of Plasma, please give detailed instructions on how to trigger it.
Comment 3 Bug Janitor Service 2024-07-03 03:47:30 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 2024-07-18 03:46:48 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!