After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 603363 - items are copied instead of moved when moving between two different menu files
items are copied instead of moved when moving between two different menu files
Status: RESOLVED OBSOLETE
Product: alacarte
Classification: Applications
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Alacarte Maintainer(s)
Alacarte Maintainer(s)
: 601514 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-11-30 11:54 UTC by Leandro Martínez
Modified: 2021-05-25 17:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Item "Testing" is being moved from "Other" to "System->Preferences" (118.58 KB, image/png)
2009-11-30 11:54 UTC, Leandro Martínez
Details
The result is that "Testing" is duplicated on "Other", and still marked. (128.50 KB, image/png)
2009-11-30 11:55 UTC, Leandro Martínez
Details
The applications menu file before creating the "testing" launcher. (1.50 KB, text/plain)
2009-11-30 12:10 UTC, Leandro Martínez
Details
The settings menu file before creating the "testing" launcher. (333 bytes, text/plain)
2009-11-30 12:11 UTC, Leandro Martínez
Details
The applications menu file after creating and "moving" the testing launcher to "Preferences" (398 bytes, text/plain)
2009-11-30 12:12 UTC, Leandro Martínez
Details
The settings menu file after creating and moving the "testing" launcher to "Preferences" (398 bytes, text/plain)
2009-11-30 12:12 UTC, Leandro Martínez
Details

Description Leandro Martínez 2009-11-30 11:54:24 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.
Comment 1 Leandro Martínez 2009-11-30 11:55:04 UTC
Created attachment 148732 [details]
The result is that "Testing" is duplicated on "Other", and still marked.
Comment 2 Leandro Martínez 2009-11-30 11:55:44 UTC
Deleting "Testing" from the "Other" menu deletes all entries in all Menus.
Comment 3 Vincent Untz 2009-11-30 11:58:18 UTC
Please attach the files from ~/.config/menus so I can look at what is wrong...
Comment 4 Leandro Martínez 2009-11-30 12:10:31 UTC
Created attachment 148734 [details]
The applications menu file before creating the "testing" launcher.
Comment 5 Leandro Martínez 2009-11-30 12:11:19 UTC
Created attachment 148735 [details]
The settings menu file before creating the "testing" launcher.
Comment 6 Leandro Martínez 2009-11-30 12:12:08 UTC
Created attachment 148736 [details]
The applications menu file after creating and "moving" the testing launcher to "Preferences"
Comment 7 Leandro Martínez 2009-11-30 12:12:38 UTC
Created attachment 148737 [details]
The settings menu file after creating and moving the "testing" launcher to "Preferences"
Comment 8 Leandro Martínez 2009-11-30 12:14:39 UTC
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.
Comment 9 Vincent Untz 2009-11-30 12:18:34 UTC
Oh, I see: this is happening because it's moving from one menu file to another.

Definitely a bug in alacarte.
Comment 10 Leandro Martínez 2009-11-30 12:23:06 UTC

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.
Comment 11 Antti Kaihola 2010-01-13 10:08:20 UTC
See also Bug #601514 (duplicate?).
Comment 12 Andy Owen 2010-02-02 12:16:22 UTC
*** Bug 601514 has been marked as a duplicate of this bug. ***
Comment 13 André Klapper 2021-05-25 17:45:09 UTC
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.