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 619962 - Don't create thumbnails for slow devices
Don't create thumbnails for slow devices
Status: RESOLVED INCOMPLETE
Product: nautilus
Classification: Core
Component: Thumbnails
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-05-28 16:50 UTC by Allan Day
Modified: 2012-08-15 12:31 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Allan Day 2010-05-28 16:50:52 UTC
This is from launchpad: https://bugs.launchpad.net/nautilus/+bug/350150

'I uses sometimes obexfs to get files from my phone to computer via IRDa. This has one "feature" - any file transfer is very slow, roughly few kB/s. When I open some directory on such fs in Nautilus, it tries to download every file in folder causing double transfer of every file - once for thumbnailing it and second time for actual download. Side effect is also freezing it's UI.

Nautilus should prevent something to do this. I could imagine two approaches:
1) blacklist potentially slow fs's. Apart from obexfs, remote fs's can have unpredictable speed and also removable fs's connected throught slow interfaces, like USB 1.1
2) check if getting file for thumbnailing doesn't take too long time. If it does, stop making thumbs of files in that particular directory

It would also be nice if thumbnailing run asynchronously, so that any problem here wouldn't cause UI freeze.'
Comment 1 Andreas Nilsson 2010-08-27 23:56:09 UTC
Nautilus currently blacklists (with an option to turn it on) thumbnailing for remote shares, such as ssh, ftp etc. Perhaps this could be expanded to obexfs and others too.
Comment 2 Bastien Nocera 2012-08-15 09:00:23 UTC
If the user used obex:/// from gvfs instead of fuse, the problem wouldn't show because it would be considered remote. Not nautilus' problem.
Comment 3 William Jon McCann 2012-08-15 12:31:48 UTC
Thanks. I think I'll close this and we can deal with specific problems as they arise.