{"action":"created","issue":{"url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/1482","labels_url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/1482/labels{/name}","comments_url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/1482/comments","events_url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/1482/events","html_url":"https://github.com/Cockatrice/Cockatrice/issues/1482","id":105322340,"number":1482,"title":"Clicking a chat notification bubble causes Cockatrice to resize itself","user":{"login":"Nightfirecat","id":2199511,"avatar_url":"https://avatars.githubusercontent.com/u/2199511?v=3","gravatar_id":"","url":"https://api.github.com/users/Nightfirecat","html_url":"https://github.com/Nightfirecat","followers_url":"https://api.github.com/users/Nightfirecat/followers","following_url":"https://api.github.com/users/Nightfirecat/following{/other_user}","gists_url":"https://api.github.com/users/Nightfirecat/gists{/gist_id}","starred_url":"https://api.github.com/users/Nightfirecat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nightfirecat/subscriptions","organizations_url":"https://api.github.com/users/Nightfirecat/orgs","repos_url":"https://api.github.com/users/Nightfirecat/repos","events_url":"https://api.github.com/users/Nightfirecat/events{/privacy}","received_events_url":"https://api.github.com/users/Nightfirecat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-08T07:55:10Z","updated_at":"2015-09-08T15:28:14Z","closed_at":null,"body":"See title.\r\n\r\nWhen Cockatrice is maximized in Windows (on my monitor, 1920x1080), clicking on any chat notification bubbles from the tray cause it to resize to [this size](http://i.imgur.com/pB0aQAF.png). This has been occurring for a month or so -- though I don't remember if there were any notable issue fixes that preceded it -- and occurs up to the latest weekly, 60ed9fd."},"comment":{"url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/comments/138600429","html_url":"https://github.com/Cockatrice/Cockatrice/issues/1482#issuecomment-138600429","issue_url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/1482","id":138600429,"user":{"login":"ctrlaltca","id":1631111,"avatar_url":"https://avatars.githubusercontent.com/u/1631111?v=3","gravatar_id":"","url":"https://api.github.com/users/ctrlaltca","html_url":"https://github.com/ctrlaltca","followers_url":"https://api.github.com/users/ctrlaltca/followers","following_url":"https://api.github.com/users/ctrlaltca/following{/other_user}","gists_url":"https://api.github.com/users/ctrlaltca/gists{/gist_id}","starred_url":"https://api.github.com/users/ctrlaltca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctrlaltca/subscriptions","organizations_url":"https://api.github.com/users/ctrlaltca/orgs","repos_url":"https://api.github.com/users/ctrlaltca/repos","events_url":"https://api.github.com/users/ctrlaltca/events{/privacy}","received_events_url":"https://api.github.com/users/ctrlaltca/received_events","type":"User","site_admin":false},"created_at":"2015-09-08T15:28:14Z","updated_at":"2015-09-08T15:28:14Z","body":"Tested and confirmed. This is due to this line https://github.com/Cockatrice/Cockatrice/blob/master/cockatrice/src/window_main.cpp#L707\r\ncalling http://doc.qt.io/qt-4.8/qwidget.html#showNormal . If the window was previously maximized, showNormal() will de-maximize it, causing it to resize."}}