{"action":"closed","issue":{"url":"https://api.github.com/repos/linuxmint/muffin/issues/226","repository_url":"https://api.github.com/repos/linuxmint/muffin","labels_url":"https://api.github.com/repos/linuxmint/muffin/issues/226/labels{/name}","comments_url":"https://api.github.com/repos/linuxmint/muffin/issues/226/comments","events_url":"https://api.github.com/repos/linuxmint/muffin/issues/226/events","html_url":"https://github.com/linuxmint/muffin/issues/226","id":147144912,"number":226,"title":"Assertion failure when resizing windows","user":{"login":"wrouesnel","id":772445,"avatar_url":"https://avatars.githubusercontent.com/u/772445?v=3","gravatar_id":"","url":"https://api.github.com/users/wrouesnel","html_url":"https://github.com/wrouesnel","followers_url":"https://api.github.com/users/wrouesnel/followers","following_url":"https://api.github.com/users/wrouesnel/following{/other_user}","gists_url":"https://api.github.com/users/wrouesnel/gists{/gist_id}","starred_url":"https://api.github.com/users/wrouesnel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wrouesnel/subscriptions","organizations_url":"https://api.github.com/users/wrouesnel/orgs","repos_url":"https://api.github.com/users/wrouesnel/repos","events_url":"https://api.github.com/users/wrouesnel/events{/privacy}","received_events_url":"https://api.github.com/users/wrouesnel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-04-09T16:59:24Z","updated_at":"2016-05-03T23:01:40Z","closed_at":"2016-05-03T23:01:40Z","body":"Related to https://github.com/linuxmint/Cinnamon/issues/5182\r\n\r\nThis seems better placed here, it looks like changes made around commit 748d0e5cd37e5a209bfeabaaa78917fd12b5bb5d have led to a bug which is causing assertion failures in window.c\r\n\r\nRight when the crash happens this is the line which goes down: `muffin:ERROR:core/window.c:9877:update_resize: assertion failed: (gravity >= 0)`\r\n\r\nThis manifests as muffin (or cinnamon) crashing when a new window is opened and is not tiled and then untiled before being moved. It looks like there are a number of other ways you can end up in this situation too (i.e. maximizing a window then restoring it seems to be remove the innoculation).\r\n\r\nStack trace:\r\nhttps://gist.github.com/wrouesnel/431d175f55aa646dbfe34a8e06f025bc"}}