Mailing List Archive

<scroll direction="left" /> and errors in FE log ?
Hi,
I just give try Ted's new commits for MythMediaStream.
Mythfrontend log has following errors:

"E \'buttontext\' (base.xml:858): and are not combinable."

Relevant section in base.xml is following:

<textarea name="buttontext" from="textarea_base">
<area>20,0,275,40</area>
<scroll direction="left" />
<alpha>255</alpha>
</textarea>

However visual effect is OK.

It this MythUI bug or rather error in above statement ?

-br
Re: <scroll direction="left" /> and errors in FE log ? [ In reply to ]
On Wed, Aug 29, 2012 at 2:20 PM, Warpme <warpme@o2.pl> wrote:
> Hi,
> I just give try Ted's new commits for MythMediaStream.
> Mythfrontend log has following errors:
>
> "E \'buttontext\' (base.xml:858): and are not combinable."
>
> Relevant section in base.xml is following:
>
> <textarea name="buttontext" from="textarea_base">
> <area>20,0,275,40</area>
> <scroll direction="left" />
> <alpha>255</alpha>
> </textarea>
>
> However visual effect is OK.
>
> It this MythUI bug or rather error in above statement ?

What is the definition of "textarea_base"?


John
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
_______________________________________________
mythtv-theming mailing list
mythtv-theming@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-theming
Re: <scroll direction="left" /> and errors in FE log ? [ In reply to ]
On 8/29/12 10:51 PM, John P Poet wrote:
> On Wed, Aug 29, 2012 at 2:20 PM, Warpme <warpme@o2.pl> wrote:
>> Hi,
>> I just give try Ted's new commits for MythMediaStream.
>> Mythfrontend log has following errors:
>>
>> "E \'buttontext\' (base.xml:858): and are not combinable."
>>
>> Relevant section in base.xml is following:
>>
>> <textarea name="buttontext" from="textarea_base">
>> <area>20,0,275,40</area>
>> <scroll direction="left" />
>> <alpha>255</alpha>
>> </textarea>
>>
>> However visual effect is OK.
>>
>> It this MythUI bug or rather error in above statement ?
> What is the definition of "textarea_base"?
>
>
> John
Oops, forgot to add this info...

<textarea name="textarea_base">
<area>0,0,100,35</area>
<font>normal</font>
<multiline>no</multiline>
<cutdown>yes</cutdown>
<case>upper</case>
<align>left,vcenter</align>
</textarea>

<fontdef name="normal" from="mediastreamalt">
<color>#FFFFFF</color>
<pixelsize>25</pixelsize>
<stretch>extracondensed</stretch>
<weight>normal</weight>
<shadowcolor>#000000</shadowcolor>
<shadowoffset>1,1</shadowoffset>
<shadowalpha>255</shadowalpha>
</fontdef>

<fontdef name="mediastreamalt" face="MediaStreamALT">
<pixelsize>22</pixelsize>
</fontdef>
Re: <scroll direction="left" /> and errors in FE log ? [ In reply to ]
On Wed, Aug 29, 2012 at 3:07 PM, Warpme <warpme@o2.pl> wrote:
> On 8/29/12 10:51 PM, John P Poet wrote:
>>
>> On Wed, Aug 29, 2012 at 2:20 PM, Warpme <warpme@o2.pl> wrote:
>>>
>>> Hi,
>>> I just give try Ted's new commits for MythMediaStream.
>>> Mythfrontend log has following errors:
>>>
>>> "E \'buttontext\' (base.xml:858): and are not combinable."
>>>
>>> Relevant section in base.xml is following:
>>>
>>> <textarea name="buttontext" from="textarea_base">
>>> <area>20,0,275,40</area>
>>> <scroll direction="left" />
>>> <alpha>255</alpha>
>>> </textarea>
>>>
>>> However visual effect is OK.
>>>
>>> It this MythUI bug or rather error in above statement ?
>>
>> What is the definition of "textarea_base"?
>>
>>
>> John
>
> Oops, forgot to add this info...
>
> <textarea name="textarea_base">
> <area>0,0,100,35</area>
> <font>normal</font>
> <multiline>no</multiline>
> <cutdown>yes</cutdown>
> <case>upper</case>
> <align>left,vcenter</align>
> </textarea>
>
> <fontdef name="normal" from="mediastreamalt">
> <color>#FFFFFF</color>
> <pixelsize>25</pixelsize>
> <stretch>extracondensed</stretch>
> <weight>normal</weight>
> <shadowcolor>#000000</shadowcolor>
> <shadowoffset>1,1</shadowoffset>
> <shadowalpha>255</shadowalpha>
> </fontdef>
>
> <fontdef name="mediastreamalt" face="MediaStreamALT">
> <pixelsize>22</pixelsize>
> </fontdef>


I am not seeing anything obviously wrong there. I will take a look at
it either tonight or tomorrow night.


John
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
_______________________________________________
mythtv-theming mailing list
mythtv-theming@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-theming
Re: <scroll direction="left" /> and errors in FE log ? [ In reply to ]
On Sun, Sep 2, 2012 at 2:35 AM, Ted Verhagen <ted.verhagen@gmail.com> wrote:
> If it appears to be an error in the xml theme code, please report an issue on my theme project site:
>
> http://code.google.com/p/mythmediastream/
>
> So I can look into it and fix...
>
> Cheers, Ted.

Ah! Right. The error message posted was incomplete for some reason.
It is complaining about having both <cutdown> and <scroll> enabled.
When I first looked at the xml, I was thinking it was complaining
about <scroll> and <multiline>, and thought the error message was bad
since <multiline> was being set to no.

John
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
_______________________________________________
mythtv-theming mailing list
mythtv-theming@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-theming
Re: <scroll direction="left" /> and errors in FE log ? [ In reply to ]
>> If it appears to be an error in the xml theme code, please report an issue on my theme project site:
>>
>> http://code.google.com/p/mythmediastream/
>>
>> So I can look into it and fix...
>>
>> Cheers, Ted.
>
> Ah! Right. The error message posted was incomplete for some reason.
> It is complaining about having both <cutdown> and <scroll> enabled.
> When I first looked at the xml, I was thinking it was complaining
> about <scroll> and <multiline>, and thought the error message was bad
> since <multiline> was being set to no.
>
> John

Did have a look at the theme xml code as well and came to the same
conclusion. I changed the code accordingly and it will be fixed in the
next update of the theme...
_______________________________________________
mythtv-theming mailing list
mythtv-theming@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-theming