{"action":"opened","issue":{"url":"https://api.github.com/repos/navit-gps/navit/issues/584","repository_url":"https://api.github.com/repos/navit-gps/navit","labels_url":"https://api.github.com/repos/navit-gps/navit/issues/584/labels{/name}","comments_url":"https://api.github.com/repos/navit-gps/navit/issues/584/comments","events_url":"https://api.github.com/repos/navit-gps/navit/issues/584/events","html_url":"https://github.com/navit-gps/navit/issues/584","id":321169028,"number":584,"title":"Graphics resize image","user":{"login":"jandegr","id":9937104,"avatar_url":"https://avatars0.githubusercontent.com/u/9937104?v=4","gravatar_id":"","url":"https://api.github.com/users/jandegr","html_url":"https://github.com/jandegr","followers_url":"https://api.github.com/users/jandegr/followers","following_url":"https://api.github.com/users/jandegr/following{/other_user}","gists_url":"https://api.github.com/users/jandegr/gists{/gist_id}","starred_url":"https://api.github.com/users/jandegr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jandegr/subscriptions","organizations_url":"https://api.github.com/users/jandegr/orgs","repos_url":"https://api.github.com/users/jandegr/repos","events_url":"https://api.github.com/users/jandegr/events{/privacy}","received_events_url":"https://api.github.com/users/jandegr/received_events","type":"User","site_admin":false},"labels":[{"id":177069401,"url":"https://api.github.com/repos/navit-gps/navit/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-08T12:38:58Z","updated_at":"2018-05-08T12:38:58Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"This line https://github.com/navit-gps/navit/blob/trunk/navit/graphics.c#L721\r\nprevents icon resizing to work properly. \r\nIf a usable size is found it tries to use the next one in the array, often pointing to a nonexisting png.\r\nIf I want an icon in 96x96 on Android and I did not provide it but it finds 128x128 it will choose that size to size down, but then ultimatly move to the next one in the array (192) which does not exist and if fails to load the icon.\r\nSince I don't have a clue at all why or for which usecases that worked and only one line of code is involved, I did not make a PR but just report it.\r\nRemoving that line in Android makes it work as expected.\r\n"}}
{"actor":{"display_login":"jandegr"}}