Posts: 5,246
Joined: Jul 2012
Reputation:
339
I think you need to fix those includes before anything else. Do a global search on "9000" which is probably in one of those bugged includes. That's probably you main menu and isn't getting loaded with home.xml. You might take a look at XBMC Skinning Tool 1.2.6. It's kind of old but I find it's still useful in debugging skins.
scott s.
.
Posts: 442
Joined: Mar 2018
Reputation:
13
I've removed all invalid includes as noted in each log but that hasn't corrected the issue.
Essentially what's happening, to my best guess, is the main menu wraplist is failing to load. It works fine in Krypton and previous but in Leia the list itself fails.
Looking for invalids or warnings doesn't pop out anything else that notes this. only the previously mentioned line
"ERROR: Control 9000 in window 10000 has been asked to focus, but it can't"
Control 9000 is the wraplist for the main menu and window 10000 is Home.xml.
So this is where I am still stumped.
Posts: 17,417
Joined: Aug 2007
Reputation:
590
Hitcher
Team-Kodi Member
Posts: 17,417
Do all the skin strings have values?
Posts: 17,417
Joined: Aug 2007
Reputation:
590
Hitcher
Team-Kodi Member
Posts: 17,417
Your code is full of skin.string values and if they're empty you won't get any content.
Posts: 5,246
Joined: Jul 2012
Reputation:
339
1. Please fix the bad bools
a quick look:
!IsEmpty(Control.GetLabel(789))
IntegerGreaterThan(Container(9010).NumItems,0)
2. Did you cut and paste code for the main menu? It looks to me that the intent of the design should be that all the required elements for the wraplist and ffixedlist options should be part of the ManMenuListWrapped and MainMenuListFixed includes and NOT in MainMenuListContent include. This last include should only contain the <content></content> from the FallbackMenu include I would think.
But since your FallbackMenu include is broken (no such bool as <include condition="IsEmpty(Skin.String(Videos))> You're never going to have any content in your main menu I'm afraid.
I recommend you go back over the skinning changes for Krypton and Leia and get a list of all the bool changes which IIRC were optional in Krypton and mandatory in Leia and do a global find and replace e.g find "IsEmpty" replace with "String.IsEmpty"
scott s.
.
Posts: 442
Joined: Mar 2018
Reputation:
13
Did some more searching out old bools, migrating some old code to new, got my DialogueVideoInfo working fully (I believe) but have found my custom view I built last year doesn't work. That's a problem for another day though as the sub-menu from my home screen still doesn't work. I took the changes backwards into Krypton and I have the same issue there. I used the old Home_Includes with all the other changes and still no sub-menu. I'm a bit stumped there now. But still trying.
Really appreciate all who've helped me get to this point.
Posts: 442
Joined: Mar 2018
Reputation:
13
Alright more work put in and I've figured out the sub-menu. Works sort of like it did but not also it's a wraplist. Only trouble I'm having is working a fade animation to get the text to fade in after a delay but fade out quickly when focus moves off. Otherwise good to go!
A few more tweaks to things that have changed and I'm almost up and running. Needing to explore some addon options that no longer seem to function however.
Always appreciate the time people put in reading and offering advice. Same with my neighbor popping his head under the hood of my car now and then. Only I can't give my thanks with a cold beer and some dogs on the BBQ to all you folks!
Cheers!