[mythtv] GetMainStack() vs GetStack("popup stack")

Stuart Morgan stuart at tase.co.uk
Fri Sep 11 08:34:12 UTC 2009


On Friday 11 Sep 2009 06:16:49 David Engel wrote:
> Can one of the UI people please tell me the difference between the
> following lines?  I'm particularly interested in what is required of
> themes in the latter case.
> 
> 	GetMythMainWindow()->GetMainStack()
> 	GetMythMainWindow()->GetStack("popup stack")
> 
> The ScheduleCommon::EditRecording() popup has been broken for about a
> week now in the less flashy themes like MythCenter and G.A.N.T that I
> still prefer to use.

Well without getting into a long explanation of what window stacks are in 
mythui. The former is for main screens, and the latter for popups - but what 
is a popup and what is a 'main' screen is difficult to define, normally being 
a matter of judgement. No screen in mythui has to be fullscreen nor do popups 
have to be less than fullscreen.

I've just checked with a theme that falls back to the defaults and I can see 
the problem is just that the dialog lacks a background, I'll have a fix in svn 
in a few minutes.
-- 
Stuart Morgan


More information about the mythtv-dev mailing list