Kodi Community Forum

Full Version: Change in nightlies (compared to Dharma) that might cause this?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi,

I have a viewtype (horizontal wraplist) that's appearing differently in the nightlies compared to dharma. I'm seeing it when there are a low number of items in the list. Both skin copies are identical...


Dharma...

Image


Nightlies...

Image


Any ideas what might be causing this? A change or bug? Other skins appear ok i think. As mentioned above, both skin copies are identical.

Here's the viewtype code...

PHP Code:
<includes>
    <include 
name="Viewtype 3011 Video Poster">
    
        <
control type="group">    
            <
visible>Control.IsVisible(3011)</visible>    
    
    
            <!-- 
Poster Light -->    
            <
control type="image">
                <include>
Fullscreen Dimensions</include>
                <include>
Animation Standard</include>    
                <
texture>views/poster/poster_light.png</texture>
            </
control>
            <!-- 
Poster Light (End) -->    
                        
            

            <!-- 
Posters -->                        
            <
control type="group">
                <include>
Animation Left/Right Slide</include>            
                <
control type="wraplist" id="3011">
                    <
visible>Window.IsVisible(videolibrary) + [Container.Content(movies) | Container.Content(tvshows) | Container.Content(seasons)]</visible>
                    <
posx>1</posx>
                    <
posy>150</posy>
                    <
height>350</height>
                    <
width>1480</width>
                    <
onup>300</onup>
                    <
ondown>60</ondown>
                    <
onleft>3011</onleft>
                    <
onright>3011</onright>
                    <
focusposition>3</focusposition>
                    <
scrolltime>160</scrolltime>
                    <
preloaditems>2</preloaditems>
                    <
viewtype label="91102">list</viewtype>
                    <
orientation>horizontal</orientation>
                    <
pagecontrol>60</pagecontrol>
                    <
itemlayout width="177" height="350">
                        <
control type="image">
                            <
posx>7</posx>
                            <
posy>50</posy>
                            <
width>164</width>
                            <
height>275</height>
                            <
texture>defaultposterback.png</texture>
                            <
bordertexture border="35">common/shadow.png</bordertexture>
                            <
bordersize>0,0,0,35</bordersize>
                            <
aspectratio>stretch</aspectratio>    
                            <
visible>SubString(ListItem.Icon,DefaultFolderBack.png,Left)</visible>                            
                        </
control>                        
                        <
control type="image">
                            <
posx>7</posx>
                            <
posy>50</posy>
                            <
width>164</width>
                            <
height>275</height>
                            <
texture background="true" fallback="defaultvideoposter.png">$INFO[ListItem.Icon]</texture>
                            <
bordertexture border="35">common/shadow.png</bordertexture>
                            <
bordersize>0,0,0,35</bordersize>
                            <
aspectratio>stretch</aspectratio>    
                            <
visible>!SubString(ListItem.Icon,DefaultFolderBack.png,Left)</visible>                            
                        </
control>                                                
                    </
itemlayout>
                    <
focusedlayout width="214" height="350">
                        <
control type="image">
                            <
posx>5</posx>
                            <
posy>0</posy>
                            <
width>205</width>
                            <
height>345</height>
                            <
texture>defaultposterback.png</texture>
                            <
bordertexture border="35">common/shadow.png</bordertexture>
                            <
bordersize>0,0,0,35</bordersize>
                            <
aspectratio>stretch</aspectratio>
                            <
animation effect="zoom" center="97,155" start="51" end="100" time="400" tween="back" easing="out" reversible="false">Focus</animation>    
                            <
visible>SubString(ListItem.Icon,DefaultFolderBack.png,Left)</visible>                                    
                        </
control>                        
                        <
control type="image">
                            <
posx>5</posx>
                            <
posy>0</posy>
                            <
width>205</width>
                            <
height>345</height>
                            <
texture background="true" fallback="defaultvideoposter.png">$INFO[ListItem.Icon]</texture>
                            <
bordertexture border="35">common/shadow.png</bordertexture>
                            <
bordersize>0,0,0,35</bordersize>
                            <
aspectratio>stretch</aspectratio>
                            <
animation effect="zoom" center="107,155" start="51" end="100" time="400" tween="back" easing="out" reversible="false">Focus</animation>    
                            <
visible>!SubString(ListItem.Icon,DefaultFolderBack.png,Left)</visible>                            
                        </
control>                                
                    </
focusedlayout>
                </
