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 525311 - Need icon for .torrent files
Need icon for .torrent files
Status: RESOLVED OBSOLETE
Product: adwaita-icon-theme
Classification: Core
Component: extras
2.22.x
Other All
: Normal enhancement
: ---
Assigned To: adwaita-icon-theme maintainer(s)
adwaita-icon-theme maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2008-03-31 12:18 UTC by Savvas Radević
Modified: 2020-11-26 14:41 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
one suitable icon (16.10 KB, image/png)
2015-04-16 01:05 UTC, Luis Henrique Mello
Details

Description Savvas Radević 2008-03-31 12:18:08 UTC
The bittorrent files (.torrent) have a plain text icon instead of a unique icon.
Comment 1 Rodney Dawes 2008-04-01 21:07:16 UTC
What is the MIME type displayed in the properties dialog for such a file?
Comment 2 Savvas Radević 2008-04-02 11:47:57 UTC
It says: application/x-extension-torrent

I posted a suggestion about it at a mailing list:
https://lists.ubuntu.com/archives/ubuntu-art/2008-April/005594.html

I have been able to locate two or three mime types for it:
/home/username/.local/share/mime/application/x-extension-torrent.xml
/home/username/.local/share/mime/packages/user-extension-torrent.xml
/usr/share/mime/application/x-bittorrent.xml

$ cat /home/username/.local/share/mime/application/x-extension-torrent.xml
<?xml version="1.0" encoding="utf-8"?>
<mime-type xmlns="http://www.freedesktop.org/standards/shared-mime-info" type="application/x-extension-torrent">
  <!--Created automatically by update-mime-database. DO NOT EDIT!-->
  <comment>torrent document</comment>
</mime-type>

$ cat /home/username/.local/share/mime/packages/user-extension-torrent.xml
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
 <mime-type type="application/x-extension-torrent">
  <comment>torrent document</comment>
  <glob pattern="*.torrent"/>
 </mime-type>
</mime-info>
Comment 3 Savvas Radević 2008-04-03 06:57:50 UTC
OK, clear the local mime cache, now it says:
application/x-bittorrent
Comment 4 Rodney Dawes 2008-04-19 17:30:47 UTC
The icon should be the gears-inside-diamond icon then (application-x-generic). I'm not sure what a good icon for a torrent file would be as it's basically a symbolic link to a p2p search.
Comment 5 Savvas Radević 2008-04-19 17:51:46 UTC
Whatever you think is better, I just hate the "plain text" icon :)
Comment 6 Savvas Radević 2008-04-19 17:58:33 UTC
hm.. why not make a special p2p icon then? one that represents download and upload like the one I created?
http://savvas.radevic.com/previews/bittorrent-icon/bittorrent.svg
Comment 7 Rodney Dawes 2008-04-19 21:55:21 UTC
The plain text icon should not be used. If it is being used it is because you set it to the text-plain icon. If it is a blank sheet (not the plain text icon), then it is because you have enabled text previews in Nautilus, and the file contains text.

The icon you SHOULD see in a default setup for that MIME type, is the application-x-generic icon. If you are not seeing this icon, there is an issue with your configuration, or there is a bug in Nautilus or libgnomeui.

I don't know what to make of the icon you linked to, but it does not say "p2p" to me. And it would be nice to avoid using the globe for anything that means "network" because it is a horrible metaphor, and we need to get rid of it. Also, we try to avoid using paper sheets for things that are not represented on paper in real life. We try to use icons which represent the content, as it is more important than the transport mechanism or storage format. Unfortunately, torrent is a protocol and has no real representation of what the content might be. Perhaps something representing a search for files would be useful.
Comment 8 Savvas Radević 2008-04-21 06:58:56 UTC
Weird, I just removed the xml files in /usr/share/mime/application/* where x-bittorrent.xml was, then used sudo update-mime-database /usr/share/mime/ and it regenerated the files. The "bittorrent seed file" came from /usr/share/mime/packages/freedesktop.org.xml
<mime-type type="application/x-bittorrent">
<comment>BitTorrent seed file</comment>

So you're right probably, that mime type is not included by default in gnome.
Comment 9 Savvas Radević 2008-04-21 08:36:05 UTC
How about this one? :)
http://savvas.radevic.com/previews/bittorrent-icon/p2p.svg
A cycle of data transmitted between a person and a group of persons
Comment 10 Jakub Steiner 2010-12-13 16:32:43 UTC
Changing component to -extras
Comment 11 André Klapper 2015-02-11 15:44:04 UTC
Resetting assignee to default to avoid cookie-licking (see bug 744024).

Jimmac: If you actively and realistically plan to work on this, please set yourself as assignee again so this ticket will be shown on top of your user page at https://bugzilla.gnome.org/page.cgi?id=describeuser.html

Thanks!
Comment 12 Luis Henrique Mello 2015-04-16 01:05:19 UTC
Created attachment 301687 [details]
one suitable icon

This bittorrent mimetype is from Cheser icon theme https://github.com/chekavy/cheser-icon-theme - its licensed as Creative Commons and fits GNOME/Adwaita theme (this icon theme is based on GNOME's). Can it be used?
Comment 13 André Klapper 2020-11-26 14:41:20 UTC
bugzilla.gnome.org is being replaced by gitlab.gnome.org. We are closing all older bug reports and feature requests in GNOME Bugzilla which have not seen updates for a while.

If you still use adwaita-icon-theme and if you still see this bug / want this feature in a recent and currently supported version, then please feel free to report it at
https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/issues/
by following the guidelines at
https://wiki.gnome.org/Community/GettingInTouch/BugReportingGuidelines

Thank you for creating this report and we are sorry it could not be implemented so far (volunteer workforce and time is limited).