[mythtv-theming] using nodetype outside a buttonlist
rjmorris.list at zoho.com
Mon Aug 12 01:26:23 UTC 2013
Jean-Yves Avenard <jyavenard at gmail.com> wrote on Mon, Aug 12, 2013 at 09:23:25AM +1000:
> On Monday, 12 August 2013, Joey Morris wrote:
> > In the video library, I'm unable to get the nodetype statetype to work
> > outside the buttonlist. By "not working", I mean the content
> > associated with the subfolder state isn't displayed when a subfolder
> > is selected. When I turn on widget borders and widget names, I can see
> > nodetype's border but not subfolder's border. This is my nodetype
> > definition:
> A state really only exists for the object it's assigned to. It's not
> available to all elements, not event to sub-children.
> So if the code set a state to the child XX of an object YY, that statetype
> is only available for XX as child of YY.
> > Does anyone have thoughts on whether I'm doing something wrong or if
> > this is a bug? Are there better workarounds than what I tried?
> It's not a bug ; that's just not how statetype works... Personally I think
> that it could be improved and a statetype should be available at list to
> all children (including children of children) but at this stage it's not.
Is the nodetype statetype different from other statetypes in this
regard? The videolevel and trailerstate statetypes do both work
outside the buttonlist, so it seems natural that nodetype would behave
the same way.
More information about the mythtv-theming