{"action":"created","issue":{"url":"https://api.github.com/repos/chrmarti/testissues/issues/14770","repository_url":"https://api.github.com/repos/chrmarti/testissues","labels_url":"https://api.github.com/repos/chrmarti/testissues/issues/14770/labels{/name}","comments_url":"https://api.github.com/repos/chrmarti/testissues/issues/14770/comments","events_url":"https://api.github.com/repos/chrmarti/testissues/issues/14770/events","html_url":"https://github.com/chrmarti/testissues/issues/14770","id":300656363,"number":14770,"title":"One webview, two displays, both broken","user":{"login":"vscodebot[bot]","id":28792856,"avatar_url":"https://avatars2.githubusercontent.com/in/2406?v=4","gravatar_id":"","url":"https://api.github.com/users/vscodebot%5Bbot%5D","html_url":"https://github.com/apps/vscodebot","followers_url":"https://api.github.com/users/vscodebot%5Bbot%5D/followers","following_url":"https://api.github.com/users/vscodebot%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/vscodebot%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/vscodebot%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vscodebot%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/vscodebot%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/vscodebot%5Bbot%5D/repos","events_url":"https://api.github.com/users/vscodebot%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/vscodebot%5Bbot%5D/received_events","type":"Bot","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-27T14:40:11Z","updated_at":"2018-02-27T14:40:16Z","closed_at":null,"author_association":"NONE","body":"re !44466\r\n\r\n* have the snippet below\r\n* invoke the command, you'll have two webviews in column 1 and 2, both are kind of broken\r\n\r\n```\r\n    const webview = vscode.window.createWebview(vscode.Uri.parse('foo:bar/bazz'), vscode.ViewColumn.One, {});\r\n    \r\n    // The command has been defined in the package.json file\r\n    // Now provide the implementation of the command with  registerCommand\r\n    // The commandId parameter must match the command field in package.json\r\n    let disposable = vscode.commands.registerCommand('extension.sayHello', () => {\r\n        // The code you place here will be executed every time your command is executed\r\n        \r\n        webview.title = 'webview';    \r\n        webview.html = '<h1 id=\"fff\">Test</h1><script>document.getElementById(\"fff\").innerHTML += Math.random();</script>';\r\n        webview.show(vscode.ViewColumn.Three);\r\n        // Display a message box to the user\r\n        // vscode.window.showInformationMessage('Hello World!');\r\n    });\r\n```"},"comment":{"url":"https://api.github.com/repos/chrmarti/testissues/issues/comments/368899418","html_url":"https://github.com/chrmarti/testissues/issues/14770#issuecomment-368899418","issue_url":"https://api.github.com/repos/chrmarti/testissues/issues/14770","id":368899418,"user":{"login":"vscodetestbot[bot]","id":29067401,"avatar_url":"https://avatars2.githubusercontent.com/in/2665?v=4","gravatar_id":"","url":"https://api.github.com/users/vscodetestbot%5Bbot%5D","html_url":"https://github.com/apps/vscodetestbot","followers_url":"https://api.github.com/users/vscodetestbot%5Bbot%5D/followers","following_url":"https://api.github.com/users/vscodetestbot%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/vscodetestbot%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/vscodetestbot%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vscodetestbot%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/vscodetestbot%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/vscodetestbot%5Bbot%5D/repos","events_url":"https://api.github.com/users/vscodetestbot%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/vscodetestbot%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-02-27T14:40:16Z","updated_at":"2018-02-27T14:40:16Z","author_association":"NONE","body":"Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:\n- [Title not truncated (#14767)](https://www.github.com/chrmarti/testissues/issues/14767) <!-- score: 0.758 -->\n<!-- potential_duplicates_comment -->"}}
{"actor":{"display_login":"vscodetestbot"}}