{"action":"created","issue":{"url":"https://api.github.com/repos/m-labs/artiq/issues/443","repository_url":"https://api.github.com/repos/m-labs/artiq","labels_url":"https://api.github.com/repos/m-labs/artiq/issues/443/labels{/name}","comments_url":"https://api.github.com/repos/m-labs/artiq/issues/443/comments","events_url":"https://api.github.com/repos/m-labs/artiq/issues/443/events","html_url":"https://github.com/m-labs/artiq/issues/443","id":156835338,"number":443,"title":"GUI crashes when trying to close with multiple floating windows","user":{"login":"r-srinivas","id":11219276,"avatar_url":"https://avatars.githubusercontent.com/u/11219276?v=3","gravatar_id":"","url":"https://api.github.com/users/r-srinivas","html_url":"https://github.com/r-srinivas","followers_url":"https://api.github.com/users/r-srinivas/followers","following_url":"https://api.github.com/users/r-srinivas/following{/other_user}","gists_url":"https://api.github.com/users/r-srinivas/gists{/gist_id}","starred_url":"https://api.github.com/users/r-srinivas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r-srinivas/subscriptions","organizations_url":"https://api.github.com/users/r-srinivas/orgs","repos_url":"https://api.github.com/users/r-srinivas/repos","events_url":"https://api.github.com/users/r-srinivas/events{/privacy}","received_events_url":"https://api.github.com/users/r-srinivas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/m-labs/artiq/labels/area:gui","name":"area:gui","color":"207de5"},{"url":"https://api.github.com/repos/m-labs/artiq/labels/prio:2-normal","name":"prio:2-normal","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"whitequark","id":54771,"avatar_url":"https://avatars.githubusercontent.com/u/54771?v=3","gravatar_id":"","url":"https://api.github.com/users/whitequark","html_url":"https://github.com/whitequark","followers_url":"https://api.github.com/users/whitequark/followers","following_url":"https://api.github.com/users/whitequark/following{/other_user}","gists_url":"https://api.github.com/users/whitequark/gists{/gist_id}","starred_url":"https://api.github.com/users/whitequark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whitequark/subscriptions","organizations_url":"https://api.github.com/users/whitequark/orgs","repos_url":"https://api.github.com/users/whitequark/repos","events_url":"https://api.github.com/users/whitequark/events{/privacy}","received_events_url":"https://api.github.com/users/whitequark/received_events","type":"User","site_admin":false},"assignees":[{"login":"whitequark","id":54771,"avatar_url":"https://avatars.githubusercontent.com/u/54771?v=3","gravatar_id":"","url":"https://api.github.com/users/whitequark","html_url":"https://github.com/whitequark","followers_url":"https://api.github.com/users/whitequark/followers","following_url":"https://api.github.com/users/whitequark/following{/other_user}","gists_url":"https://api.github.com/users/whitequark/gists{/gist_id}","starred_url":"https://api.github.com/users/whitequark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whitequark/subscriptions","organizations_url":"https://api.github.com/users/whitequark/orgs","repos_url":"https://api.github.com/users/whitequark/repos","events_url":"https://api.github.com/users/whitequark/events{/privacy}","received_events_url":"https://api.github.com/users/whitequark/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/m-labs/artiq/milestones/4","html_url":"https://github.com/m-labs/artiq/milestones/1.2","labels_url":"https://api.github.com/repos/m-labs/artiq/milestones/4/labels","id":1842666,"number":4,"title":"1.2","description":"","creator":{"login":"sbourdeauducq","id":720864,"avatar_url":"https://avatars.githubusercontent.com/u/720864?v=3","gravatar_id":"","url":"https://api.github.com/users/sbourdeauducq","html_url":"https://github.com/sbourdeauducq","followers_url":"https://api.github.com/users/sbourdeauducq/followers","following_url":"https://api.github.com/users/sbourdeauducq/following{/other_user}","gists_url":"https://api.github.com/users/sbourdeauducq/gists{/gist_id}","starred_url":"https://api.github.com/users/sbourdeauducq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbourdeauducq/subscriptions","organizations_url":"https://api.github.com/users/sbourdeauducq/orgs","repos_url":"https://api.github.com/users/sbourdeauducq/repos","events_url":"https://api.github.com/users/sbourdeauducq/events{/privacy}","received_events_url":"https://api.github.com/users/sbourdeauducq/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":5,"state":"open","created_at":"2016-06-22T09:51:06Z","updated_at":"2016-07-04T11:11:07Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2016-05-25T19:50:22Z","updated_at":"2016-07-05T04:42:01Z","closed_at":null,"body":"Using 1.0 on Windows, I have the following setup across 3 monitors.\r\n\r\n![](http://s33.postimg.org/km35t33dr/desktop1.png)\r\n\r\nIf I close the GUI, one of the floating windows sometimes persists and you see a python error, like the image below where the log window was still there after the rest of the GUI was closed,\r\n\r\n![](http://s33.postimg.org/bv7mf6bj3/desktop2_crash.png)\r\n\r\nThe error message on the artiq_gui panel was,\r\n\r\n```\r\nc:\\artiq-magtrap>call activate artiq-0524\r\nDeactivating environment \"C:\\Anaconda3\"...\r\nActivating environment \"C:\\Anaconda3\\envs\\artiq-0524\"...\r\nQWindowsWindow::setGeometryDp: Unable to set geometry 442x355+0+0 on QWindow/''.\r\n Resulting geometry:  109x23+2560+300 (frame: 0, 0, 0, 0, custom margin: 0, 0, 0\r\n, 0, minimum size: 0x0, maximum size: 16777215x16777215).\r\nQWindowsWindow::setGeometryDp: Unable to set geometry 442x355+0+0 on QWindow/''.\r\n Resulting geometry:  109x23+2560+300 (frame: 0, 0, 0, 0, custom margin: 0, 0, 0\r\n, 0, minimum size: 0x0, maximum size: 16777215x16777215).\r\nQWindowsWindow::setGeometryDp: Unable to set geometry 442x355+0+0 on QWindow/''.\r\n Resulting geometry:  109x23+2560+300 (frame: 0, 0, 0, 0, custom margin: 0, 0, 0\r\n, 0, minimum size: 0x0, maximum size: 16777215x16777215).\r\nQWindowsWindow::setGeometryDp: Unable to set geometry 442x355+0+0 on QWindow/''.\r\n Resulting geometry:  109x23+2560+300 (frame: 0, 0, 0, 0, custom margin: 0, 0, 0\r\n, 0, minimum size: 0x0, maximum size: 16777215x16777215).\r\nExternal WM_DESTROY received for  QWidgetWindow(0x40cbb80, name = \"DDSWindow\") ,\r\n parent:  QObject(0x0) , transient parent:  QWidgetWindow(0x40cc060, name = \"Mai\r\nnWindowClassWindow\")\r\nExternal WM_DESTROY received for  QWidgetWindow(0x40cbdc0, name = \"TTLWindow\") ,\r\n parent:  QObject(0x0) , transient parent:  QWidgetWindow(0x40cc060, name = \"Mai\r\nnWindowClassWindow\")\r\n[artiq-0524] c:\\artiq-magtrap>\r\n```\r\n\r\nOnce when the DDS panel persisted,\r\n\r\n```\r\nc:\\artiq-magtrap>call activate artiq-0524\r\nDeactivating environment \"C:\\Anaconda3\"...\r\nActivating environment \"C:\\Anaconda3\\envs\\artiq-0524\"...\r\nQWindowsWindow::setGeometryDp: Unable to set geometry 442x280+0+0 on QWindow/''.\r\n Resulting geometry:  109x23+640+280 (frame: 0, 0, 0, 0, custom margin: 0, 0, 0,\r\n 0, minimum size: 0x0, maximum size: 16777215x16777215).\r\nQWindowsWindow::setGeometryDp: Unable to set geometry 442x280+0+0 on QWindow/''.\r\n Resulting geometry:  109x23+640+280 (frame: 0, 0, 0, 0, custom margin: 0, 0, 0,\r\n 0, minimum size: 0x0, maximum size: 16777215x16777215).\r\nQWindowsWindow::setGeometryDp: Unable to set geometry 442x280+0+0 on QWindow/''.\r\n Resulting geometry:  109x23+640+280 (frame: 0, 0, 0, 0, custom margin: 0, 0, 0,\r\n 0, minimum size: 0x0, maximum size: 16777215x16777215).\r\nQWindowsWindow::setGeometryDp: Unable to set geometry 442x280+0+0 on QWindow/''.\r\n Resulting geometry:  109x23+640+280 (frame: 0, 0, 0, 0, custom margin: 0, 0, 0,\r\n 0, minimum size: 0x0, maximum size: 16777215x16777215).\r\nExternal WM_DESTROY received for  QWidgetWindow(0x8091ac0, name = \"log0Window\")\r\n, parent:  QObject(0x0) , transient parent:  QWidgetWindow(0x41454f0, name = \"Ma\r\ninWindowClassWindow\")\r\nExternal WM_DESTROY received for  QWidgetWindow(0x4145250, name = \"TTLWindow\") ,\r\n parent:  QObject(0x0) , transient parent:  QWidgetWindow(0x41454f0, name = \"Mai\r\nnWindowClassWindow\")\r\n[artiq-0524] c:\\artiq-magtrap>\r\n```\r\n\r\nI can't reproduce this super reliably but this seems to happen about once every 3-4 times I try. Seems like sometimes there's an error getting all the floating windows to close."},"comment":{"url":"https://api.github.com/repos/m-labs/artiq/issues/comments/230386384","html_url":"https://github.com/m-labs/artiq/issues/443#issuecomment-230386384","issue_url":"https://api.github.com/repos/m-labs/artiq/issues/443","id":230386384,"user":{"login":"sbourdeauducq","id":720864,"avatar_url":"https://avatars.githubusercontent.com/u/720864?v=3","gravatar_id":"","url":"https://api.github.com/users/sbourdeauducq","html_url":"https://github.com/sbourdeauducq","followers_url":"https://api.github.com/users/sbourdeauducq/followers","following_url":"https://api.github.com/users/sbourdeauducq/following{/other_user}","gists_url":"https://api.github.com/users/sbourdeauducq/gists{/gist_id}","starred_url":"https://api.github.com/users/sbourdeauducq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbourdeauducq/subscriptions","organizations_url":"https://api.github.com/users/sbourdeauducq/orgs","repos_url":"https://api.github.com/users/sbourdeauducq/repos","events_url":"https://api.github.com/users/sbourdeauducq/events{/privacy}","received_events_url":"https://api.github.com/users/sbourdeauducq/received_events","type":"User","site_admin":false},"created_at":"2016-07-05T04:42:01Z","updated_at":"2016-07-05T04:42:01Z","body":"Does it still crash after 11930228fd6b8a2445f3ae4a9729568bfd2c2ab6?"}}
{"actor":{"display_login":"sbourdeauducq"}}