{"action":"created","issue":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/11270","repository_url":"https://api.github.com/repos/xbmc/xbmc","labels_url":"https://api.github.com/repos/xbmc/xbmc/issues/11270/labels{/name}","comments_url":"https://api.github.com/repos/xbmc/xbmc/issues/11270/comments","events_url":"https://api.github.com/repos/xbmc/xbmc/issues/11270/events","html_url":"https://github.com/xbmc/xbmc/pull/11270","id":197502067,"number":11270,"title":"[PVR] PVR windows: Fix item selection on window update.","user":{"login":"ksooo","id":3226626,"avatar_url":"https://avatars.githubusercontent.com/u/3226626?v=3","gravatar_id":"","url":"https://api.github.com/users/ksooo","html_url":"https://github.com/ksooo","followers_url":"https://api.github.com/users/ksooo/followers","following_url":"https://api.github.com/users/ksooo/following{/other_user}","gists_url":"https://api.github.com/users/ksooo/gists{/gist_id}","starred_url":"https://api.github.com/users/ksooo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksooo/subscriptions","organizations_url":"https://api.github.com/users/ksooo/orgs","repos_url":"https://api.github.com/users/ksooo/repos","events_url":"https://api.github.com/users/ksooo/events{/privacy}","received_events_url":"https://api.github.com/users/ksooo/received_events","type":"User","site_admin":false},"labels":[{"id":1659186,"url":"https://api.github.com/repos/xbmc/xbmc/labels/Fix","name":"Fix","color":"0b02e1","default":false},{"id":15146247,"url":"https://api.github.com/repos/xbmc/xbmc/labels/PVR","name":"PVR","color":"009800","default":false},{"id":400751192,"url":"https://api.github.com/repos/xbmc/xbmc/labels/v18%20L***","name":"v18 L***","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/xbmc/xbmc/milestones/95","html_url":"https://github.com/xbmc/xbmc/milestone/95","labels_url":"https://api.github.com/repos/xbmc/xbmc/milestones/95/labels","id":2166828,"number":95,"title":"L 18.0-alpha1","description":"","creator":{"login":"MartijnKaijser","id":907436,"avatar_url":"https://avatars.githubusercontent.com/u/907436?v=3","gravatar_id":"","url":"https://api.github.com/users/MartijnKaijser","html_url":"https://github.com/MartijnKaijser","followers_url":"https://api.github.com/users/MartijnKaijser/followers","following_url":"https://api.github.com/users/MartijnKaijser/following{/other_user}","gists_url":"https://api.github.com/users/MartijnKaijser/gists{/gist_id}","starred_url":"https://api.github.com/users/MartijnKaijser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartijnKaijser/subscriptions","organizations_url":"https://api.github.com/users/MartijnKaijser/orgs","repos_url":"https://api.github.com/users/MartijnKaijser/repos","events_url":"https://api.github.com/users/MartijnKaijser/events{/privacy}","received_events_url":"https://api.github.com/users/MartijnKaijser/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":159,"state":"open","created_at":"2016-11-30T16:58:49Z","updated_at":"2016-12-28T20:53:09Z","due_on":"2017-01-31T08:00:00Z","closed_at":null},"comments":7,"created_at":"2016-12-25T13:56:09Z","updated_at":"2016-12-28T22:24:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/xbmc/xbmc/pulls/11270","html_url":"https://github.com/xbmc/xbmc/pull/11270","diff_url":"https://github.com/xbmc/xbmc/pull/11270.diff","patch_url":"https://github.com/xbmc/xbmc/pull/11270.patch"},"body":"After deleting a recording/timer/timer rule/channel using the respective pvr window, the first item in the item list was selected. This is very annoying behavior, for instance if you want to delete some items in a row. Example: you have ten items and want to delete item 5 to 10:\r\n\r\nOld behavior:\r\n- travel to item 5\r\n- delete item 5 => item disappears, item 1 gets selected\r\n- travel down from item 1 to the new item 5\r\n- delete item 5 => item disappears, item 1 gets selected\r\n- travel down from item 1 to the new item 5\r\n...\r\n\r\nNew behavior:\r\n- travel to item 5\r\n- delete item 5 => item disappears, new item 5 gets selected\r\n- delete new item 5 => item disappears, new item 5 gets selected\r\n...\r\n- delete item 5 that was originally item 10 => item disappears, item 4 gets selected\r\n\r\nRuntime-tested on latest linux and macOS master.\r\n\r\n@Jalle19 mind doing the review\r\n"},"comment":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/comments/269550905","html_url":"https://github.com/xbmc/xbmc/pull/11270#issuecomment-269550905","issue_url":"https://api.github.com/repos/xbmc/xbmc/issues/11270","id":269550905,"user":{"login":"ksooo","id":3226626,"avatar_url":"https://avatars.githubusercontent.com/u/3226626?v=3","gravatar_id":"","url":"https://api.github.com/users/ksooo","html_url":"https://github.com/ksooo","followers_url":"https://api.github.com/users/ksooo/followers","following_url":"https://api.github.com/users/ksooo/following{/other_user}","gists_url":"https://api.github.com/users/ksooo/gists{/gist_id}","starred_url":"https://api.github.com/users/ksooo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksooo/subscriptions","organizations_url":"https://api.github.com/users/ksooo/orgs","repos_url":"https://api.github.com/users/ksooo/repos","events_url":"https://api.github.com/users/ksooo/events{/privacy}","received_events_url":"https://api.github.com/users/ksooo/received_events","type":"User","site_admin":false},"created_at":"2016-12-28T22:24:37Z","updated_at":"2016-12-28T22:24:37Z","body":"jenkins build this please"}}
{"actor":{"display_login":"ksooo"}}