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 48501 - drag same emblem to a file twice - the emblem gets removed
drag same emblem to a file twice - the emblem gets removed
Status: RESOLVED OBSOLETE
Product: nautilus
Classification: Core
Component: [obsolete] Backgrounds Emblems and Themes
2.11.x
Other All
: Low minor
: future
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2001-08-24 06:36 UTC by shane o'connor
Modified: 2010-08-02 12:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to correct the bug 48501 (511 bytes, patch)
2008-12-13 13:25 UTC, Nicolas Henry
none Details | Review

Description shane o'connor 2001-09-10 01:18:58 UTC
running Solaris 8 on an ultra 110

it was seen that if the user drags an emblem to a file, then drags the same
emblem again to the same file, the emblem gets removed. 

What i would have expected is that the emblem gets left on the file, till it's
turned off in the properties dialog, or the erase emblem is dragged to the
file...



------- Bug moved to this database by unknown@bugzilla.gnome.org 2001-09-09 21:18 -------
Comment 1 John Fleck 2002-01-05 04:16:59 UTC
Changing to "old" target milestone for all bugs laying around with no milestone set.
Comment 2 Darin Adler 2002-03-06 17:07:10 UTC
I think this is working as designed.

But someone could work to refine the user interface of this.
The change sounds OK to me.
Comment 3 Luis Villa 2002-03-06 20:11:36 UTC
Maybe seth has a suggestion?
Comment 4 Seth Nickell 2002-03-07 22:04:55 UTC
I think its better to have the emblem removed than to do nothing. 

If somebody wanted to do the work, one idea might be to change the
cursor to a minus sign when you drag an emblem somewhere where it will
actually remove an existing emblem.
Comment 5 Christian Neumair 2005-07-20 19:04:43 UTC
There is currently no direct way to modify the GTK+ drag cursor. It just uses
some internally #defined cursors (gtkdndcursors.h). There is no minus sign
available IMHO. All we could do is blending the emblem icon with a minus sign.
Comment 6 Nicolas Henry 2008-12-13 13:25:02 UTC
Created attachment 124579 [details] [review]
Patch to correct the bug 48501
Comment 7 Nicolas Henry 2008-12-13 13:25:58 UTC
In order to correct the bug, provided that you think this is a bug, you should remove some lines in the file libnautilus-private/nautilus-file-dnd.c, especially in the function nautilus_drag_file_receive_dropped_keyword. I put a patch as an attachment.
Comment 8 Emmanuel Fleury 2008-12-15 20:03:51 UTC
What I think should be the proper behavior is to display a '-' when the emblem is dragged again on the icon... removing the ability to remove the emblem is not really helping (in my humble opinion).
Comment 9 Frederic Peters 2008-12-16 11:02:04 UTC
I'd second that last comment, perhaps the cursor can be changed to the "eraser" emblem.
Comment 10 Emmanuel Fleury 2008-12-16 11:15:51 UTC
Nah, it would be confusing because the usual semantic for the eraser is to remove all emblems at once.

Having the ability to remove only one emblem by dragging it a second time over the icon AND with a clear semantic (the minus sign) would be the proper way to do it (or am I wrong ?).
Comment 11 Cosimo Cecchi 2010-08-02 12:20:31 UTC
'Backgrounds and Emblems' have now been removed from nautilus master, see [1]. Closing this as OBSOLETE.

[1] http://mail.gnome.org/archives/nautilus-list/2010-July/msg00023.html