{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/12111","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/12111/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/12111/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/12111/events","html_url":"https://github.com/Microsoft/vscode/issues/12111","id":177323841,"number":12111,"title":"gutterIconPath is not loading correctly in Insider release","user":{"login":"alefragnani","id":3781424,"avatar_url":"https://avatars.githubusercontent.com/u/3781424?v=3","gravatar_id":"","url":"https://api.github.com/users/alefragnani","html_url":"https://github.com/alefragnani","followers_url":"https://api.github.com/users/alefragnani/followers","following_url":"https://api.github.com/users/alefragnani/following{/other_user}","gists_url":"https://api.github.com/users/alefragnani/gists{/gist_id}","starred_url":"https://api.github.com/users/alefragnani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alefragnani/subscriptions","organizations_url":"https://api.github.com/users/alefragnani/orgs","repos_url":"https://api.github.com/users/alefragnani/repos","events_url":"https://api.github.com/users/alefragnani/events{/privacy}","received_events_url":"https://api.github.com/users/alefragnani/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/vscode/labels/bug","name":"bug","color":"E57E7E"},{"url":"https://api.github.com/repos/Microsoft/vscode/labels/electron-update","name":"electron-update","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"jrieken","id":1794099,"avatar_url":"https://avatars.githubusercontent.com/u/1794099?v=3","gravatar_id":"","url":"https://api.github.com/users/jrieken","html_url":"https://github.com/jrieken","followers_url":"https://api.github.com/users/jrieken/followers","following_url":"https://api.github.com/users/jrieken/following{/other_user}","gists_url":"https://api.github.com/users/jrieken/gists{/gist_id}","starred_url":"https://api.github.com/users/jrieken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrieken/subscriptions","organizations_url":"https://api.github.com/users/jrieken/orgs","repos_url":"https://api.github.com/users/jrieken/repos","events_url":"https://api.github.com/users/jrieken/events{/privacy}","received_events_url":"https://api.github.com/users/jrieken/received_events","type":"User","site_admin":false},"assignees":[{"login":"jrieken","id":1794099,"avatar_url":"https://avatars.githubusercontent.com/u/1794099?v=3","gravatar_id":"","url":"https://api.github.com/users/jrieken","html_url":"https://github.com/jrieken","followers_url":"https://api.github.com/users/jrieken/followers","following_url":"https://api.github.com/users/jrieken/following{/other_user}","gists_url":"https://api.github.com/users/jrieken/gists{/gist_id}","starred_url":"https://api.github.com/users/jrieken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrieken/subscriptions","organizations_url":"https://api.github.com/users/jrieken/orgs","repos_url":"https://api.github.com/users/jrieken/repos","events_url":"https://api.github.com/users/jrieken/events{/privacy}","received_events_url":"https://api.github.com/users/jrieken/received_events","type":"User","site_admin":false},{"login":"alexandrudima","id":5047891,"avatar_url":"https://avatars.githubusercontent.com/u/5047891?v=3","gravatar_id":"","url":"https://api.github.com/users/alexandrudima","html_url":"https://github.com/alexandrudima","followers_url":"https://api.github.com/users/alexandrudima/followers","following_url":"https://api.github.com/users/alexandrudima/following{/other_user}","gists_url":"https://api.github.com/users/alexandrudima/gists{/gist_id}","starred_url":"https://api.github.com/users/alexandrudima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexandrudima/subscriptions","organizations_url":"https://api.github.com/users/alexandrudima/orgs","repos_url":"https://api.github.com/users/alexandrudima/repos","events_url":"https://api.github.com/users/alexandrudima/events{/privacy}","received_events_url":"https://api.github.com/users/alexandrudima/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Microsoft/vscode/milestones/26","html_url":"https://github.com/Microsoft/vscode/milestones/September%202016","labels_url":"https://api.github.com/repos/Microsoft/vscode/milestones/26/labels","id":1944122,"number":26,"title":"September 2016","description":"","creator":{"login":"joaomoreno","id":22350,"avatar_url":"https://avatars.githubusercontent.com/u/22350?v=3","gravatar_id":"","url":"https://api.github.com/users/joaomoreno","html_url":"https://github.com/joaomoreno","followers_url":"https://api.github.com/users/joaomoreno/followers","following_url":"https://api.github.com/users/joaomoreno/following{/other_user}","gists_url":"https://api.github.com/users/joaomoreno/gists{/gist_id}","starred_url":"https://api.github.com/users/joaomoreno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joaomoreno/subscriptions","organizations_url":"https://api.github.com/users/joaomoreno/orgs","repos_url":"https://api.github.com/users/joaomoreno/repos","events_url":"https://api.github.com/users/joaomoreno/events{/privacy}","received_events_url":"https://api.github.com/users/joaomoreno/received_events","type":"User","site_admin":false},"open_issues":145,"closed_issues":194,"state":"open","created_at":"2016-08-16T05:20:24Z","updated_at":"2016-09-20T19:14:34Z","due_on":"2016-09-30T00:00:00Z","closed_at":null},"comments":11,"created_at":"2016-09-16T00:47:04Z","updated_at":"2016-09-20T22:28:30Z","closed_at":null,"body":"- VSCode Version: 1.6.0 Insider\r\n- OS Version: Windows 10\r\n\r\nSteps to Reproduce:\r\n\r\n1. Define a `pathIcon` variable using `context.asAbsolutePath('images\\\\bookmark.png')` \r\n```typescript\r\nlet pathIcon: string = context.asAbsolutePath('images\\\\bookmark.png');\r\n```\r\n2. Create a decorator and use the `pathIcon` variable as `gutterIconPath`.\r\n```typescript\r\nlet bookmarkDecorationType = vscode.window.createTextEditorDecorationType({\r\n        gutterIconPath: pathIcon,\r\n        overviewRulerLane: vscode.OverviewRulerLane.Full,\r\n        overviewRulerColor: 'rgba(21, 126, 251, 0.7)'\r\n    });\r\n```\r\n3. The image will not be loaded, and it will output an error in `Developer Tools` console\r\n```\r\nGET file:///C:/%5CUsers%5Calefr%5C.vscode-insiders%5Cextensions%5Calefragnani.Bookmarks-0.9.1%5Cimages%5Cbookmark.png net::ERR_FILE_NOT_FOUND\r\n```\r\n\r\nUnfortunattely, I'm also not able to debug in Insider release ([this issue](https://github.com/Microsoft/vscode/issues/12078)). Maybe something in `gutterIconPath` or `Uri` has changed and now the file is not being located?\r\n\r\nThanks in advance"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/248454312","html_url":"https://github.com/Microsoft/vscode/issues/12111#issuecomment-248454312","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/12111","id":248454312,"user":{"login":"alefragnani","id":3781424,"avatar_url":"https://avatars.githubusercontent.com/u/3781424?v=3","gravatar_id":"","url":"https://api.github.com/users/alefragnani","html_url":"https://github.com/alefragnani","followers_url":"https://api.github.com/users/alefragnani/followers","following_url":"https://api.github.com/users/alefragnani/following{/other_user}","gists_url":"https://api.github.com/users/alefragnani/gists{/gist_id}","starred_url":"https://api.github.com/users/alefragnani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alefragnani/subscriptions","organizations_url":"https://api.github.com/users/alefragnani/orgs","repos_url":"https://api.github.com/users/alefragnani/repos","events_url":"https://api.github.com/users/alefragnani/events{/privacy}","received_events_url":"https://api.github.com/users/alefragnani/received_events","type":"User","site_admin":false},"created_at":"2016-09-20T22:28:30Z","updated_at":"2016-09-20T22:28:30Z","body":"I'm curious, but the path itself, mixing `/` and `\\` is ok? I mean, as you can see, the path displayed in the _error message_ is `file:///C:/\\Users\\alefr...`. Or is the _combination_ `/\\` itself?\r\n\r\nAnd if I use any other _case_ in the filename, like `bookmark.PNG`, it does not present any problem (at least in Windows).\r\n\r\n```\r\nGET file:///C:/%5CUsers%5Calefr%5C.vscode-insiders%5Cextensions%5Calefragnani.Bookmarks-0.9.2%5Cimages%5Cbookmark.png net::ERR_FILE_NOT_FOUND\r\n```\r\n\r\nThanks in advance"}}
{"actor":{"display_login":"alefragnani"}}