{"action":"created","issue":{"url":"https://api.github.com/repos/ssokolow/quicktile/issues/45","labels_url":"https://api.github.com/repos/ssokolow/quicktile/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/ssokolow/quicktile/issues/45/comments","events_url":"https://api.github.com/repos/ssokolow/quicktile/issues/45/events","html_url":"https://github.com/ssokolow/quicktile/issues/45","id":46186415,"number":45,"title":"Windows get resized to (0,0,0,0) on a clean install of Ubuntu 14.04.1","user":{"login":"avaly","id":356100,"avatar_url":"https://avatars.githubusercontent.com/u/356100?v=3","gravatar_id":"","url":"https://api.github.com/users/avaly","html_url":"https://github.com/avaly","followers_url":"https://api.github.com/users/avaly/followers","following_url":"https://api.github.com/users/avaly/following{/other_user}","gists_url":"https://api.github.com/users/avaly/gists{/gist_id}","starred_url":"https://api.github.com/users/avaly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avaly/subscriptions","organizations_url":"https://api.github.com/users/avaly/orgs","repos_url":"https://api.github.com/users/avaly/repos","events_url":"https://api.github.com/users/avaly/events{/privacy}","received_events_url":"https://api.github.com/users/avaly/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ssokolow/quicktile/labels/bug","name":"bug","color":"e10c02"}],"state":"open","locked":false,"assignee":{"login":"ssokolow","id":46915,"avatar_url":"https://avatars.githubusercontent.com/u/46915?v=3","gravatar_id":"","url":"https://api.github.com/users/ssokolow","html_url":"https://github.com/ssokolow","followers_url":"https://api.github.com/users/ssokolow/followers","following_url":"https://api.github.com/users/ssokolow/following{/other_user}","gists_url":"https://api.github.com/users/ssokolow/gists{/gist_id}","starred_url":"https://api.github.com/users/ssokolow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssokolow/subscriptions","organizations_url":"https://api.github.com/users/ssokolow/orgs","repos_url":"https://api.github.com/users/ssokolow/repos","events_url":"https://api.github.com/users/ssokolow/events{/privacy}","received_events_url":"https://api.github.com/users/ssokolow/received_events","type":"User","site_admin":false},"milestone":null,"comments":23,"created_at":"2014-10-18T20:24:02Z","updated_at":"2015-02-15T16:18:32Z","closed_at":null,"body":"On a fresh install of Ubuntu 14.04.1 I get the following results when running quicktile on the latest `master` branch (commit 7571ac68b1dcab6c5f904497648815b4ebe1108a).\r\n\r\n```\r\n$ ./quicktile.py -d --debug\r\n<class 'Xlib.protocol.request.QueryExtension'>\r\nDEBUG: window: <wnck.Window object at 0x7ff418e7d5f0 (WnckWindow at 0x1955e00)>\r\nDEBUG: Monitor: 0, gtk.gdk.Rectangle(0, 0, 1920, 1200)\r\nDEBUG: dims [[0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]]\r\nDEBUG: Result overlaps panel. Falling back to usableRect.\r\nDEBUG: result (0, 0, 0, 0)\r\nDEBUG: Monitor: 0, gtk.gdk.Rectangle(0, 0, 1920, 1200)\r\nDEBUG: repositioning to (0, 0, 0, 0)\r\n```\r\n\r\nEarlier today, before performing the fresh install of Ubuntu 14.04.1, I was running Ubuntu 14.04.1 which was upgraded from a fresh install of Ubuntu 13.04. On that installation I was running a quicktile fork based on an old commit (7a5bf6ffb2a70d557a736f516f08d70ea5f9af83). Everything worked fine.\r\n\r\nHowever, on the fresh install of 14.04.1, when running the old commit 7a5bf6ffb2a70d557a736f516f08d70ea5f9af83, I get the following debug output:\r\n\r\n```\r\n$ ./quicktile.py -d --debug\r\n<class 'Xlib.protocol.request.QueryExtension'>\r\nDEBUG: NET_WM_WINDOW_TYPE: ('ATOM', 32, ['_NET_WM_WINDOW_TYPE_NORMAL'])\r\nDEBUG: win <gtk.gdk.Window object at 0x7f2b10078280 (GdkWindow at 0x27d1480)>\r\nDEBUG: useArea []\r\nDEBUG: useRect gtk.gdk.Rectangle(0, 0, 0, 0)\r\nDEBUG: winGeom (49, 24, 200, 228)\r\nDEBUG: monitorID 0\r\nDEBUG: dims [[0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]]\r\nDEBUG: Result overlaps panel. Falling back to usableRect.\r\nDEBUG: result (0, 0, 0, 0)\r\n```\r\n\r\nCould it be that quicktile depeneds on some library that was available in Ubuntu 13.04, but is not present in 14.04?\r\n\r\nAny suggestions to track down the issue and find a workaround would be appreciated!"},"comment":{"url":"https://api.github.com/repos/ssokolow/quicktile/issues/comments/74423782","html_url":"https://github.com/ssokolow/quicktile/issues/45#issuecomment-74423782","issue_url":"https://api.github.com/repos/ssokolow/quicktile/issues/45","id":74423782,"user":{"login":"avaly","id":356100,"avatar_url":"https://avatars.githubusercontent.com/u/356100?v=3","gravatar_id":"","url":"https://api.github.com/users/avaly","html_url":"https://github.com/avaly","followers_url":"https://api.github.com/users/avaly/followers","following_url":"https://api.github.com/users/avaly/following{/other_user}","gists_url":"https://api.github.com/users/avaly/gists{/gist_id}","starred_url":"https://api.github.com/users/avaly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avaly/subscriptions","organizations_url":"https://api.github.com/users/avaly/orgs","repos_url":"https://api.github.com/users/avaly/repos","events_url":"https://api.github.com/users/avaly/events{/privacy}","received_events_url":"https://api.github.com/users/avaly/received_events","type":"User","site_admin":false},"created_at":"2015-02-15T16:18:32Z","updated_at":"2015-02-15T16:18:32Z","body":"Weirdly enough, [removing the launcher bar from the second monitor](http://askubuntu.com/questions/107583/how-can-i-remove-duplicate-second-unity-launcher-on-a-dual-screen-setup) was enough to fix the issue I was experiencing.\r\n\r\nHowever, I do think the code can still be improved to handle this edge cases."}}