Posts: 1,157
Joined: Aug 2014
Reputation:
48
Jayz2K
Skilled Skinner
Posts: 1,157
2016-04-28, 17:42
(This post was last modified: 2016-04-28, 19:55 by Jayz2K.)
I noticed that all containers are keeping <focusedlayout> active when leaving the container focus area, excepted panel container ?
Is this a bug or normal behavior ?
While I'm building a panel customization preview, it's impossible to see the <focusedlayout> rendered if the focus is on another container than the panel itself.
However, the current item seems to have focus since infolabels outside the container display correctly ...
Cheers.
[Skin] KOver - V1.1.0 Stable (Repo version)
[WIP] ReKOver - Skinning tool project
If I've been helpful or you like my work, hit "THANK USER" button ;) ...
Posts: 3,919
Joined: Jul 2010
Reputation:
154
BigNoid
Team-Kodi Member
Posts: 3,919
This is normal behavior, or at least has been like that as far as I can remember. I find it quite useful for not having to code visibilty checks for when the container doesnt have focus.
Posts: 445
Joined: Sep 2015
Reputation:
1
I know you didnt ask, but I think the panel container is the only one doing it right.
Posts: 445
Joined: Sep 2015
Reputation:
1
Well.. some of us have many panels and then it begins to get pretty awkward with the focuses..:-)
Posts: 445
Joined: Sep 2015
Reputation:
1
In my humble opinion it would be a nice addition to lists if the whole focus stuff got revisited. Have a bool to togfle the "keeps focus even if list has no focus", and perhaps even new layout types, and have the focusedlayout be optional. But since this is all based on the fun principle there is noone but us to code it. ;-)
Posts: 445
Joined: Sep 2015
Reputation:
1
Sorry. I ment it as a suggestion.