Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CGUIDialogSelect: fix focusing the first selected item when opening the dialog #8197

Merged
merged 3 commits into from
Oct 17, 2015

Conversation

Montellese
Copy link
Member

This should fix CGUIDialogSelect not focusing the first selected item when opening the dialog with at least one "pre-selected" item. The current logic cleans the list of selected items and then tries to set the focus on the first selected item but since the list has just been cleared that's obviously not going to work.

This does NOT fix the problem that the item list remembers the last scroll/offset position of the list (even if it was a completely different list).

@Montellese Montellese added the Type: Fix non-breaking change which fixes an issue label Oct 11, 2015
@Montellese
Copy link
Member Author

I've added two more commits to fix the problem that the item list remembers the last scroll/offset position of the list (even if it was a completely different list).

@Montellese
Copy link
Member Author

Rebased. jenkins build this please

@mkortstiege mkortstiege added this to the Jarvis 16.0-alpha4 milestone Oct 17, 2015
@mkortstiege
Copy link
Member

jenkins build and merge.

@jenkins4kodi jenkins4kodi merged commit fb243f2 into xbmc:master Oct 17, 2015
@Montellese Montellese deleted the fix_dialogselect_focusing branch October 17, 2015 10:26
@MilhouseVH
Copy link
Contributor

This PR has introduced a problem: http://trac.kodi.tv/ticket/16406

@ronie
Copy link
Member

ronie commented Jan 27, 2016

@anaconda
Copy link
Contributor

I can't reproduce on demand, but this seems to have fixed it for me:
https://clbin.com/5E5kr
Not really sure if that's the correct fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Fix non-breaking change which fixes an issue v16 Jarvis
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants