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 325945 - Delete dialog shows a picture of a trashcan.
Delete dialog shows a picture of a trashcan.
Status: RESOLVED OBSOLETE
Product: adwaita-icon-theme
Classification: Core
Component: general
2.21.x
Other All
: Normal normal
: ---
Assigned To: Jakub Steiner
Jakub Steiner
Depends on: 169451
Blocks:
 
 
Reported: 2006-01-06 05:30 UTC by Gabriel Gunderson
Modified: 2009-10-07 15:56 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
Dialog box. (20.90 KB, image/png)
2006-01-06 05:32 UTC, Gabriel Gunderson
  Details
Proposed patch (1.34 KB, patch)
2006-01-07 12:12 UTC, Christian Neumair
rejected Details | Review
Delete confirm dialog using a non-trash icon for delete action (15.99 KB, image/png)
2006-01-12 07:57 UTC, Luca Ferretti
  Details
Menu entries for move_to_trash and delete actions using well fitted icons (4.59 KB, image/png)
2006-01-12 07:59 UTC, Luca Ferretti
  Details
Use trash icon with "Move to trash" and GTK_STOCK_DELETE with "delete" (3.19 KB, patch)
2006-01-23 13:12 UTC, Luca Ferretti
none Details | Review
A template for edit-delete icon (1.00 KB, image/png)
2006-01-23 13:16 UTC, Luca Ferretti
  Details
Updated patch to use named icon for "move to trash" and GTK_STOCK_DELETE for delete action (3.40 KB, patch)
2006-07-24 14:00 UTC, Luca Ferretti
none Details | Review

Description Gabriel Gunderson 2006-01-06 05:30:34 UTC
The delete dialog shows a picture of a trashcan.  That suggests that the file
will be available in the trash to recover if the user changes his mind.  That
behavior is of course only available if the user selects "Move to Trash".

Other information:
Comment 1 Gabriel Gunderson 2006-01-06 05:32:33 UTC
Created attachment 56839 [details]
Dialog box.
Comment 2 Gabriel Gunderson 2006-01-06 05:42:10 UTC
I don't know if these kinds of reports are valuable or just create noise.

I was inspired to file it by the recent post[1] on planet.gnome.org from Federico where several visual inconsistencies where pointed out.  Depending how this bug report (my first to Gnome) goes, I have about 10 other small things that I think might be confusing to average users.

1) http://primates.ximian.com/~federico/news-2006-01.html#smoke-testing-gnome-2-13-4

Regards,
Gabriel
Comment 3 Luis Menina 2006-01-07 01:28:54 UTC
The bug seems relevant IMHO... The icon is a reminder for the functionnality... having a trashcan while it will never reach it is a broken comportment for me...
Comment 4 Christian Neumair 2006-01-07 11:23:52 UTC
Yes, this is relevant. Marking priority as high since it can cause data loss.
Comment 5 Christian Neumair 2006-01-07 12:12:43 UTC
Created attachment 56915 [details] [review]
Proposed patch

Also submitted for review:
http://mail.gnome.org/archives/nautilus-list/2006-January/msg00033.html
Comment 6 Luca Ferretti 2006-01-12 07:56:11 UTC
IHMO the really issue here is the bad icon metaphor for gtk-delete.

So I think is better:
  1. Change "Move to Trash" menu entry to use a trash icon and "Delete" menu
     entry to use a delete icon
  2. Change the gtk-delete stock icon in GTK+ (or in gnome-icon-theme) to use
     a non-trash metaphor.

See the attached screenshot

Comment 7 Luca Ferretti 2006-01-12 07:57:49 UTC
Created attachment 57199 [details]
Delete confirm dialog using a non-trash icon for delete action

Icons from Tango project :-)
Comment 8 Luca Ferretti 2006-01-12 07:59:46 UTC
Created attachment 57200 [details]
Menu entries for move_to_trash and delete actions using well fitted icons

Maybe the move_to_trash entry could use the trash-full icon.
Comment 9 Luca Ferretti 2006-01-23 13:12:00 UTC
Created attachment 57933 [details] [review]
Use trash icon with "Move to trash" and GTK_STOCK_DELETE with "delete"

A quick and dirty, but working, patch to use "gnome-fs-trash-emtpy" icon for "Move to Trash" menu entries and GTK_STOCK_DELETE for "Delete" menu entries and button in confirmation alert (I should check for other buttons).

Of course delete confirmation alert still shows a trashcan, but this is a bug to fix in gnome-icon-theme and/or GTK+ stock icons.

Honestly I don't like too much this solution. IMHO we should direclty use new named icons 'user-trash' (or user-trash-full) for "Move to Trash" items and 'edit-delete' for "Delete" items.

Can I commit something?
Comment 10 Luca Ferretti 2006-01-23 13:16:04 UTC
Created attachment 57934 [details]
A template for edit-delete icon

Alex, what do you think about something like this for edit-delete action?
Comment 11 Luca Ferretti 2006-07-24 13:19:10 UTC
I can't set it, but this bug should depend on bug # 169451 (no trash for edit-delete).

When this bug will bu closed, we can simply keep GTK_STOCK_DELETE for all "Delete" action (direct Delete and Delete from trash) and use "user-trash-full" named icon (or NULL) for "Move to Trash" action
Comment 12 Luca Ferretti 2006-07-24 14:00:41 UTC
Created attachment 69496 [details] [review]
Updated patch to use named icon for "move to trash" and GTK_STOCK_DELETE for delete action

Updated patch against current code. Try it using current Tango as icon theme.

Unfortunately not complete. The "Delete from Trash" action (Edit menu when browsing the trash:// locations) is still using the trashcan as icon after applying this patch. I need to investigate.
Comment 13 Pacho Ramos 2008-02-09 21:32:18 UTC
What about this. This is still valid now with gnome-2.20 

Thanks a lot
Comment 14 Cosimo Cecchi 2008-02-22 13:49:34 UTC
Still there in 2.21.
Comment 15 Christian Neumair 2008-08-31 19:00:11 UTC
I just fixed all the menu items, which obsoletes attachment 69496 [details] [review]:
http://svn.gnome.org/viewvc/nautilus/trunk/

We had to set the "icon-name" rather than the "stock-id" of the actions.


I am also not sure what to do about the "Empty Trash" dialog, which still has a "Delete" icon and button:

On the one hand it is inconsistent with the "Empty Trash" action, but on the other hand it is totally consistent with the "Delete" action (it emphasizes the two-step deletion from trash, which is also shown when deleting single items from trash), and the icon looks nice.
Comment 16 Allison Karlitskaya (desrt) 2009-01-30 23:06:56 UTC
This is an icon theme bug.

If it is true that showing a trash can is a confusing visual concept for "delete" then the delete icon should not be a trash can.

Working around the broken semantics in Nautilus is very silly.
Comment 17 Cosimo Cecchi 2009-10-07 15:56:26 UTC
-> gnome-icon-theme

The new icon theme uses another icon, so I guess this can be closed as OBSOLETE.