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 86179 - It is possible to select a non-image file as a custom icon
It is possible to select a non-image file as a custom icon
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Views: All
2.12.x
Other Linux
: Normal minor
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on: 95115
Blocks:
 
 
Reported: 2002-06-22 08:03 UTC by Anand
Modified: 2005-11-14 15:32 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12



Description Anand 2002-06-22 08:03:26 UTC
After i choose an invalid file (for an icon), the select icon window 
closes abruptly and the 'Restore Custom Icon' button gets enabled.

Steps:

1) Open the properties window for a file/folder
2) Choose 'Select Custom Icon' and then click 'Browse' in the 'Select 
Icon' window
3) In the gnome-file-selector, browse to any directory and choose a non-
image file. (E.g. a plain text file)
4) Click ok....and <poof> the file selector as well as the icon selector 
window vanish.
5) The 'Remove Custom Icon' is now seen enabled.
Comment 1 Christian Neumair 2003-12-25 02:05:09 UTC
In Nautilus 2.5 I get an error message. Is this still relevant for
Nautilus 2.4?

regs,
 Chris
Comment 2 Vincent Noel 2004-08-03 18:50:01 UTC
I've just tried this with nautilus 2.7.2, and the file gets the old standard
gnome  icon. There is no error message. I think nautilus should warn you that
the file is not an icon and keep the previous icon.
Comment 3 Christian Neumair 2005-09-25 09:44:25 UTC
This will be fixed if we use the icon chooser and its file filtering caps, cf.
bug 95115.
Comment 4 Vincent Noel 2005-11-14 15:32:22 UTC
As bug 95115 is fixed, I'm marking this one as fixed :-)