Closed zach-morris closed 5 years ago
I am having the same issue with the 27 August build on both Android versions
I've tracked down the issue - in the log this shows up as:
WARNING: CGUIMediaWindow::OnClick - updating in progress
This occurs because the update guard (held while the window's list is updating) isn't released, so OnClick actions are ignored. You'll notice that browsing elsewhere (and causing the window's items to update, resetting the guard) fixes the problem.
I think this occurs because xbmcplugin.endOfDirectory()
(here) isn't called until after the modal blocks and then closes, so it's probably ignored. @zach-morris can you try moving the call to xbmcplugin.endOfDirectory()
to the beginning of the function so Kodi doesn't think we're updating all the while that the modal is open? We should tell Kodi that the list is done updating as soon as possible to release the guard blocking clicks, certainly before opening other windows and launching games.
Doh! Thanks @garbear, that seems to have fixed it. Apologies for the issue
Not sure if this should reside in your branch or Kodi's at this point. Feel free to delete if it doesn't belong here.
Issue: Current Kodi v18 Beta 1 version seems like it will not give up keyboard control after a game was played and then stopped.
To recreate issue: Open up IAGL, Launch a game (Stella game in the log example), Press some keys, Bring up the OSD and select Exit. Attempting to use Enter on the keyboard after the game is exited no longer works (Note: it does in Alpha 3)
Also note this issue doesn't seem to occur if you start a game, and then bring up the OSD (with the mouse) and do not press some keys.
Additional notes after some more testing: With the latest beta, this seems to happen less often, but it does still sometimes happen. I can't find a reliable way to recreate this issue. I do notice that when this issue occurs, the viewtype of the listitems on the screen change from Folders to Icons, implying to me that Kodi is changing the listitem isFolder is being changed from True to False
Version Tested:
Log: