Cannot edit properties of item if its icon is set to a nonexistent file.

Bug #2043410 reported by Nashenas88
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
alacarte (Ubuntu)
New
Undecided
Unassigned

Bug Description

Steps to reproduce:

1. Create a new item.
2. Set its icon to an image file.
3. Populate the rest of the fields with any other data.
4. Hit "Ok" to save the new item.
5. Delete the icon file from disk (or rename, anything to make the old path nonexistent).
6. Select the newly created item and then hit "Properties"

Expectation:
I should be able to update the icon to point it at a file that exists.

Actual:
Nothing happens. The properties window does not open.

Workaround:
Manually edit the desktop entry file to point to a valid image file. You can edit properties correctly after that.

How I found this:
I use alacarte to manage desktop entries for Prusa Slicer (the AppImage versions since the ones in the package repo are very old). I use a directory that's named after the app version, and I keep the icon and app image next to each other. I had update the entry to point to the new AppImage location, but had not updated the icon. Then I had deleted the old directory, which caused the icon path in the desktop entry to become invalid.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.