{"action":"created","issue":{"url":"https://api.github.com/repos/tomaka/winit/issues/105","repository_url":"https://api.github.com/repos/tomaka/winit","labels_url":"https://api.github.com/repos/tomaka/winit/issues/105/labels{/name}","comments_url":"https://api.github.com/repos/tomaka/winit/issues/105/comments","events_url":"https://api.github.com/repos/tomaka/winit/issues/105/events","html_url":"https://github.com/tomaka/winit/issues/105","id":197468654,"number":105,"title":"Handle hidpi scaling.","user":{"login":"nical","id":264854,"avatar_url":"https://avatars2.githubusercontent.com/u/264854?v=4","gravatar_id":"","url":"https://api.github.com/users/nical","html_url":"https://github.com/nical","followers_url":"https://api.github.com/users/nical/followers","following_url":"https://api.github.com/users/nical/following{/other_user}","gists_url":"https://api.github.com/users/nical/gists{/gist_id}","starred_url":"https://api.github.com/users/nical/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nical/subscriptions","organizations_url":"https://api.github.com/users/nical/orgs","repos_url":"https://api.github.com/users/nical/repos","events_url":"https://api.github.com/users/nical/events{/privacy}","received_events_url":"https://api.github.com/users/nical/received_events","type":"User","site_admin":false},"labels":[{"id":924443703,"url":"https://api.github.com/repos/tomaka/winit/labels/difficulty:%20hard","name":"difficulty: hard","color":"FFB8C1","default":false},{"id":924444469,"url":"https://api.github.com/repos/tomaka/winit/labels/priority:%20high","name":"priority: high","color":"EFD0FE","default":false},{"id":924440496,"url":"https://api.github.com/repos/tomaka/winit/labels/status:%20in%20progress","name":"status: in progress","color":"C7FEC1","default":false},{"id":924440408,"url":"https://api.github.com/repos/tomaka/winit/labels/status:%20needs%20discussion","name":"status: needs discussion","color":"C7FEC1","default":false},{"id":474350557,"url":"https://api.github.com/repos/tomaka/winit/labels/type:%20api","name":"type: api","color":"C4F2FF","default":false},{"id":330617022,"url":"https://api.github.com/repos/tomaka/winit/labels/type:%20enhancement","name":"type: enhancement","color":"C4F2FF","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/tomaka/winit/milestones/1","html_url":"https://github.com/tomaka/winit/milestone/1","labels_url":"https://api.github.com/repos/tomaka/winit/milestones/1/labels","id":3323652,"number":1,"title":"HiDPI Support","description":"","creator":{"login":"francesca64","id":2096580,"avatar_url":"https://avatars0.githubusercontent.com/u/2096580?v=4","gravatar_id":"","url":"https://api.github.com/users/francesca64","html_url":"https://github.com/francesca64","followers_url":"https://api.github.com/users/francesca64/followers","following_url":"https://api.github.com/users/francesca64/following{/other_user}","gists_url":"https://api.github.com/users/francesca64/gists{/gist_id}","starred_url":"https://api.github.com/users/francesca64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/francesca64/subscriptions","organizations_url":"https://api.github.com/users/francesca64/orgs","repos_url":"https://api.github.com/users/francesca64/repos","events_url":"https://api.github.com/users/francesca64/events{/privacy}","received_events_url":"https://api.github.com/users/francesca64/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":0,"state":"open","created_at":"2018-05-06T18:15:38Z","updated_at":"2018-05-08T01:54:12Z","due_on":null,"closed_at":null},"comments":60,"created_at":"2016-12-24T16:10:07Z","updated_at":"2018-05-12T13:39:38Z","closed_at":null,"author_association":"NONE","body":"The wording here is intentionally vague because I don't know very well what the possibilities are and what makes sens for winit. It is safe to say that it would be good for winit to expose some way to indicate whether the application is \"dpi-aware\" and avoid having the window upscaled by the window manager for apps that don't want this behavior.\r\n\r\nOn Fedora 25 with wayland (now enabled by default), winit windows are all upscaled on hidpi screens.\r\n\r\ncc @vberger"},"comment":{"url":"https://api.github.com/repos/tomaka/winit/issues/comments/388555932","html_url":"https://github.com/tomaka/winit/issues/105#issuecomment-388555932","issue_url":"https://api.github.com/repos/tomaka/winit/issues/105","id":388555932,"user":{"login":"francesca64","id":2096580,"avatar_url":"https://avatars0.githubusercontent.com/u/2096580?v=4","gravatar_id":"","url":"https://api.github.com/users/francesca64","html_url":"https://github.com/francesca64","followers_url":"https://api.github.com/users/francesca64/followers","following_url":"https://api.github.com/users/francesca64/following{/other_user}","gists_url":"https://api.github.com/users/francesca64/gists{/gist_id}","starred_url":"https://api.github.com/users/francesca64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/francesca64/subscriptions","organizations_url":"https://api.github.com/users/francesca64/orgs","repos_url":"https://api.github.com/users/francesca64/repos","events_url":"https://api.github.com/users/francesca64/events{/privacy}","received_events_url":"https://api.github.com/users/francesca64/received_events","type":"User","site_admin":false},"created_at":"2018-05-12T13:39:38Z","updated_at":"2018-05-12T13:39:38Z","author_association":"COLLABORATOR","body":"@vberger I think I understand now. Up until this point, my thought process was \"but isn't specifying logical pixels for 1.0 the same as specifying physical pixels?\" but what you want is for the window creation size to semantically be the logical base size of the window.\r\n\r\nOh, right, and since you mentioned sending `Resized` before, the idea is for the backend to automatically resize the window after creation if the DPI isn't 1.0, right? This makes a lot of sense now. I was just sending `Resized` without actually resizing the window, which seems to be a symptom of working on winit without taking enough breaks."}}
{"actor":{"display_login":"francesca64"}}