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

Refresh controller profiles in gui thread (and 2 small improvements) #9824

Merged
merged 3 commits into from
Jun 3, 2016

Conversation

garbear
Copy link
Member

@garbear garbear commented May 16, 2016

The Notify() callback can arrive from any thread, so move the refresh call to the GUI thread.

@garbear garbear changed the title Refresh controller profiles in gui thread Refresh controller profiles in gui thread (and 2 small improvements) May 23, 2016
@garbear
Copy link
Member Author

garbear commented May 23, 2016

PR has been updated. There was a problem where the refresh msg was lost, so that's been fixed.

I also added 2 small improvements: some code cleanup, and a UX improvement. I noticed that in the controller dialog, the user had to press Select twice to start a button prompt: Once to focus the button, and once to begin the prompting wizard. This change combines the two actions, so selecting the controller will focus the button and automatically start the prompt.

@garbear
Copy link
Member Author

garbear commented May 29, 2016

Can someone who knows about GUI messaging quickly check CGUIControllerList::Notify() in the first commit? is GUI_MSG_REFRESH_LIST sent for any other occurrences? Not sure who to ping, maybe @Paxxi and @razzeee

@garbear
Copy link
Member Author

garbear commented Jun 1, 2016

jenkins build this please

@garbear garbear merged commit 0a4f29e into xbmc:master Jun 3, 2016
@garbear garbear deleted the fix-controllers-refresh branch July 13, 2016 01:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants