(Solved, kind of) Possible Gotham bug with multiline labels?
#1
Bug 
Hi Guys,

Have just noticed that code that worked fine for Frodo does not do the same thing under Gotham. When using auto width labels that are multi-lined the string is split too early and as a result the entire string is no longer shown. for example:-

Frodo

The Big Bang (7)
Theory

Gotham

The (7)
Big

code I am using is as follows
PHP Code:
        <control type="grouplist">
            <
posx>946</posx>
            <
posy>35</posy>
            <
width>365</width>
            <
height>72</height>
            <
align>left</align>
            <
aligny>center</aligny>
            <
orientation>horizontal</orientation>
            <
control type="label"><!-- Video screen heading -->
                <
width max="275">auto</width>
                <
height>72</height>
                <
label>$VAR[VideoHeadings]</label>
                <
font>font18</font>
                <
wrapmultiline>true</wrapmultiline>
                <
aligny>top</aligny>
            </
control>
            <
control type="label"><!-- Number of file (Use if home menu type is not vertical) -->
                <
visible>Skin.HasSetting(homemenu-horizontal) | [!Skin.HasSetting(homemenu-vertical) + !Skin.HasSetting(homemenu-horizontal)]</visible>
                <
width>90</width>
                <
height>72</height>
                <
label>$INFO[Container.NumItems,(,)]</label>
                <
aligny>top</aligny>
            </
control>
        </
control

So is this a bug, or am I doing something wrong under Gotham?

Wyrm (xTV-SAF)
If required a FULL debug log can now be submitted from the skin in settings->skin settings->support. Or follow instructions here if you can't access skin settings.

FAQ's located at :- http://kodi.wiki/view/Add-on:AppTV
Reply
#2
What are the <posx> and <posy> and/or <left>, <top> etc. you are using for labels (from defaults.xml) ?
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
(2014-05-10, 00:39)jmarshall Wrote: What are the <posx> and <posy> and/or <left>, <top> etc. you are using for labels (from defaults.xml) ?
jmarshall,

here is a copy of my label control from my defaults.xml file
PHP Code:
    <default type="label">
        <
font>font13</font>
        <
scroll>false</scroll>
        <
scrollsuffix• </scrollsuffix>
        <
textcolor>button-text</textcolor>
        <
shadowcolor>shadow-text</shadowcolor>
        <
invalidcolor>invalid-text</invalidcolor>
        <
selectedcolor>listselected-text</selectedcolor>
        <
aligny>center</aligny>
    </default> 
I have made sure that all positional tags have been stripped from the defaults.xml file as per your previous posts on the subject, so did not think that was the problem. I have been bitten by missing <width> tags in some controls with Gotham, but that would not appear to be the issue here. I'm pretty sure I've covered all the bases here, but I'm willing to have someone point out any stupid mistakes I've made.

Wyrm (xTV-SAF)
If required a FULL debug log can now be submitted from the skin in settings->skin settings->support. Or follow instructions here if you can't access skin settings.

FAQ's located at :- http://kodi.wiki/view/Add-on:AppTV
Reply
#4
Yeah - just checking it's not due to some weird posx/posy stuff. Will take a nosy through the code and see if anything jumps out.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#5
Ok, I have a potential fix in my label_auto_width_fix branch.

Test builds on the way (these will be Helix alpha, so you may want to run them portable if you're not ready to switch to Helix alpha just yet!)

Cheers,
Jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#6
(2014-05-10, 08:20)jmarshall Wrote: Ok, I have a potential fix in my label_auto_width_fix branch.

Test builds on the way (these will be Helix alpha, so you may want to run them portable if you're not ready to switch to Helix alpha just yet!)

Cheers,
Jonathan
Jonathan,

Thanks mate, I take it that this will also make 13.1 when that drops as well.

Wyrm (xTV-SAF)
If required a FULL debug log can now be submitted from the skin in settings->skin settings->support. Or follow instructions here if you can't access skin settings.

FAQ's located at :- http://kodi.wiki/view/Add-on:AppTV
Reply
#7
This is the testbuild for OSX:

http://mirrors.xbmc.org/test-builds/osx/...x86_64.dmg

Not sure what platform you need - looks like win32 didn't build.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#8
(2014-05-11, 03:59)jmarshall Wrote: This is the testbuild for OSX:

http://mirrors.xbmc.org/test-builds/osx/...x86_64.dmg

Not sure what platform you need - looks like win32 didn't build.
Jonathan,

No sorry mate, dev system is running Win7 and lookout anyone that messes with the Boss's Catchup Tv on the AppleTV ;-)

Wyrm (xTV-SAF)
If required a FULL debug log can now be submitted from the skin in settings->skin settings->support. Or follow instructions here if you can't access skin settings.

FAQ's located at :- http://kodi.wiki/view/Add-on:AppTV
Reply
#9
http://mirrors.xbmc.org/test-builds/win3...th_fix.exe

Cheers,
Jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#10
(2014-05-12, 00:29)jmarshall Wrote: http://mirrors.xbmc.org/test-builds/win3...th_fix.exe

Cheers,
Jonathan
Jonathan,

After remembering the changes that prompted the 5.0.2 gui change everything worked fine. Behavior now back to the way that Frodo handled things. Thanks for the help, oh BTW this will be Helix and Gotham 13.x material I take it?

Wyrm (xTV-SAF)
If required a FULL debug log can now be submitted from the skin in settings->skin settings->support. Or follow instructions here if you can't access skin settings.

FAQ's located at :- http://kodi.wiki/view/Add-on:AppTV
Reply
#11
Great. I'll get it into Helix now and schedule for Gotham backport (13.1 or 13.2, depending on what happens with the 13.1 beta which is already available for download).

Cheers,
Jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#12
(2014-05-12, 08:57)jmarshall Wrote: Great. I'll get it into Helix now and schedule for Gotham backport (13.1 or 13.2, depending on what happens with the 13.1 beta which is already available for download).

Cheers,
Jonathan
Jonathan,

I noticed that this missed the beta 2 release of 13.1 despite it being available way before the release of beta 2. Could you please flag this for RC1?

Wyrm (xTV-SAF)

PS, also pretty sure Sranshaft's related issue did not get included in Beta 2 as well, so probably need this flagged as well.
If required a FULL debug log can now be submitted from the skin in settings->skin settings->support. Or follow instructions here if you can't access skin settings.

FAQ's located at :- http://kodi.wiki/view/Add-on:AppTV
Reply

Logout Mark Read Team Forum Stats Members Help
(Solved, kind of) Possible Gotham bug with multiline labels?0