{"action":"created","issue":{"url":"https://api.github.com/repos/electron/electron/issues/6899","repository_url":"https://api.github.com/repos/electron/electron","labels_url":"https://api.github.com/repos/electron/electron/issues/6899/labels{/name}","comments_url":"https://api.github.com/repos/electron/electron/issues/6899/comments","events_url":"https://api.github.com/repos/electron/electron/issues/6899/events","html_url":"https://github.com/electron/electron/issues/6899","id":172049911,"number":6899,"title":"[feature request] name property of Display object","user":{"login":"zh99998","id":359622,"avatar_url":"https://avatars1.githubusercontent.com/u/359622?v=4","gravatar_id":"","url":"https://api.github.com/users/zh99998","html_url":"https://github.com/zh99998","followers_url":"https://api.github.com/users/zh99998/followers","following_url":"https://api.github.com/users/zh99998/following{/other_user}","gists_url":"https://api.github.com/users/zh99998/gists{/gist_id}","starred_url":"https://api.github.com/users/zh99998/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zh99998/subscriptions","organizations_url":"https://api.github.com/users/zh99998/orgs","repos_url":"https://api.github.com/users/zh99998/repos","events_url":"https://api.github.com/users/zh99998/events{/privacy}","received_events_url":"https://api.github.com/users/zh99998/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-19T03:59:08Z","updated_at":"2018-02-15T12:56:04Z","closed_at":"2016-08-22T01:23:52Z","author_association":"NONE","body":"- Electron version: latest\n- Operating system: windows\n\nhttp://electron.atom.io/docs/api/screen/\n\n> - display object\n>   - id Integer - Unique identifier associated with the display.\n>   - rotation Integer - Can be 0, 90, 180, 270, represents screen rotation in clock-wise degrees.\n>   - scaleFactor Number - Output device’s pixel scale factor.\n>   - touchSupport String - Can be available, unavailable, unknown.\n>   - bounds Object\n>   - size Object\n>   - workArea Object\n>   - workAreaSize Object\n\nthen there is no way to get display name now.\nin C# `Screen` class there is a `DeviceName` property\n\nhttps://msdn.microsoft.com/en-us/library/system.windows.forms.screen.devicename(v=vs.110).aspx\n"},"comment":{"url":"https://api.github.com/repos/electron/electron/issues/comments/365919328","html_url":"https://github.com/electron/electron/issues/6899#issuecomment-365919328","issue_url":"https://api.github.com/repos/electron/electron/issues/6899","id":365919328,"user":{"login":"funwithtriangles","id":1876324,"avatar_url":"https://avatars3.githubusercontent.com/u/1876324?v=4","gravatar_id":"","url":"https://api.github.com/users/funwithtriangles","html_url":"https://github.com/funwithtriangles","followers_url":"https://api.github.com/users/funwithtriangles/followers","following_url":"https://api.github.com/users/funwithtriangles/following{/other_user}","gists_url":"https://api.github.com/users/funwithtriangles/gists{/gist_id}","starred_url":"https://api.github.com/users/funwithtriangles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/funwithtriangles/subscriptions","organizations_url":"https://api.github.com/users/funwithtriangles/orgs","repos_url":"https://api.github.com/users/funwithtriangles/repos","events_url":"https://api.github.com/users/funwithtriangles/events{/privacy}","received_events_url":"https://api.github.com/users/funwithtriangles/received_events","type":"User","site_admin":false},"created_at":"2018-02-15T12:56:04Z","updated_at":"2018-02-15T12:56:04Z","author_association":"NONE","body":"So is it not the case that `DeviceName` would give use the option to displays meaningful names such as \"DELL Ultrasharp\" or \"Built in display\"? What would it take to have access to strings like this?\r\n\r\nRight now the only identifier I have for displays is their resolution, which sometimes can be the same!"}}
{"actor":{"display_login":"funwithtriangles"}}