control>
                <
control type="scrollbar" id="60">
                    <
posx>40</posx>
                    <
posy>496</posy>
                    <
width>1200</width>
                    <
height>5</height>
                    <
visible allowhiddenfocus="true">Control.IsVisible(3011) + Control.HasFocus(60)</visible>
                    <
texturesliderbackground>common/scroll_back.png</texturesliderbackground>
                    <
texturesliderbarfocus>common/scroll_bar_focus.png</texturesliderbarfocus>
                    <
texturesliderbar>common/scroll_bar.png</texturesliderbar>
                    <
onup>3011</onup>
                    <
ondown>61</ondown>                    
                    <
showonepage>true</showonepage>
                    <
orientation>horizontal</orientation>
                </
control>
            </
control>            
            <!-- 
Posters (End) -->                
            
    
        </
control>        
    </include>
</
includes


Cheers!
To expand on the nightly behaviour, if the list has more items in it, the missing 2 posters reappear, however scrolling left doesn't appear correctly.

Instead of sliding smoothly off the screen, the left most poster disappears when scrolling, then reappears when the scrolling has stopped.
I'm also seeing it with this viewtype...

PHP Code:
<includes>
    <include 
name="Viewtype 3021 Video TV Episode Landscape">
    
        <
control type="group">    
            <
visible>Control.IsVisible(3021)</visible>    
    
    
            <!-- 
Poster Light -->    
            <
control type="image">
                <include>
Fullscreen Dimensions</include>
                <include>
Animation Standard</include>    
                <
texture>views/poster/small_poster_light.png</texture>
            </
control>
            <!-- 
Poster Light (End) -->    
            
                        

            <!-- 
TV Landscape (Episodes) -->        
            <
control type="group">
                <include>
Animation Left/Right Slide</include>
                <
control type="wraplist" id="3021">
                    <
visible>Window.IsVisible(videolibrary) + Container.Content(episodes)]</visible>
                    <
posx>-322</posx>
                    <
posy>190</posy>
                    <
height>310</height>
                    <
width>1680</width>
                    <
onup>300</onup>
                    <
ondown>60</ondown>
                    <
onleft>3021</onleft>
                    <
onright>3021</onright>
                    <
focusposition>2</focusposition>
                    <
scrolltime>160</scrolltime>
                    <
preloaditems>2</preloaditems>
                    <
viewtype label="91104">list</viewtype>
                    <
orientation>horizontal</orientation>
                    <
pagecontrol>60</pagecontrol>
                    <
itemlayout width="370" height="310">
                        <
control type="image">
                            <
posx>7</posx>
                            <
posy>55</posy>
                            <
width>350</width>
                            <
height>233</height>
                            <
texture>defaultlandscapeback.png</texture>
                            <
bordertexture border="35">common/shadow.png</bordertexture>
                            <
bordersize>0,0,0,35</bordersize>
                            <
aspectratio>stretch</aspectratio>    
                            <
visible>SubString(ListItem.Icon,DefaultFolderBack.png,Left)</visible>                            
                        </
control>                        
                        <
control type="image">
                            <
posx>7</posx>
                            <
posy>55</posy>
                            <
width>350</width>
                            <
height>233</height>
                            <
texture background="true" fallback="defaultvideolandscape.png">$INFO[ListItem.Icon]</texture>
                            <
bordertexture border="35">common/shadow.png</bordertexture>
                            <
bordersize>0,0,0,35</bordersize>
                            <
aspectratio>stretch</aspectratio>
                            <
visible>!SubString(ListItem.Icon,DefaultFolderBack.png,Left)</visible>                                        
                        </
control>
                        <
control type="image">
                            <
posx>7</posx>
                            <
posy>55</posy>
                            <
width>350</width>
                            <
height>198</height>
                            <
texture>common/frame_landscape.png</texture>                
                        </
control>                                
                        <
control type="image">
                            <
posx>7</posx>
                            <
posy>55</posy>
                            <
width>350</width>
                            <
height>198</height>
                            <
texture>common/overlay_nf.png</texture>
                        </
control>                                                
                    </
itemlayout>
                    <
focusedlayout width="448" height="310">
                        <
control type="image">
                            <
posx>5</posx>
                            <
posy>18</posy>
                            <
width>428</width>
                            <
height>285</height>
                            <
texture>defaultlandscapeback.png</texture>
                            <
bordertexture border="35">Common/Shadow.png</bordertexture>
                            <
