Kodi Community Forum

Full Version: error when trying to redirect to home
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,
I do not know if I'm posting in the right place, but come on.
I am developing an addon and used this command to direct tohome
Code:
xbmc.executebuiltin ('ActivateWindow (home, return)')
I am using the skin confluence,
using 14.2 kodi Windows works normally.
more when I use the 15.1 kodi Android failure.
and looking at the log I found this error message.
Code:
Control 50 in window 10001 Has Been asked to focus, but it can not
someone can tell me to resolve this error?
from already thank you
no idea what exactly goes wrong, the logline seems to indicate that it's opening Programs (which has a window id of 10001) instead of home (window id 10000).
but perhaps that logline is not related to your addon problem at all?

what changed in kodi 15 is that if there's an open dialog, you need to close it first before you can activate a new window.
maybe that applies to your addon?

also, try xbmc.executebuiltin ('ActivateWindow (home)')
passing 'return' makes no sense for the home window.
tried without the return gave the same problem.
I decided to test the 14.2 on android there functioned normally.