Moving menu items between categories in Alacarte doesn't work. (Edgy)

Bug #64960 reported by Tom5760
4
Affects Status Importance Assigned to Milestone
alacarte (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: alacarte

Steps to reproduce:

1.) Open menu editor with a right click on "Applications -> Edit Menus"
2.) Click and drag a menu item to another category.
3.) The menu item will disappear, go to the category you moved the item to.
4.) The item will not be in that category. Go back to the original category.
5.) The menu item will be back in its original category.

This is running the current Edgy 6.10 beta.

If there is any more information I can provide, let me know.

Revision history for this message
Pete Ryland (pdr) wrote :

I can confirm that the item does not disappear from the original submenu, but I've found that it does indeed turn up in the new submenu ok. But dragging to, say, the Application main menu does not work.

Are you using English menus?

Changed in alacarte:
status: Unconfirmed → Confirmed
Revision history for this message
Pete Ryland (pdr) wrote :

Can you try patching with the attached diff please?

* Download to /tmp
* run the following to apply the patch:

cd /usr/lib/python2.4/site-packages/Alacarte
sudo cp MainWindow.py MainWindow.py.OLD
sudo patch < /tmp/alacarte_MainWindow.py_dragndropfix20061014.diff

Try again. Does that fix the problem?

Revision history for this message
Tom5760 (tom5760) wrote : Re: [Bug 64960] Re: Moving menu items between categories in Alacarte doesn't work. (Edgy)

I can confirm that your patch fixed the problem I was having. My test
was dragging OpenOffice Draw from the graphics menu to the office
menu. Before this would not work in the manner I said before, but now
it works fine.

Yes I am using English menus.

Thanks a lot Pete, good job! =D

On 10/14/06, Pete Ryland <email address hidden> wrote:
> Can you try patching with the attached diff please?
>
> * Download to /tmp
> * run the following to apply the patch:
>
> cd /usr/lib/python2.4/site-packages/Alacarte
> sudo cp MainWindow.py MainWindow.py.OLD
> sudo patch < /tmp/alacarte_MainWindow.py_dragndropfix20061014.diff
>
> Try again. Does that fix the problem?
>
> ** Attachment added: "Fixes some alacarte drag and drop issues"
> http://librarian.launchpad.net/4838803/alacarte_MainWindow.py_dragndropfix20061014.diff
>
> --
> Moving menu items between categories in Alacarte doesn't work. (Edgy)
> https://launchpad.net/bugs/64960
>

Revision history for this message
Pete Ryland (pdr) wrote :

I've marked this as a dup now, since this behaviour was caused by a bug in gnome-menus (also now with patch). The above patch works because I changed the semantics of a drag-and-drop to perform a "move" operation, which doesn't create any new .desktop files. The "copy" operation was broken because of the gnome-menus bug. Travis has indicated that he wants to keep drag-and-drop performing a "copy".

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.