{"action":"created","issue":{"url":"https://api.github.com/repos/koekeishiya/chunkwm/issues/333","repository_url":"https://api.github.com/repos/koekeishiya/chunkwm","labels_url":"https://api.github.com/repos/koekeishiya/chunkwm/issues/333/labels{/name}","comments_url":"https://api.github.com/repos/koekeishiya/chunkwm/issues/333/comments","events_url":"https://api.github.com/repos/koekeishiya/chunkwm/issues/333/events","html_url":"https://github.com/koekeishiya/chunkwm/issues/333","id":294730911,"number":333,"title":"Doesn't seem to scale windows properly with multiple monitors","user":{"login":"x-ji","id":2999209,"avatar_url":"https://avatars0.githubusercontent.com/u/2999209?v=4","gravatar_id":"","url":"https://api.github.com/users/x-ji","html_url":"https://github.com/x-ji","followers_url":"https://api.github.com/users/x-ji/followers","following_url":"https://api.github.com/users/x-ji/following{/other_user}","gists_url":"https://api.github.com/users/x-ji/gists{/gist_id}","starred_url":"https://api.github.com/users/x-ji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/x-ji/subscriptions","organizations_url":"https://api.github.com/users/x-ji/orgs","repos_url":"https://api.github.com/users/x-ji/repos","events_url":"https://api.github.com/users/x-ji/events{/privacy}","received_events_url":"https://api.github.com/users/x-ji/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-06T11:49:08Z","updated_at":"2018-02-06T12:05:36Z","closed_at":null,"author_association":"NONE","body":"`chunkwm` seems to work if I only have the internal laptop screen, but apparently it's not scaling the windows correctly if I connect external monitors with different resolutions. For example, it seems to think that the whole screen space (the space arranged after pressing `alt + f`) is just this space occupied by these two terminal windows, instead of the whole actual laptop screen space. This makes the windows extremely small and unusable.\r\n\r\n<img width=\"682\" alt=\"screenshot 2018-02-06 12 39 28\" src=\"https://user-images.githubusercontent.com/2999209/35858154-be2753a0-0b3b-11e8-97da-e869be8d4805.png\">\r\n\r\nOn the external monitor, the application does seem to be scaled normally.\r\n\r\n![screenshot 2018-02-06 12 40 03](https://user-images.githubusercontent.com/2999209/35858190-db90aa68-0b3b-11e8-8b5a-96ca57eabb5b.png)\r\n\r\nThe following is my monitor configuration under this scenario:\r\n\r\n<img width=\"765\" alt=\"screenshot 2018-02-06 12 46 51\" src=\"https://user-images.githubusercontent.com/2999209/35858252-120cfc7c-0b3c-11e8-9c40-adf159954c23.png\">\r\n\r\nThe laptop screen is standard 13' MBP Retina (looks like 1280 x 800), while the monitor screen is 1920 x 1080.\r\n\r\nI installed `chunkwm` just now, with the `--HEAD` option. I'm surprised that I don't seem to be able to find the same issue already reported here."},"comment":{"url":"https://api.github.com/repos/koekeishiya/chunkwm/issues/comments/363402770","html_url":"https://github.com/koekeishiya/chunkwm/issues/333#issuecomment-363402770","issue_url":"https://api.github.com/repos/koekeishiya/chunkwm/issues/333","id":363402770,"user":{"login":"dominiklohmann","id":4488655,"avatar_url":"https://avatars3.githubusercontent.com/u/4488655?v=4","gravatar_id":"","url":"https://api.github.com/users/dominiklohmann","html_url":"https://github.com/dominiklohmann","followers_url":"https://api.github.com/users/dominiklohmann/followers","following_url":"https://api.github.com/users/dominiklohmann/following{/other_user}","gists_url":"https://api.github.com/users/dominiklohmann/gists{/gist_id}","starred_url":"https://api.github.com/users/dominiklohmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominiklohmann/subscriptions","organizations_url":"https://api.github.com/users/dominiklohmann/orgs","repos_url":"https://api.github.com/users/dominiklohmann/repos","events_url":"https://api.github.com/users/dominiklohmann/events{/privacy}","received_events_url":"https://api.github.com/users/dominiklohmann/received_events","type":"User","site_admin":false},"created_at":"2018-02-06T12:05:35Z","updated_at":"2018-02-06T12:05:35Z","author_association":"CONTRIBUTOR","body":"You can set the padding per monitor, it's probably somewhere in your `$HOME/.chunkwmrc` file.\r\n\r\nFor example, this sets a padding of 8 pt for every side:\r\n```\r\nchunkc set global_desktop_offset_top 8\r\nchunkc set global_desktop_offset_bottom 8\r\nchunkc set global_desktop_offset_left 8\r\nchunkc set global_desktop_offset_right 8\r\n```\r\n\r\nHowever, this can be overridden per space/desktop like this, setting the padding for the space/desktop labeled \"Desktop 1\" to 20:\r\n```\r\nchunkc set 1_desktop_offset_top 20\r\nchunkc set 1_desktop_offset_bottom 20\r\nchunkc set 1_desktop_offset_left 20\r\nchunkc set 1_desktop_offset_right 20\r\n```\r\n\r\nNote that these settings are space/desktop dependent and not depending on your monitor."}}
{"actor":{"display_login":"dominiklohmann"}}