GNOME Bugzilla – Bug 142388
GtkFileChooser gets caught in a loop with long directory names
Last modified: 2004-12-22 21:47:04 UTC
Create a new empty folder. "Really Really Really Really Really Really Really Long Name" should do nicely. Go into some app, say gedit. Open dialog and shrink it down so it has to be enlarged by the new path buttons. Go into the directory. The window should be enlarged. Exit and put something in the folder. "Empty file" is always a good choice. Go back into the file chooser, go into the directory and watch the magic happen. The tree view bounces back and forth like crazy and the app is essentially unusable.
I can't reproduce this. What is the exact version of GTK+ that you are using; is it a released tarball or something out of CVS from a particular date?
Gtk+-2.4.1 from the tarball. It doesn't happen 100% of the time so keep trying. Also I must emphasize that it only happens if there is something inside the directory (non-empty TreeView). I'm attaching a screenshot of the issue and the gentoo ebuild used to compile GTK+.
Created attachment 27641 [details] Bug in action
Created attachment 27642 [details] Gentoo Ebuild
Happens on my Gentoo box, GTK+2.4.4 as well as my Mac (Fink gtk+2 2.4.4-6) consistently. Create a directory with an long name (85+ characters, no spaces worked for me). I used 01234567890123456789... Open ethereal. ctrl+o double-click on long directory name. The dialog box seems stuck in some kind of resizing loop.
I have also observed this bug. It seems to be dependent on the window size/font size, the problem only occurs when the name is much longer than the width of the file chooser window. See my Debian bug report on how to reproduce this with Gtk+-2.4.9: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=268632
I also observed this. It's insane. The folder on my system is "Rare_Track_Compliation__Langham_Studio_1_London_4-25-75_And_Tx.9_May_1974_BBC" It was indeed "fixed" when I increase the size of the file selector window. Oh man, this is beyond Severe.
*** This bug has been marked as a duplicate of 154007 ***