bordersize>0,0,0,35</bordersize>
                            <
aspectratio>stretch</aspectratio>
                            <
animation effect="zoom" center="219,137" start="51" end="100" time="400" tween="back" easing="out" reversible="false">Focus</animation>    
                            <
visible>SubString(ListItem.Icon,DefaultFolderBack.png,Left)</visible>                                
                        </
control>        
                    <
control type="image">
                            <
posx>5</posx>
                            <
posy>18</posy>
                            <
width>428</width>
                            <
height>285</height>
                            <
texture background="true" fallback="defaultvideolandscape.png">$INFO[ListItem.Icon]</texture>
                            <
bordertexture border="35">Common/Shadow.png</bordertexture>
                            <
bordersize>0,0,0,35</bordersize>
                            <
aspectratio>stretch</aspectratio>
                            <
animation effect="zoom" center="219,137" start="51" end="100" time="400" tween="back" easing="out" reversible="false">Focus</animation>    
                            <
visible>!SubString(ListItem.Icon,DefaultFolderBack.png,Left)</visible>                                    
                        </
control>                            
                    </
focusedlayout>
                </
control>
                <
control type="scrollbar" id="60">
                    <
posx>40</posx>
                    <
posy>496</posy>
                    <
width>1200</width>
                    <
height>5</height>
                    <
visible allowhiddenfocus="true">Control.IsVisible(3021) + Control.HasFocus(60)</visible>
                    <
texturesliderbackground>common/scroll_back.png</texturesliderbackground>
                    <
texturesliderbarfocus>common/scroll_bar_focus.png</texturesliderbarfocus>
                    <
texturesliderbar>common/scroll_bar.png</texturesliderbar>
                    <
onup>3021</onup>
                    <
ondown>61</ondown>                    
                    <
showonepage>true</showonepage>
                    <
orientation>horizontal</orientation>
                </
control>
            </
control>    
            <!-- 
TV Landscape (Episodes) (End) -->                    
            
    
        </
control>        
    </include>
</
includes
This behaviour has been in the nightlies for some time now. It is remedied by making the list an exact multiply of the focus and itemlayout width if the width is smaller then 1280, other wise just make it a lot wider, eg move it back 2 x 177 px, make it 4 x177 px wider and move the focusposition up 2 spots.
probably just a workaround, but for now it does the job.

EDIT: It's with all wraplists btw
Big_Noid Wrote:This behaviour has been in the nightlies for some time now. It is remedied by making the list an exact multiply of the focus and itemlayout width if the width is smaller then 1280, other wise just make it a lot wider, eg move it back 2 x 177 px, make it 4 x177 px wider and move the focusposition up 2 spots.
probably just a workaround, but for now it does the job.

Cheers big_noid. I'll have a play. Already tried all manner of changes like that however obviously didn't hit the correct combo.
Big_Noid Wrote:This behaviour has been in the nightlies for some time now. It is remedied by making the list an exact multiply of the focus and itemlayout width if the width is smaller then 1280, other wise just make it a lot wider, eg move it back 2 x 177 px, make it 4 x177 px wider and move the focusposition up 2 spots.
probably just a workaround, but for now it does the job.

EDIT: It's with all wraplists btw

Ok, that's sorted the problem. Thanks!

However one thing i'm seeing with this fix though is scrolling with the scroll bar isn't moving just one page of movies. It's scrolling like a page and half.
Is there anyway of defining how many items scroll bars move?
this sounds like it need fixing not work-arounding Smile
pieh Wrote:this sounds like it need fixing not work-arounding Smile

Agreed! Are you the man to help!!!? Seems like you've had plenty of skinning stuff to sort recently! Wink
Probably the same problem frellAn's having -


frellAn Wrote:I also have some troubles with wraplists, they don't "wrap" as they should when there are fewer items then 1 or 2.

Image

What have you people changed for EDEN? Tongue
Yeah, fix is better. The workaround indeed creates a new problem with the scrollbars, because the scrollbar always scrolls the width of the list.
@ pieh: Do you need a trac ticket for this?
pushed some fixes on this - please try it with next nightly (Aug 31)
Excellent, thanks pieh. Wink
Almost fixed. Still issue where left scrolling makes the far left icon disappear too fast. I made a vid to explain better:

http://www.youtube.com/watch?v=PA5aDKwX3z4
EDIT: Deleted
Pages: 1 2