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 743992 - Don't try to thumbnail partial downloads
Don't try to thumbnail partial downloads
Status: RESOLVED DUPLICATE of bug 593229
Product: nautilus
Classification: Core
Component: Thumbnails
3.26.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-02-04 14:35 UTC by Bastien Nocera
Modified: 2017-09-30 18:16 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2015-02-04 14:35:11 UTC
Those have a mime-type in shared-mime-info now: application/x-partial-download

And it matches:
    <glob pattern="*.wkdownload"/>
    <glob pattern="*.crdownload"/>
    <glob pattern="*.part"/>

This will stop thumbnailers being opened on partial downloads, potentially breaking the thumbnailers (especially if the downloaders have downloaded random parts of the files, as Bittorrent programs do).
Comment 1 Cosimo Cecchi 2015-02-06 00:33:47 UTC
Does this really belong in Nautilus? It sounds to me like this is something that GnomeDesktopThumbnailFactory should be aware of instead - e.g. within the can_thumbnail() API: https://git.gnome.org/browse/gnome-desktop/tree/libgnome-desktop/gnome-desktop-thumbnail.h#n75
Comment 2 Bastien Nocera 2017-06-12 15:26:25 UTC
(In reply to Cosimo Cecchi from comment #1)
> Does this really belong in Nautilus? It sounds to me like this is something
> that GnomeDesktopThumbnailFactory should be aware of instead - e.g. within
> the can_thumbnail() API:
> https://git.gnome.org/browse/gnome-desktop/tree/libgnome-desktop/gnome-
> desktop-thumbnail.h#n75

nautilus is the one figuring out the mime-type and which mime-type you'll get depends on whether you use data or just the filename. So gnome-desktop will always tell you you can thumbnail a file when it's a image/png...
Comment 3 Jan Tojnar 2017-09-30 18:10:45 UTC
Duplicate of https://bugzilla.gnome.org/show_bug.cgi?id=593229
Comment 4 Carlos Soriano 2017-09-30 18:16:39 UTC
Thanks Jan.

*** This bug has been marked as a duplicate of bug 593229 ***