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 166317 - deleted file still appears, folder becomes unselectable
deleted file still appears, folder becomes unselectable
Status: RESOLVED INCOMPLETE
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
2.6.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2005-02-04 20:02 UTC by Vincent Noel
Modified: 2011-02-04 16:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Vincent Noel 2005-02-04 20:02:30 UTC
Open a terminal. In a subfolder of home, like home/myfolder, create a file (e.g.
touch home/myfolder/testfile). 

Open gedit and go to "File"/"Open...". Navigate to /home/myfolder. 

In the terminal, remove the file with "rm testfile:.

In gedit's filechooser, click on the "myfolder" button in the path bar to
refresh the file list. The removed file (testfile) still appears in the list, 
but with a blank icon, and you get plenty of warnings : 
GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to
`GtkFileFolderGnomeVFS'

Now, in the path bar, click on "home", then on "nyfolder" : you cannot select
"myfolder" anymore, instead you get the warnings :
GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed

With gtk+ and gnome-vfs CVS.
Comment 1 Matthias Clasen 2005-04-05 12:17:12 UTC
Hmm, I don't see this with the 2.10 version of the relevant packages. What
version of libgnomeui is this ?
Comment 2 Vincent Noel 2005-04-05 14:18:16 UTC
Well I just re-upgraded everything, and I now have :
libgnomeui 2.10.0 (cvs)
libgnome 2.11.0 (cvs)
gnome-vfs 2.10.1 (cvs)
gtk+ 2.7.0 (cvs)...

Is there something else I could upgrade ?
Comment 3 Matthias Clasen 2005-04-06 12:51:38 UTC
No idea. You will have to figure out if it is gnome-vfs that misses the
information that the file is gone, or if the file chooser does not notice that
the file system has changed.
Comment 4 Federico Mena Quintero 2005-04-28 23:43:05 UTC
Does this still happen with everything updated?
Comment 5 Matthias Clasen 2005-10-29 18:05:22 UTC
No response, closing