{"action":"created","issue":{"url":"https://api.github.com/repos/jens-maus/yam/issues/329","repository_url":"https://api.github.com/repos/jens-maus/yam","labels_url":"https://api.github.com/repos/jens-maus/yam/issues/329/labels{/name}","comments_url":"https://api.github.com/repos/jens-maus/yam/issues/329/comments","events_url":"https://api.github.com/repos/jens-maus/yam/issues/329/events","html_url":"https://github.com/jens-maus/yam/issues/329","id":148668749,"number":329,"title":"Icon not correctly showed on attachments","user":{"login":"jens-maus","id":5887769,"avatar_url":"https://avatars.githubusercontent.com/u/5887769?v=3","gravatar_id":"","url":"https://api.github.com/users/jens-maus","html_url":"https://github.com/jens-maus","followers_url":"https://api.github.com/users/jens-maus/followers","following_url":"https://api.github.com/users/jens-maus/following{/other_user}","gists_url":"https://api.github.com/users/jens-maus/gists{/gist_id}","starred_url":"https://api.github.com/users/jens-maus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jens-maus/subscriptions","organizations_url":"https://api.github.com/users/jens-maus/orgs","repos_url":"https://api.github.com/users/jens-maus/repos","events_url":"https://api.github.com/users/jens-maus/events{/privacy}","received_events_url":"https://api.github.com/users/jens-maus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jens-maus/yam/labels/%23trivial","name":"#trivial","color":"ededed"},{"url":"https://api.github.com/repos/jens-maus/yam/labels/@undecided","name":"@undecided","color":"ededed"},{"url":"https://api.github.com/repos/jens-maus/yam/labels/bug","name":"bug","color":"ee0701"},{"url":"https://api.github.com/repos/jens-maus/yam/labels/GUI","name":"GUI","color":"ededed"},{"url":"https://api.github.com/repos/jens-maus/yam/labels/invalid","name":"invalid","color":"e6e6e6"},{"url":"https://api.github.com/repos/jens-maus/yam/labels/nightly%20build","name":"nightly build","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/jens-maus/yam/milestones/2","html_url":"https://github.com/jens-maus/yam/milestones/YAM%202.8","labels_url":"https://api.github.com/repos/jens-maus/yam/milestones/2/labels","id":1708703,"number":2,"title":"YAM 2.8","description":"[[TicketQuery(milestone=YAM 2.8, order=resolution, desc=1, format=table, col=id|type|status|resolution|priority|summary)]]","creator":{"login":"jens-maus","id":5887769,"avatar_url":"https://avatars.githubusercontent.com/u/5887769?v=3","gravatar_id":"","url":"https://api.github.com/users/jens-maus","html_url":"https://github.com/jens-maus","followers_url":"https://api.github.com/users/jens-maus/followers","following_url":"https://api.github.com/users/jens-maus/following{/other_user}","gists_url":"https://api.github.com/users/jens-maus/gists{/gist_id}","starred_url":"https://api.github.com/users/jens-maus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jens-maus/subscriptions","organizations_url":"https://api.github.com/users/jens-maus/orgs","repos_url":"https://api.github.com/users/jens-maus/repos","events_url":"https://api.github.com/users/jens-maus/events{/privacy}","received_events_url":"https://api.github.com/users/jens-maus/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":38,"state":"closed","created_at":"2016-04-15T10:18:46Z","updated_at":"2016-04-15T14:00:38Z","due_on":"2012-12-19T23:00:00Z","closed_at":"2016-04-15T10:18:46Z"},"comments":1,"created_at":"2016-04-15T14:00:32Z","updated_at":"2016-04-15T14:00:40Z","closed_at":"2016-04-15T14:00:38Z","body":"**Originally by _s.hawamdeh@teletu.it_ on 2012-06-12 02:18:06 +0200**\n\n___\nYAM seems not able to show certain format (icons file attached in a mail) until you click manually into them, for example a text file will be always showed correctly so you will see the correct icon of your text file according to the standard icon installed.\n\nConversely an LhA file attached in a mail received does not show his standard icon until you select it manually\n\nIt may be a bug or maybe just a prefs to set (?), altrough i think it would be better if all type of format can be recognized by default without the need to do an extra click to show their proper icon"},"comment":{"url":"https://api.github.com/repos/jens-maus/yam/issues/comments/210474202","html_url":"https://github.com/jens-maus/yam/issues/329#issuecomment-210474202","issue_url":"https://api.github.com/repos/jens-maus/yam/issues/329","id":210474202,"user":{"login":"jens-maus","id":5887769,"avatar_url":"https://avatars.githubusercontent.com/u/5887769?v=3","gravatar_id":"","url":"https://api.github.com/users/jens-maus","html_url":"https://github.com/jens-maus","followers_url":"https://api.github.com/users/jens-maus/followers","following_url":"https://api.github.com/users/jens-maus/following{/other_user}","gists_url":"https://api.github.com/users/jens-maus/gists{/gist_id}","starred_url":"https://api.github.com/users/jens-maus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jens-maus/subscriptions","organizations_url":"https://api.github.com/users/jens-maus/orgs","repos_url":"https://api.github.com/users/jens-maus/repos","events_url":"https://api.github.com/users/jens-maus/events{/privacy}","received_events_url":"https://api.github.com/users/jens-maus/received_events","type":"User","site_admin":false},"created_at":"2016-04-15T14:00:40Z","updated_at":"2016-04-15T14:00:40Z","body":"**Originally by @tboeckel on 2012-07-11 09:47:14 +0200**\n\n___\nSorry for the late reply, but no, everything is working as expected. You just failed to notice the details ;)\n\nAttachments can have an arbitrary size and hence the decoding of the attachment might take an unpredictable amount of time. But without decoding the attachment YAM is not able to detect the true type of that file. Now imagine YAM would automatically decode each and every attachment just for the sake of a different icon image. This would hurt performance a lot more than it does now already. But the consequence is that YAM cannot show the correct icon in the first place, but just a generic replacement for arbitrary file types."}}