{"action":"created","issue":{"url":"https://api.github.com/repos/mit-cml/appinventor-sources/issues/372","labels_url":"https://api.github.com/repos/mit-cml/appinventor-sources/issues/372/labels{/name}","comments_url":"https://api.github.com/repos/mit-cml/appinventor-sources/issues/372/comments","events_url":"https://api.github.com/repos/mit-cml/appinventor-sources/issues/372/events","html_url":"https://github.com/mit-cml/appinventor-sources/issues/372","id":71750102,"number":372,"title":"Missing icons in blocks editor component list","user":{"login":"halatmit","id":789431,"avatar_url":"https://avatars.githubusercontent.com/u/789431?v=3","gravatar_id":"","url":"https://api.github.com/users/halatmit","html_url":"https://github.com/halatmit","followers_url":"https://api.github.com/users/halatmit/followers","following_url":"https://api.github.com/users/halatmit/following{/other_user}","gists_url":"https://api.github.com/users/halatmit/gists{/gist_id}","starred_url":"https://api.github.com/users/halatmit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/halatmit/subscriptions","organizations_url":"https://api.github.com/users/halatmit/orgs","repos_url":"https://api.github.com/users/halatmit/repos","events_url":"https://api.github.com/users/halatmit/events{/privacy}","received_events_url":"https://api.github.com/users/halatmit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Momoumar","id":9167866,"avatar_url":"https://avatars.githubusercontent.com/u/9167866?v=3","gravatar_id":"","url":"https://api.github.com/users/Momoumar","html_url":"https://github.com/Momoumar","followers_url":"https://api.github.com/users/Momoumar/followers","following_url":"https://api.github.com/users/Momoumar/following{/other_user}","gists_url":"https://api.github.com/users/Momoumar/gists{/gist_id}","starred_url":"https://api.github.com/users/Momoumar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Momoumar/subscriptions","organizations_url":"https://api.github.com/users/Momoumar/orgs","repos_url":"https://api.github.com/users/Momoumar/repos","events_url":"https://api.github.com/users/Momoumar/events{/privacy}","received_events_url":"https://api.github.com/users/Momoumar/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-04-29T01:09:25Z","updated_at":"2015-07-06T10:42:58Z","closed_at":null,"body":"From Taifun:\r\n\r\ncreate an empty project and drag a TinyDB component into the working space, now go to the blocks editor and you will see this (the TinyDB icon is missing)\r\nnow go back to the designer, add a slider control, go back to the blocks editor and you will see this: (TinyDB icon appears in component list on the left, Slider icon is missing)\r\n\r\nadd a button and the slider still is missing, delete the button and the slider icon appears\r\n\r\nstrange, isn't it? I'm  on Windows 7 using Google Chrome\r\n\r\nFrom Hal:\r\nI tried this on a Mac and I see the bad behavior in Chrome, but not in Firefox.  If I had to guess, I'd say it's an HTML error on the project page, or (shudder) a result of updating GWT.   \r\n"},"comment":{"url":"https://api.github.com/repos/mit-cml/appinventor-sources/issues/comments/118806019","html_url":"https://github.com/mit-cml/appinventor-sources/issues/372#issuecomment-118806019","issue_url":"https://api.github.com/repos/mit-cml/appinventor-sources/issues/372","id":118806019,"user":{"login":"fmntf","id":287717,"avatar_url":"https://avatars.githubusercontent.com/u/287717?v=3","gravatar_id":"","url":"https://api.github.com/users/fmntf","html_url":"https://github.com/fmntf","followers_url":"https://api.github.com/users/fmntf/followers","following_url":"https://api.github.com/users/fmntf/following{/other_user}","gists_url":"https://api.github.com/users/fmntf/gists{/gist_id}","starred_url":"https://api.github.com/users/fmntf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmntf/subscriptions","organizations_url":"https://api.github.com/users/fmntf/orgs","repos_url":"https://api.github.com/users/fmntf/repos","events_url":"https://api.github.com/users/fmntf/events{/privacy}","received_events_url":"https://api.github.com/users/fmntf/received_events","type":"User","site_admin":false},"created_at":"2015-07-06T10:42:58Z","updated_at":"2015-07-06T10:42:58Z","body":"I have no access to app-inventor-dev forum, by the way I investigated a little bit.\r\nThe icon is missing since the `<img>` tag has `style=\"width:0px;...`. The width is computed in `$buildTree` via `$getWidth(this$static.iconImage)`. Calling `$getWidth` twice leads to a the width  computed correctly.\r\n\r\n`$getWidth` just returns `iconImage.element.width`. Probably the issue is related to a not ready yet DOM element, according to the fact this issue does not happens in Firefox."}}