{"action":"created","issue":{"url":"https://api.github.com/repos/nwjs/nw.js/issues/5120","repository_url":"https://api.github.com/repos/nwjs/nw.js","labels_url":"https://api.github.com/repos/nwjs/nw.js/issues/5120/labels{/name}","comments_url":"https://api.github.com/repos/nwjs/nw.js/issues/5120/comments","events_url":"https://api.github.com/repos/nwjs/nw.js/issues/5120/events","html_url":"https://github.com/nwjs/nw.js/issues/5120","id":166251408,"number":5120,"title":"Developer Tools wasn't opend when I press F12","user":{"login":"vatex","id":12797806,"avatar_url":"https://avatars2.githubusercontent.com/u/12797806?v=4","gravatar_id":"","url":"https://api.github.com/users/vatex","html_url":"https://github.com/vatex","followers_url":"https://api.github.com/users/vatex/followers","following_url":"https://api.github.com/users/vatex/following{/other_user}","gists_url":"https://api.github.com/users/vatex/gists{/gist_id}","starred_url":"https://api.github.com/users/vatex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vatex/subscriptions","organizations_url":"https://api.github.com/users/vatex/orgs","repos_url":"https://api.github.com/users/vatex/repos","events_url":"https://api.github.com/users/vatex/events{/privacy}","received_events_url":"https://api.github.com/users/vatex/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-19T05:30:46Z","updated_at":"2017-07-18T22:18:14Z","closed_at":"2016-07-19T05:49:29Z","body":"I have Ubuntu Desktop 14.04.4 LTS and nw.js this: http://dl.nwjs.io/v0.16.0-rc1/nwjs-v0.16.0-rc1-linux-x64.tar.gz\n\nI tried to press F12 button but it doesn't work, then I tried with code snippet:\n\n```\nvar win = nw.Window.get();\nwin.showDevTools('', function (item) {\n     console.log(item);\n});\n```\n\nand this: \n\n```\nrequire('nw.gui').Window.get().showDevTools();\n```\n\nwith code snippet it opens new window but its blank (white screen) :/ then I tried to appear toolbar, in package.json I insert this code:\n\n```\n\"window\": {\n      \"toolbar\": true\n  }\n```\n\nbut it doesn't work.\n\nI uploaded my project, into the folder you can run `npm start` and it will deploy...\nhttps://mega.nz/#!1BA2HLSC\n\nI seen terminal and there is some errors (maybe):\n\n```\n/usr/share/themes/MBuntu-Y-For-Unity/gtk-2.0/widgets/panel.rc:18: Unable to locate image file in pixmap_path: \"images/panel/panel-normal.svg\"\n/usr/share/themes/MBuntu-Y-For-Unity/gtk-2.0/widgets/panel.rc:21: Background image options specified without filename\n/usr/share/themes/MBuntu-Y-For-Unity/gtk-2.0/widgets/panel.rc:27: Unable to locate image file in pixmap_path: \"images/panel/panel-active.svg\"\n/usr/share/themes/MBuntu-Y-For-Unity/gtk-2.0/widgets/panel.rc:30: Background image options specified without filename\n/usr/share/themes/MBuntu-Y-For-Unity/gtk-2.0/widgets/panel.rc:61: error: invalid string constant \"button\", expected valid string constant\n[883:883:0719/093014:ERROR:CONSOLE(1)] \"Uncaught ReferenceError: DevToolsAPI is not defined\", source:  (1)\n[883:883:0719/093014:ERROR:CONSOLE(1)] \"Uncaught ReferenceError: DevToolsAPI is not defined\", source:  (1)\n```\n"},"comment":{"url":"https://api.github.com/repos/nwjs/nw.js/issues/comments/316214735","html_url":"https://github.com/nwjs/nw.js/issues/5120#issuecomment-316214735","issue_url":"https://api.github.com/repos/nwjs/nw.js/issues/5120","id":316214735,"user":{"login":"TylerRick","id":14151,"avatar_url":"https://avatars0.githubusercontent.com/u/14151?v=4","gravatar_id":"","url":"https://api.github.com/users/TylerRick","html_url":"https://github.com/TylerRick","followers_url":"https://api.github.com/users/TylerRick/followers","following_url":"https://api.github.com/users/TylerRick/following{/other_user}","gists_url":"https://api.github.com/users/TylerRick/gists{/gist_id}","starred_url":"https://api.github.com/users/TylerRick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TylerRick/subscriptions","organizations_url":"https://api.github.com/users/TylerRick/orgs","repos_url":"https://api.github.com/users/TylerRick/repos","events_url":"https://api.github.com/users/TylerRick/events{/privacy}","received_events_url":"https://api.github.com/users/TylerRick/received_events","type":"User","site_admin":false},"created_at":"2017-07-18T22:18:13Z","updated_at":"2017-07-18T22:18:13Z","body":"@vatex There's are different downloads for SDK and \"Normal\" on https://nwjs.io/.\r\n\r\nDid you ever get this working? I'm having the same issue (a year later)... :disappointed: \r\n\r\nI get this same error when trying to `win.showDevTools()` programmatically:\r\n```\r\n[7797:7797:0718/150644.051485:ERROR:CONSOLE(1)] \"Uncaught ReferenceError: DevToolsAPI is not defined\", source:  (1)\r\n```\r\nand pressing F12 in the window doesn't have any effect.\r\n\r\nI downloaded v0.23.6 SDK version and `nw --version` shows:\r\n```\r\n[0718/151607.420419:WARNING:chrome_main_delegate.cc(569)] final extension: \r\nnwjs 59.0.3071.115 \r\n```\r\n\r\n"}}
{"actor":{"display_login":"TylerRick"}}