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 78951 - trouble with high-latency browsing
trouble with high-latency browsing
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Navigation
0.x.x [obsolete]
Other other
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 86441 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-04-17 14:12 UTC by Bastien Nocera
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.0


Attachments
fix for should_look_for_dot_directory_file (don't check for prefix against NULL dammit) (1.32 KB, patch)
2002-07-17 05:05 UTC, Bastien Nocera
none Details | Review

Description Bastien Nocera 2002-04-17 14:12:31 UTC
I'm having troubles with some "schemes" that have a high latency. When
browsing for example, rio500:, smb:, or even http: (DAV, iDisk in this
case) schemes, Nautilus shows (sometimes) a couple of files, then
doesn't seem to do anything, the throbber is not moving, and the "Stop
loading this location" button stays on. Until I switch to another view,
in this case from Icon View to List view and vice-versa, at which point
it shows all the files.

the "ls" test in gnome-vfs doesn't show this behaviour.

Does anybody have an idea of what the problem could be ? Async
operations broken ? Or would it be Nautilus ?

If you can't reproduce this problem, I can very well, the rio500 module
reproduce this problem constantly.

It *seems*, but to take with a pinch of salt, that only directories
don't show up properly. Files show up every time.
Comment 1 Frederic Crozat 2002-04-17 14:15:36 UTC
Confirmed with rio500: vfs module
Comment 2 Dave Bordoley [Not Reading Bug Mail] 2002-04-17 14:17:49 UTC
i experience similar problems when trying to use nautilus as a ftp client.
Comment 3 Luis Villa 2002-04-18 15:14:41 UTC
Seth: is this a gnome-vfs problem?
Comment 4 Bastien Nocera 2002-04-18 15:17:45 UTC
It's not a gnome-vfs problem, tests with gnome-vfs work just fine.
It's probably something that has to do with Nautilus's way of updating
the views (the incremental loading).
Comment 5 Bastien Nocera 2002-07-17 00:34:00 UTC
OK, I added some debug to fm_icon_view_add_file as Michael told me to.
On a first run, I get absolutely no directories shown, and
fm_icon_view_add_file isn't called.
If I switch to list view and then back, I get both files added:
** Message: fm_icon_view_add_file: rio500:///External
** Message: fm_icon_view_add_file launched nautilus_icon_container_add
successfully: rio500:///External
** Message: fm_icon_view_add_file: rio500:///Internal
** Message: fm_icon_view_add_file launched nautilus_icon_container_add
successfully: rio500:///Internal

If then I browse around, and go back to this same directory
(rio500:/// in this example), I get only one of the directories
showing up, the one I've just been to.
** Message: fm_icon_view_add_file: rio500:///Internal
** Message: fm_icon_view_add_file launched nautilus_icon_container_add
successfully: rio500:///Internal
** Message: fm_icon_view_add_file: rio500:///Internal

More ideas welcome.
Comment 6 Bastien Nocera 2002-07-17 05:05:40 UTC
Created attachment 9921 [details] [review]
fix for should_look_for_dot_directory_file (don't check for prefix against NULL dammit)
Comment 7 Bastien Nocera 2002-07-17 15:27:37 UTC
2002-07-17  Bastien Nocera  <hadess@hadess.net>

        * libnautilus-private/nautilus-directory-async.c:
        (should_look_for_dot_directory_file): fix function not to run
        eel_str_has_prefix against NULL, either we use a NULL
terminator to
        the array, or G_N_ELEMENTS. Makes rio500: work, and should
speed up
        most network methods. (Closes: #78951)
Comment 8 Christophe Fergeau 2002-08-13 16:21:20 UTC
*** Bug 86441 has been marked as a duplicate of this bug. ***