Posts: 7,806
Joined: Feb 2013
Reputation:
1,486
Hi guys,
Wondering if anyone knows any tricks/hacks to get the labels from DialogKaiToast in another window like Home.xml or MyVideoNav.xml etc.
Tried setting window properties <onload> which doesn't work. Control.GetLabels don't work outside the dialogs.
Can't really think of any other solutions...
Posts: 17,409
Joined: Aug 2007
Reputation:
586
Hitcher
Team-Kodi Member
Posts: 17,409
I tried various combinations of onload, onunload, setting focus to a button, SetProperty and Skin.SetString for Contarol.GetLabel(401) but I think the label must be empty when the dialog first loads and is cleared just before it unloads.
Posts: 7,806
Joined: Feb 2013
Reputation:
1,486
Thanks.
Gah! This is frustrating. I can't even get it to respect animation conditions properly to fake what I want to do. Using A Window.IsActive(home) in an animation condition to change position doesn't even work properly.
Posts: 4,146
Joined: Jan 2008
Reputation:
40
Could you workaround by using Window.Previous(Home) ?
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 17,409
Joined: Aug 2007
Reputation:
586
Hitcher
Team-Kodi Member
Posts: 17,409
Would it be 'previous' if it's still loaded though?
Posts: 7,806
Joined: Feb 2013
Reputation:
1,486
Excellent. I'm on Linux (fedora).
Posts: 7,806
Joined: Feb 2013
Reputation:
1,486
I've figured out a workaround for the time being, so not a pressing issue for me personally. However, it is definitely a bug as KaiToast and ExtendedProgress don't respect Window.IsActive or Window.IsVisible animation conditions properly.