Bouncy fixedlist
#1
Question 
Greetings!

Hope a more experienced skinner can help me suss out an issue that has me stumped. I converted a control type from list to fixedlist and it does not behave correctly. When the focus position is reached the list does scroll but the button lurches one position in the scroll direction before settling back to the focus position; if that makes any sense.

I've fought this for hours with no luck. Please, if you have any thoughts on the subject, I would love to hear them.

Here's the hunk of code:

Code:
<control type="group" description="Slider and List">
                <posx>1030</posx>
                <posy>141</posy>
                <control type="fixedlist" id="50">
                    <posx>0</posx>
                    <posy>0</posy>
                    <width>830</width>
                    <height>892</height>
                    <onleft>9000</onleft>
                    <onright>70</onright>
                    <onup>50</onup>
                    <ondown>50</ondown>
                    <pagecontrol>70</pagecontrol>
                    <focusposition>4</focusposition>
                    <movement>4</movement>
                    <preloaditems>4</preloaditems>
                    <viewtype label="537">Big List 50</viewtype>
                    <scrolltime easing="inout" tween="sine">280</scrolltime>  
                    <itemlayout height="99">
                        <control type="image">
                            <posx>0</posx>
                            <posy>0</posy>
                            <height>99</height>
                            <width>830</width>
                            <texture flipy="true" border="3">img/ListNF.png</texture>
                        </control>
                        <control type="image" description="TV Logo">
                            <posx>700</posx>
                            <posy>0</posy>
                            <width>90</width>
                            <height>90</height>
                            <texture>$INFO[ListItem.Icon]</texture>
                            <aspectratio>keep</aspectratio>
                        </control>
                        <control type="label" description="Number">
                            <left>0</left>
                            <height>99</height>
                            <width>80</width>
                            <align>center</align>
                            <aligny>center</aligny>
                            <info>ListItem.ChannelNumber</info>
                        </control>
                        <control type="label" description="Main Label">
                            <posx>126</posx>
                            <height>55</height>
                            <width>600</width>
                            <scroll>false</scroll>
                            <label>$INFO[ListItem.Label]</label>
                        </control>
                        <control type="label" description="Label2">
                            <posx>126</posx>
                            <posy>35</posy>
                            <height>60</height>
                            <font>size18</font>
                            <width>600</width>
                            <scroll>false</scroll>
                            <textcolor>Grey</textcolor>
                            <label>$INFO[ListItem.Title]</label>
                        </control>
                    </itemlayout>
                    <focusedlayout height="99">
                        <control type="image">
                            <posx>0</posx>
                            <posy>0</posy>
                            <height>99</height>
                            <width>830</width>
                            <texture flipy="true" border="3">img/ListNF.png</texture>  <!--   -->
                        </control>
                        <control type="image">
                            <posx>0</posx>
                            <posy>0</posy>
                            <width>830</width>
                            <height>99</height>
                            <texture>img/MediaButton2.png</texture>
                        </control>
                        <control type="image" description="TV Logo">
                            <posx>700</posx>
                            <posy>0</posy>
                            <width>90</width>
                            <height>90</height>
                            <texture>$INFO[ListItem.Icon]</texture>
                            <aspectratio>keep</aspectratio>
                        </control>
                        <control type="label" description="Number">
                            <left>0</left>
                            <height>99</height>
                            <width>80</width>
                            <align>center</align>
                            <aligny>center</aligny>
                            <info>ListItem.ChannelNumber</info>
                        </control>
                        <control type="label" description="Main Label">
                            <posx>126</posx>
                            <height>55</height>
                            <width>600</width>
                            <label>$INFO[ListItem.Label]</label>
                        </control>
                        <control type="label" description="Label2">
                            <posx>126</posx>
                            <posy>35</posy>
                            <height>60</height>
                            <font>size18</font>
                            <width>600</width>
                            <textcolor>White2</textcolor>
                            <label>$INFO[ListItem.Title]</label>
                        </control>
                    </focusedlayout>
                </control>
            </control>

Thanks!
Reply
#2
Well the height isn't correct for 9 x 99px items. It should be 891.
Reply
#3
Good catch Hitcher. Unfortunately, no change in behavior.

This link shows the problem I'm having:

Animated gif
Reply
#4
Change the scrolltime to 0 or place the focus texture as a image overlay outside of the fixedlist control and move it with conditional slide animations.
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
#5
(2016-08-29, 00:24)661_ Wrote: Good catch Hitcher. Unfortunately, no change in behavior.

This link shows the problem I'm having:

Animated gif

That's the correct behaviour.
Reply
#6
Quote:That's the correct behaviour.

Odd to hear you say that because in every other fixedlist I've seen the focus texture never budges once in the focus position.

I reckon something like sualfred's suggestion is usually implemented to mitigate the jarring animation. Will give it a try, though not sure I fully comprehend...

Thank you both!
Reply
#7
It's moving onto the next item and because the list has a scroll time set you see that effect.
Reply
#8
(2016-08-29, 10:00)sualfred Wrote: Change the scrolltime to 0 or place the focus texture as a image overlay outside of the fixedlist control and move it with conditional slide animations.

Thank you! Changing scrolltime did the trick. Not as fluid as I would like but good enough until I can figure out your other option.
Reply

Logout Mark Read Team Forum Stats Members Help
Bouncy fixedlist0