This patch addresses 0002866: Visiblechange animations do not process reverse animations correctly - MediaPortal Bugtracker.
MP currently has no implementation for visiblechange animations. As a result they are processed exactly the same as a visible animation.
This patch creates a corresponding Hidden animation with values reversed.
Skins that have used a visiblechange animation in place of a visible animation will need to change the animation type. Previously it did not matter, but with this patch the hidden animation will now be processed as well.
The default value for a visiblechange animation is reversible='true' to match the default of a visible animation This means that if the animation is interrupted before it has completed processing, it will reverse the animation rather than just halt it (reversible=false)
NOTE: This patch will make the hidden animation bug 0002867: Hidden animations all execute on windowopen - MediaPortal Bugtracker even more apparent. Please see my patch for Fix for Mantis 2867 : Hidden animations all execute on windowopen which addresses this Mantis issue.
I have attached a patch for this fix only, for code review. I have also attached a binary (core.dll) with both patches integrated, for test purposes.
MP currently has no implementation for visiblechange animations. As a result they are processed exactly the same as a visible animation.
This patch creates a corresponding Hidden animation with values reversed.
Skins that have used a visiblechange animation in place of a visible animation will need to change the animation type. Previously it did not matter, but with this patch the hidden animation will now be processed as well.
The default value for a visiblechange animation is reversible='true' to match the default of a visible animation This means that if the animation is interrupted before it has completed processing, it will reverse the animation rather than just halt it (reversible=false)
NOTE: This patch will make the hidden animation bug 0002867: Hidden animations all execute on windowopen - MediaPortal Bugtracker even more apparent. Please see my patch for Fix for Mantis 2867 : Hidden animations all execute on windowopen which addresses this Mantis issue.
I have attached a patch for this fix only, for code review. I have also attached a binary (core.dll) with both patches integrated, for test purposes.
Germany