{"action":"created","issue":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/6799","labels_url":"https://api.github.com/repos/xbmc/xbmc/issues/6799/labels{/name}","comments_url":"https://api.github.com/repos/xbmc/xbmc/issues/6799/comments","events_url":"https://api.github.com/repos/xbmc/xbmc/issues/6799/events","html_url":"https://github.com/xbmc/xbmc/pull/6799","id":63732442,"number":6799,"title":"[gui] only close modal dialogs if we leave a media window","user":{"login":"xhaggi","id":1878991,"avatar_url":"https://avatars.githubusercontent.com/u/1878991?v=3","gravatar_id":"","url":"https://api.github.com/users/xhaggi","html_url":"https://github.com/xhaggi","followers_url":"https://api.github.com/users/xhaggi/followers","following_url":"https://api.github.com/users/xhaggi/following{/other_user}","gists_url":"https://api.github.com/users/xhaggi/gists{/gist_id}","starred_url":"https://api.github.com/users/xhaggi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xhaggi/subscriptions","organizations_url":"https://api.github.com/users/xhaggi/orgs","repos_url":"https://api.github.com/users/xhaggi/repos","events_url":"https://api.github.com/users/xhaggi/events{/privacy}","received_events_url":"https://api.github.com/users/xhaggi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/xbmc/xbmc/labels/Fix","name":"Fix","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-23T14:12:45Z","updated_at":"2015-03-23T14:53:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/xbmc/xbmc/pulls/6799","html_url":"https://github.com/xbmc/xbmc/pull/6799","diff_url":"https://github.com/xbmc/xbmc/pull/6799.diff","patch_url":"https://github.com/xbmc/xbmc/pull/6799.patch"},"body":"As introduced by #6546 we close every active dialog if we leave/switch a media window. This also close some non-modal dialogs e.g. extended progress dialog, volumebar dialog etc. which are window independent. This PR will fix it by only closing active modal dialogs instead of all.\r\n\r\nThis PR also combines the 2 different methods to register a dialog as active dialog into one with a better wording.\r\n\r\n@mkortstiege as discussed at IRC, you know it best ;)\r\n@AlwinEsch ping"},"comment":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/comments/85035132","html_url":"https://github.com/xbmc/xbmc/pull/6799#issuecomment-85035132","issue_url":"https://api.github.com/repos/xbmc/xbmc/issues/6799","id":85035132,"user":{"login":"xhaggi","id":1878991,"avatar_url":"https://avatars.githubusercontent.com/u/1878991?v=3","gravatar_id":"","url":"https://api.github.com/users/xhaggi","html_url":"https://github.com/xhaggi","followers_url":"https://api.github.com/users/xhaggi/followers","following_url":"https://api.github.com/users/xhaggi/following{/other_user}","gists_url":"https://api.github.com/users/xhaggi/gists{/gist_id}","starred_url":"https://api.github.com/users/xhaggi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xhaggi/subscriptions","organizations_url":"https://api.github.com/users/xhaggi/orgs","repos_url":"https://api.github.com/users/xhaggi/repos","events_url":"https://api.github.com/users/xhaggi/events{/privacy}","received_events_url":"https://api.github.com/users/xhaggi/received_events","type":"User","site_admin":false},"created_at":"2015-03-23T14:53:25Z","updated_at":"2015-03-23T14:53:25Z","body":"@Montellese for example if you stay at the movie window with the video info dialog open and you want to switch to music or Live TV etc. by pushing a remote button or key (builtin)."}}