Kodi Community Forum
Has defaultcontrol changed for Gotham? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+--- Thread: Has defaultcontrol changed for Gotham? (/showthread.php?tid=183165)



Has defaultcontrol changed for Gotham? - Hitcher - 2014-01-12

I'm in the process of updating Alaska HD for Gotham but can't solve a problem that I've encountered with the home window not lining up properly upon start when it worked perfectly fine in Frodo. It involves the dummy list's default control not being set correctly to item 11 (movies) instead it gets set to id 13 (tv shows) even though there's nothing to set that item!

Skin can be downloaded from my repo (see sig).

Thanks.


RE: Has defaultcontrol changed for Gotham? - ronie - 2014-01-13

can't reproduce it at my end.
the movies button gets focused when i enter the home screen.


RE: Has defaultcontrol changed for Gotham? - Hitcher - 2014-01-13

Do you have a disc in the drive? I'm wondering whether that has something to do with it.


RE: Has defaultcontrol changed for Gotham? - MassIV - 2014-01-13

Can reproduce.

With disc
http://i.imgur.com/IjrwlkG.png

Without disc
http://i.imgur.com/BxHjAOG.png

13.0-ALPHA12 Git:20140109-3751d14 (Win32)


RE: Has defaultcontrol changed for Gotham? - ronie - 2014-01-13

yup, same result as MassIV.

i also noticed, without disc, you can't focus the setup button.


RE: Has defaultcontrol changed for Gotham? - Hitcher - 2014-01-13

Thanks for the confirmations. I've also noticed the Music tab has Music Videos selected before you focus on it and that id shouldn't be selected either.

I've tried the oldest nightly (Nov) and it's still present there but I'm sure I was using Gotham builds on my OpenELEC machine last year without this problem so something's been changed.


RE: Has defaultcontrol changed for Gotham? - Hitcher - 2014-01-14

I think I've found what's causing this behaviour -

Changes to GUIBaseContainer.cpp

refactors static content in containers into a list provider class

Jonathan?


RE: Has defaultcontrol changed for Gotham? - FREAKJAM - 2014-01-14

Great so see u back working on Alaska HD Hitcher! Coming back from retirement to revamp Alaska for Gotham is awesome. Kudo's for you sir.


RE: Has defaultcontrol changed for Gotham? - Hitcher - 2014-01-18

To test in Confluence edit Settings.xml.

Add <defaultcontrol>5</defaultcontrol> to the list number 9000 to make Pictures the default control - Pictures is always the default control. Smile

Add <visible>False</visible> to item number 1 - now Weather is the default control even though it's id number is 4. Undecided

So it appears to be using the position instead of the item's id for focus until you remove item 1 altogether and then it goes back to Pictures! Huh


RE: Has defaultcontrol changed for Gotham? - jmarshall - 2014-01-23

Thanks - fixed in 0c58c2fe78c


RE: Has defaultcontrol changed for Gotham? - Hitcher - 2014-01-23

And another thanks Jonathan. Smile