{"action":"closed","issue":{"url":"https://api.github.com/repos/i3/i3/issues/1617","labels_url":"https://api.github.com/repos/i3/i3/issues/1617/labels{/name}","comments_url":"https://api.github.com/repos/i3/i3/issues/1617/comments","events_url":"https://api.github.com/repos/i3/i3/issues/1617/events","html_url":"https://github.com/i3/i3/issues/1617","id":65502260,"number":1617,"title":"`window state: Withdrawn` is lost during restart, causing \"dead window\" to appear","user":{"login":"AloisMahdal","id":217935,"avatar_url":"https://avatars.githubusercontent.com/u/217935?v=3","gravatar_id":"","url":"https://api.github.com/users/AloisMahdal","html_url":"https://github.com/AloisMahdal","followers_url":"https://api.github.com/users/AloisMahdal/followers","following_url":"https://api.github.com/users/AloisMahdal/following{/other_user}","gists_url":"https://api.github.com/users/AloisMahdal/gists{/gist_id}","starred_url":"https://api.github.com/users/AloisMahdal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AloisMahdal/subscriptions","organizations_url":"https://api.github.com/users/AloisMahdal/orgs","repos_url":"https://api.github.com/users/AloisMahdal/repos","events_url":"https://api.github.com/users/AloisMahdal/events{/privacy}","received_events_url":"https://api.github.com/users/AloisMahdal/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/i3/i3/labels/4.10.1","name":"4.10.1","color":"009800"},{"url":"https://api.github.com/repos/i3/i3/labels/missing-log","name":"missing-log","color":"ededed"},{"url":"https://api.github.com/repos/i3/i3/labels/reproducible","name":"reproducible","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"stapelberg","id":55506,"avatar_url":"https://avatars.githubusercontent.com/u/55506?v=3","gravatar_id":"","url":"https://api.github.com/users/stapelberg","html_url":"https://github.com/stapelberg","followers_url":"https://api.github.com/users/stapelberg/followers","following_url":"https://api.github.com/users/stapelberg/following{/other_user}","gists_url":"https://api.github.com/users/stapelberg/gists{/gist_id}","starred_url":"https://api.github.com/users/stapelberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stapelberg/subscriptions","organizations_url":"https://api.github.com/users/stapelberg/orgs","repos_url":"https://api.github.com/users/stapelberg/repos","events_url":"https://api.github.com/users/stapelberg/events{/privacy}","received_events_url":"https://api.github.com/users/stapelberg/received_events","type":"User","site_admin":false},"milestone":null,"comments":10,"created_at":"2015-03-31T17:17:16Z","updated_at":"2015-04-06T13:40:43Z","closed_at":"2015-04-06T13:40:43Z","body":" 1. An application starts without creating a window; it only adds icon to notification\r\n    area. If I restart i3 at this point, nothing weird is observed.\r\n\r\n 2. After clicking the icon, a window is created.\r\n\r\n 3. Clicking the icon again makes the window disappear (`window state: Withdrawn`).\r\n\r\n    So far so good.\r\n\r\n 4. At this point, issuing `i3-msg restart` leads to effect that after restart and layout\r\n    restoration (which is accompanied by short flick of each other window), a \"ghost\"\r\n    window is shown, with the same placement and name as the application window\r\n    before hiding, but with no content (i.e. a content buffered from other application).\r\n\r\n    (I'm sure there is proper term for this errorneous state but I don't know it)\r\n\r\nxprop reveals that newly created window has `window state: Normal`, then after hiding via icon, state is `Withdrawn`, but after the restart the state is `Normal` again, which apparently is not what the application expects.\r\n\r\nOTOH, I can't say if there is anything non-standard that the app is doing.\r\n\r\nThe application in question is owncloud version 1.8 and the i3 version is 4.10.1 compiled from github repo and running on Fedora 21."}}