{"action":"opened","issue":{"url":"https://api.github.com/repos/mpv-player/mpv/issues/4357","repository_url":"https://api.github.com/repos/mpv-player/mpv","labels_url":"https://api.github.com/repos/mpv-player/mpv/issues/4357/labels{/name}","comments_url":"https://api.github.com/repos/mpv-player/mpv/issues/4357/comments","events_url":"https://api.github.com/repos/mpv-player/mpv/issues/4357/events","html_url":"https://github.com/mpv-player/mpv/issues/4357","id":223653592,"number":4357,"title":"macOS HiDPI scaling regression since 7bddd3f (v0.25.0): --geometry wrongly scaled","user":{"login":"zmwangx","id":4149852,"avatar_url":"https://avatars3.githubusercontent.com/u/4149852?v=3","gravatar_id":"","url":"https://api.github.com/users/zmwangx","html_url":"https://github.com/zmwangx","followers_url":"https://api.github.com/users/zmwangx/followers","following_url":"https://api.github.com/users/zmwangx/following{/other_user}","gists_url":"https://api.github.com/users/zmwangx/gists{/gist_id}","starred_url":"https://api.github.com/users/zmwangx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zmwangx/subscriptions","organizations_url":"https://api.github.com/users/zmwangx/orgs","repos_url":"https://api.github.com/users/zmwangx/repos","events_url":"https://api.github.com/users/zmwangx/events{/privacy}","received_events_url":"https://api.github.com/users/zmwangx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-23T17:55:21Z","updated_at":"2017-04-23T17:55:21Z","closed_at":null,"body":"This is a regression due to 7bddd3fb4cdb111b047965fe9884af765c0ad2bb (supposed to address #4194), which first appeared in v0.25.0.\r\n\r\nPreviously, on a Retina Mac with a scaled resolution, `--geometry` would respect the scaled resolution; for instance, if the 2880x1800 physical display is scaled to 1920x1200, then `--geometry=1920x1200` would fill the screen. However, since 7bddd3fb4cdb111b047965fe9884af765c0ad2bb, `--geometry=1920x1200` only fills a 960x600 area, and one has to use `--geometry=3840x2400` to fill the screen. This is extremely weird because the display doesn't even have that many physical pixels. Also, turning `--hidpi-window-scale` on or off doesn't make a difference here.\r\n\r\n### mpv version and platform\r\n\r\n`0.25.0-7-g809d160c1` (since `git-7bddd3fb4`) on macOS 10.12.4.\r\n\r\nHardware: MacBookPro11,5, aka MacBook Pro (Retina, 15-inch, Mid 2015).\r\n\r\n### Reproduction steps\r\n\r\n1. Set screen resolution of the built-in to scaled 1920x1200. (System Preferences -> Displays -> Display -> Scaled -> More Space).\r\n2. `mpv --geometry=1920x1200 <video>`. Note that `--hidpi-window-scale` and `--no-hidpi-window-scale` have no visible effect here.\r\n\r\n### Expected behavior\r\n\r\nVideo fills the 1920x1200 screen.\r\n\r\n### Actual behavior\r\n\r\nVideo only fills a 960x600 area.\r\n\r\n### Log file\r\n\r\nhttps://gist.githubusercontent.com/anonymous/6702d705a088449992fd238f00503aa0/raw/8bcb1ec56ce17cc26807ec06558ce0e9dbe7f656/mpv-geometry=1920x1200.log\r\n\r\n### Sample files\r\n\r\nAny file."}}
{"actor":{"display_login":"zmwangx"}}