GNOME Bugzilla – Bug 603363
items are copied instead of moved when moving between two different menu files
Last modified: 2021-05-25 17:45:09 UTC
Created attachment 148731 [details] Item "Testing" is being moved from "Other" to "System->Preferences" When trying to edit the Gnome menus, there are some behaviors that are unexpected and inconsistent with the overall interface: When a item is moved from when section to another (see screenshots 1 and 2), the item is copied instead of moved. Not only copied to the other section, but it will appear duplicated in the first section. Worst, if one deletes the items from the first section, all entries are deleted (from the current section and from the others), and the revert button doesn't take that back. Therefore, one may easily loose launchers. For a non-advanced user, it may cause the inhability to launch an application further. The sequence of screenshots illustrates the behavior.
Created attachment 148732 [details] The result is that "Testing" is duplicated on "Other", and still marked.
Deleting "Testing" from the "Other" menu deletes all entries in all Menus.
Please attach the files from ~/.config/menus so I can look at what is wrong...
Created attachment 148734 [details] The applications menu file before creating the "testing" launcher.
Created attachment 148735 [details] The settings menu file before creating the "testing" launcher.
Created attachment 148736 [details] The applications menu file after creating and "moving" the testing launcher to "Preferences"
Created attachment 148737 [details] The settings menu file after creating and moving the "testing" launcher to "Preferences"
I'm not sure if there is something "wrong" in that sense. I think that the problem is that the menu editor is not behaving as one would expect from operating on items in general. The impression I have is that moving the launcher from one menu to the other should move the launcher, not copy it, and, if it is copied, it should not appear duplicate in the original menu. And when deleted from one menu it should not be deleted from all menus.
Oh, I see: this is happening because it's moving from one menu file to another. Definitely a bug in alacarte.
You are fast. I was writting this now: Uhm... now I noticed that the problem is only with the "Other" menu. It displays duplicate entries from other menus. So the problem is the inconsistence of the "Other" list with the overall behavior. I can "copy" items within other menus and delete them individually, I cannot do that with the "Other" menu as it displays items that are also displayed in other menus but not being a copy of them. So, I think that what would be good is to standardize the behavior of the "Other" menu with the behavior of the other items, by keeping individual copies of launchers in it and not displaying launchers of other menus. I'm not sure if this happens only with the "Other" menu, but there is clearly an inconsistency there.
See also Bug #601514 (duplicate?).
*** Bug 601514 has been marked as a duplicate of this bug. ***
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new enhancement request ticket at https://gitlab.gnome.org/GNOME/alacarte/-/issues/ Thank you for your understanding and your help.