{"action":"created","issue":{"url":"https://api.github.com/repos/typora/typora-issues/issues/2051","repository_url":"https://api.github.com/repos/typora/typora-issues","labels_url":"https://api.github.com/repos/typora/typora-issues/issues/2051/labels{/name}","comments_url":"https://api.github.com/repos/typora/typora-issues/issues/2051/comments","events_url":"https://api.github.com/repos/typora/typora-issues/issues/2051/events","html_url":"https://github.com/typora/typora-issues/issues/2051","id":394979312,"node_id":"MDU6SXNzdWUzOTQ5NzkzMTI=","number":2051,"title":"GPU rendering not being disabled","user":{"login":"bertiebaggio","id":7524620,"node_id":"MDQ6VXNlcjc1MjQ2MjA=","avatar_url":"https://avatars1.githubusercontent.com/u/7524620?v=4","gravatar_id":"","url":"https://api.github.com/users/bertiebaggio","html_url":"https://github.com/bertiebaggio","followers_url":"https://api.github.com/users/bertiebaggio/followers","following_url":"https://api.github.com/users/bertiebaggio/following{/other_user}","gists_url":"https://api.github.com/users/bertiebaggio/gists{/gist_id}","starred_url":"https://api.github.com/users/bertiebaggio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bertiebaggio/subscriptions","organizations_url":"https://api.github.com/users/bertiebaggio/orgs","repos_url":"https://api.github.com/users/bertiebaggio/repos","events_url":"https://api.github.com/users/bertiebaggio/events{/privacy}","received_events_url":"https://api.github.com/users/bertiebaggio/received_events","type":"User","site_admin":false},"labels":[{"id":245749928,"node_id":"MDU6TGFiZWwyNDU3NDk5Mjg=","url":"https://api.github.com/repos/typora/typora-issues/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-31T13:17:27Z","updated_at":"2018-12-31T18:41:20Z","closed_at":null,"author_association":"NONE","body":"I am running Typora 0.9.60. \r\n\r\nOne of the things I use it for is with OBS (recording/streaming software) to create a text-based \"objectives list\", which was working great!\r\n\r\n However, since upgrading to Windows 10, I can no longer capture the Typora window, as it shows up black. Searching about this turns up [lots of results, mostly relating to Chrome](https://www.google.com/search?q=obs+black+window). The fix for Chrome is to **disable hardware rendering**. I tried this with Chrome, and indeed disabling hardware rendering permitted me to capture Chrome, whereas it showed a black window  in OBS before disabling hardware rendering.\r\n\r\nMaking the same change in Typora doesn't seem to have the same effect. I went to the advanced options in Typora, opened `conf.user.json` and made the following change:\r\n\r\n     \"flags\": [[\"disable-gpu\"]]\r\n\r\nHowever, OBS still shows a black window for capturing Typora. I also tried single square brackets as it was the only list item. It seems to have no effect either way, and the `typora.log` entries remain the same:\r\n\r\n```\r\nDEBUG 31/12/2018, 13:05:43  initSentry\r\nINFO 31/12/2018, 13:05:44  --disable-gpu\r\nDEBUG 31/12/2018, 13:05:44  initCountly\r\nINFO 31/12/2018, 13:05:44  ------------------start------------------\r\nINFO 31/12/2018, 13:05:44  typora version: 0.9.60\r\nDEBUG 31/12/2018, 13:05:44  [ 'D:\\\\apps\\\\typora\\\\Typora.exe' ]\r\nDEBUG 31/12/2018, 13:05:44  D:\\apps\\typora\\resources\\app\\locales\\Base.lproj\\Menu.json\r\nERROR 31/12/2018, 13:05:44  (node:8052) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.\r\nDEBUG 31/12/2018, 13:05:44  [ 'github.css',\r\n  'newsprint.css',\r\n  'night.css',\r\n  'overlay.css',\r\n  'pixyll.css',\r\n  'whitey.css' ]\r\nDEBUG 31/12/2018, 13:05:44  app.openFile\r\nDEBUG 31/12/2018, 13:05:49  app.openFile\r\nINFO 31/12/2018, 13:05:49  addRecentDocument\r\n```\r\n\r\nNB `overlay.css` is the theme I created to work as an overlay\r\n\r\nI am posting this here rather than in the OBS forums as I *think* it's GPU rendering related. Is there a way to whether GPU rendering is enabled/disabled?\r\n\r\nThanks in advance!"},"comment":{"url":"https://api.github.com/repos/typora/typora-issues/issues/comments/450678959","html_url":"https://github.com/typora/typora-issues/issues/2051#issuecomment-450678959","issue_url":"https://api.github.com/repos/typora/typora-issues/issues/2051","id":450678959,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDY3ODk1OQ==","user":{"login":"bertiebaggio","id":7524620,"node_id":"MDQ6VXNlcjc1MjQ2MjA=","avatar_url":"https://avatars1.githubusercontent.com/u/7524620?v=4","gravatar_id":"","url":"https://api.github.com/users/bertiebaggio","html_url":"https://github.com/bertiebaggio","followers_url":"https://api.github.com/users/bertiebaggio/followers","following_url":"https://api.github.com/users/bertiebaggio/following{/other_user}","gists_url":"https://api.github.com/users/bertiebaggio/gists{/gist_id}","starred_url":"https://api.github.com/users/bertiebaggio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bertiebaggio/subscriptions","organizations_url":"https://api.github.com/users/bertiebaggio/orgs","repos_url":"https://api.github.com/users/bertiebaggio/repos","events_url":"https://api.github.com/users/bertiebaggio/events{/privacy}","received_events_url":"https://api.github.com/users/bertiebaggio/received_events","type":"User","site_admin":false},"created_at":"2018-12-31T18:41:20Z","updated_at":"2018-12-31T18:41:20Z","author_association":"NONE","body":"Thanks for confirming, I'll keep my eye out for the next release 👍 "}}
{"actor":{"display_login":"bertiebaggio"}}