{"action":"created","issue":{"url":"https://api.github.com/repos/LMMS/lmms/issues/2798","repository_url":"https://api.github.com/repos/LMMS/lmms","labels_url":"https://api.github.com/repos/LMMS/lmms/issues/2798/labels{/name}","comments_url":"https://api.github.com/repos/LMMS/lmms/issues/2798/comments","events_url":"https://api.github.com/repos/LMMS/lmms/issues/2798/events","html_url":"https://github.com/LMMS/lmms/pull/2798","id":156850286,"number":2798,"title":"fix the maximize behavior of subwindows on Mac","user":{"login":"BaraMGB","id":6502580,"avatar_url":"https://avatars.githubusercontent.com/u/6502580?v=3","gravatar_id":"","url":"https://api.github.com/users/BaraMGB","html_url":"https://github.com/BaraMGB","followers_url":"https://api.github.com/users/BaraMGB/followers","following_url":"https://api.github.com/users/BaraMGB/following{/other_user}","gists_url":"https://api.github.com/users/BaraMGB/gists{/gist_id}","starred_url":"https://api.github.com/users/BaraMGB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BaraMGB/subscriptions","organizations_url":"https://api.github.com/users/BaraMGB/orgs","repos_url":"https://api.github.com/users/BaraMGB/repos","events_url":"https://api.github.com/users/BaraMGB/events{/privacy}","received_events_url":"https://api.github.com/users/BaraMGB/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-05-25T21:05:34Z","updated_at":"2016-05-27T15:24:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/LMMS/lmms/pulls/2798","html_url":"https://github.com/LMMS/lmms/pull/2798","diff_url":"https://github.com/LMMS/lmms/pull/2798.diff","patch_url":"https://github.com/LMMS/lmms/pull/2798.patch"},"body":"https://github.com/LMMS/lmms/issues/2450#issuecomment-217666180 @tresf reported an issue on mac. The subwindow don't maximize proper. The button don't change from maximize to restore. This PR fix this. \r\n\r\n**edit Explanation:**\r\n\r\nI added a function for testing if the subwindow is maximized. It's quite simple: it checks if the subwindow size is identically to the size of the MdiArea. But we have to care about the Scrollbars of the MdiArea. If an other Subwindow is in Front of the maximized Subwindow, the MdiArea has Scrollbars (sometimes horizontal, sometimes vertical). Our Subwindow becomes smaller than the MdiArea although it is maximized. "},"comment":{"url":"https://api.github.com/repos/LMMS/lmms/issues/comments/222176082","html_url":"https://github.com/LMMS/lmms/pull/2798#issuecomment-222176082","issue_url":"https://api.github.com/repos/LMMS/lmms/issues/2798","id":222176082,"user":{"login":"tresf","id":6345473,"avatar_url":"https://avatars.githubusercontent.com/u/6345473?v=3","gravatar_id":"","url":"https://api.github.com/users/tresf","html_url":"https://github.com/tresf","followers_url":"https://api.github.com/users/tresf/followers","following_url":"https://api.github.com/users/tresf/following{/other_user}","gists_url":"https://api.github.com/users/tresf/gists{/gist_id}","starred_url":"https://api.github.com/users/tresf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tresf/subscriptions","organizations_url":"https://api.github.com/users/tresf/orgs","repos_url":"https://api.github.com/users/tresf/repos","events_url":"https://api.github.com/users/tresf/events{/privacy}","received_events_url":"https://api.github.com/users/tresf/received_events","type":"User","site_admin":false},"created_at":"2016-05-27T15:24:45Z","updated_at":"2016-05-27T15:24:45Z","body":"dee95b04b63fbacd15257097383d86370457e74f 👍 \r\n\r\n![screen shot 2016-05-27 at 11 20 38 am](https://cloud.githubusercontent.com/assets/6345473/15612615/8c1bdc0e-23fd-11e6-8fa4-d1538beba9b2.png)\r\n"}}
{"actor":{"display_login":"tresf"}}