[confirm] Not using flipY and diffuse on image disables fade-animations on text (1 Viewer)

pilehave

Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    I still haven't figured out why this is happening, but I can tell you how to recreate this bug:


    1. Open Blue3wide skin folder
    2. Open "myradio.xml" for editing
    3. remove the following snippet of code (~ line 242):

      Code:
          <control>
            <type>image</type>
            <id>1</id>
            <posX>71</posX>
            <posY>187</posY>
            <width>233</width>
            <height>210</height>
            <texture flipY="true" diffuse="Thumb_Mask.png">Picture_cover.png</texture>
            <visible>[facadeview.list|facadeview.album]+[Control.HasFocus(50)]</visible>
            <animation effect="fade" time="250" reversible="false">visible</animation>
          </control>
    4. Start MediaPortal with Blue3wide as the selected skin
    5. Choose "Radio" from default home menu
    6. Press "H" to go back to home
    7. Observe how the fade-animation on the time and date label has gone.

    If you have trouble seeing the missing fade-animation, you can edit "common.time.xml" and change the time value from 250 to 2500. This should fade the label in/out in 2.5 seconds (each way).

    The part of the snippet we just removed which makes this trouble is the attributes of "flipY" and "diffuse". If we don't delete the control, but just remove these attributes, leaving this code behind:

    Code:
        <control>
          <type>image</type>
          <id>1</id>
          <posX>71</posX>
          <posY>187</posY>
          <width>233</width>
          <height>210</height>
          <texture>Picture_cover.png</texture>
          <visible>[facadeview.list|facadeview.album]+[Control.HasFocus(50)]</visible>
          <animation effect="fade" time="250" reversible="false">visible</animation>
        </control>

    you can see that this also removes the fade animation.

    All other windows are unaffected, so you can choose "Music" from default home menu and see that the fade animation actually is there. It is just disabled in "Radio" because of the control we changed in this screen.

    Needless to say I spend a LOT of time figuring this out... :mad:

    This bug is present in 1.2.0 Alpha as well as all SVN version I have tried.
     

    Users who are viewing this thread

    Top Bottom