OK, here's a qml file that you can run with qmlscene on your desktop.
Put it in the same folder as horizontal.jpg and vertical.jpg.

When switching between a portrait and landscape source and sourceSize,
you can see that CrossFadeImage goes transparent a bit (showing the red
underneath in this example).

You can also see that it may end up showing the wrong source!  I hadn't
noticed that in my earlier testing because I had source and sourceSize
in a different order in the code.

If sourceSize is listed first (and thus changes first when isLandscape
does), the right source always gets displayed (though you still see red
bleed through).  But if sourceSize is listed second (as it is in
crossfade.qml), you get red bleed through AND the wrong source may be
displayed after a source change.

** Attachment added: "crossfade.qml"
   
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1599203/+attachment/4717520/+files/crossfade.qml

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1599203

Title:
  CrossFadeImage: modifying sourceSize causes transparent image

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1599203/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to