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 398366 - drag and drop doesn't work properly when items have spaces in their name
drag and drop doesn't work properly when items have spaces in their name
Status: RESOLVED NOTGNOME
Product: alacarte
Classification: Applications
Component: general
0.11.x
Other All
: Normal minor
: ---
Assigned To: Alacarte Maintainer(s)
Alacarte Maintainer(s)
: 428395 441776 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-01-19 14:28 UTC by Sven Rech
Modified: 2007-08-02 14:04 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18


Attachments
Proposed fix (446 bytes, patch)
2007-08-02 04:54 UTC, Jared Moore
none Details | Review

Description Sven Rech 2007-01-19 14:28:22 UTC
Please describe the problem:
If I drag one of the entrys on the entries list (the one in the middle) to a menu entry on the left (category) list, alacarte hides this entry from the list. So I, as an user, expect now, that alacarte changed the menu structure, and put this menu entry to another menu categorie.

But alacarte doesn't really make this change.

Steps to reproduce:
1. Open alacarte
2. click for example on the games menu entry in the left list
3. Drag one entry of the list in the middle, and drop it to another category in the left menu (for example "internet")
4. See what happens (in the end, nothing)


Actual results:
Nothing, that's the problem

Expected results:
change of menu structure

Does this happen every time?


Other information:
Comment 1 Travis Watkins 2007-01-19 15:13:27 UTC
I cannot reproduce, works perfectly here.
Comment 2 Sebastien Bacher 2007-02-18 18:57:19 UTC
Happens with 0.11.3 as well, dnd from an item to an another category does nothing. Ubuntu bug about that: https://launchpad.net/alacarte/+bug/86026

"Drag & drop does not work in Alacarte.

Drag & drop does not work in Alacarte. Drag & drop seems to move items but nothing really happen."

That happens while doing that for example:
* open alacarte
* click on a category
* dnd an item for that category over an another category

The view is switched to the other category after the dnd, the item is not listed there though
Comment 3 Travis Watkins 2007-05-24 12:56:18 UTC
*** Bug 428395 has been marked as a duplicate of this bug. ***
Comment 4 Travis Watkins 2007-05-28 16:12:42 UTC
*** Bug 441776 has been marked as a duplicate of this bug. ***
Comment 5 PomCompot 2007-07-19 10:25:20 UTC
Can confirm this bug under Ubuntu Feisty with Gnome 2.18.1 installed and GNOME alacarte 0.11.3.
Comment 6 Jared Moore 2007-08-02 04:54:29 UTC
Created attachment 92896 [details] [review]
Proposed fix

The problem seems to be caused by having whitespace in the new .desktop file name. This is fixed by ensuring that util.getUniqueFileId returns a filename without spaces. Other whitespace characters aren't checked, but I assume that they won't ever be a problem. :)
Comment 7 Jared Moore 2007-08-02 06:45:40 UTC
Actually, that patch doesn't solve all the problems - see https://bugs.launchpad.net/ubuntu/+source/alacarte/+bug/96727. I'm currently working on this.
Comment 8 Travis Watkins 2007-08-02 11:51:45 UTC
Actually the real bug is in an Ubuntu patch for gnome-menus. Closing bug.
Comment 9 Jared Moore 2007-08-02 14:04:32 UTC
Hm, that would explain why I couldn't find the bug in Alacarte :)