Possible broken parser for slideshow background xml



Hello,

It appears the transition tag is broken for background xml format. The
code below as example:

<background>
  <starttime>
    <year>2017</year>
    <month>06</month>
    <day>20</day>
    <hour>07</hour>
    <minute>00</minute>
    <second>00</second>
  </starttime>
<!-- This animation will start at 7 AM. -->

<!-- We start with dawn at 7 AM. It will remain up for 2 hours. -->
<static>
<duration>50.0</duration>
<file>
          <!-- Wide 16:10 -->
        <size width="1920" 
height="1200">/usr/share/backgrounds/f26/default-animated/tv-wide/f26-00-dawn.png</size>
        <!-- Wide 16:9 -->
        <size width="1920" 
height="1200">/usr/share/backgrounds/f26/default-animated/wide/f26-00-dawn.png</size>
        <!-- Standard 4:3 -->
        <size width="2048" 
height="1536">/usr/share/backgrounds/f26/default-animated/standard/f26-00-dawn.png</size>
        <!-- Normalish 5:4 -->
        <size width="1280" 
height="1024">/usr/share/backgrounds/f26/default-animated/normalish/f26-00-dawn.png</size>
</file>
</static>

<!-- Dawn ended and starts to transition to day at 9 AM. The transition lasts for 2 hours, ending at 11 AM. 
-->
<transition>
<duration>10.0</duration>
<from>
          <size width="1920" 
height="1200">/usr/share/backgrounds/f26/default-animated/tv-wide/f26-00-dawn.png</size>
        <size width="1920" 
height="1080">/usr/share/backgrounds/f26/default-animated/wide/f26-00-dawn.png</size>
        <size width="2048" 
height="1536">/usr/share/backgrounds/f26/default-animated/standard/f26-00-dawn.png</size>
        <size width="1280" 
height="1024">/usr/share/backgrounds/f26/default-animated/normalish/f26-00-dawn.png</size>
</from>
<to>
        <size width="1920" 
height="1200">/usr/share/backgrounds/f26/default-animated/tv-wide/f26-01-day.png</size>
        <size width="1920" 
height="1080">/usr/share/backgrounds/f26/default-animated/wide/f26-01-day.png</size>
        <size width="2048" 
height="1536">/usr/share/backgrounds/f26/default-animated/standard/f26-01-day.png</size>
        <size width="1280" 
height="1024">/usr/share/backgrounds/f26/default-animated/normalish/f26-01-day.png</size>
</to>
</transition>

Somehow, the starting image from the transition display a blank instead
as demonstrated by the screencast below:
https://luya.fedorapeople.org/videos/Screencast%20from%2020-05-17%2010:32:45%20PM.webm

Any pointer?

-- 
Luya Tshimbalanga
Graphic & Web Designer
E: luya fedoraproject org
W: http://www.coolest-storm.net




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]