[
https://issues.apache.org/jira/browse/PIVOT-749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13040556#comment-13040556
]
Edgar Merino commented on PIVOT-749:
------------------------------------
I've found the problem, back when pivot was in incubation, I developed the
ScaleTransiton class and I remembered it did not had this bug. I have an old
copy of a svn snapshot of more than a year ago, and there's a little variable
that fixes this bug in class org.apache.pivot.wtk.effects.Transition. I've
attached the diff so you can verify the change, and it would be nice to know
why it was changed in newer versions.
> Transitions bug
> ---------------
>
> Key: PIVOT-749
> URL: https://issues.apache.org/jira/browse/PIVOT-749
> Project: Pivot
> Issue Type: Bug
> Components: wtk-effects
> Affects Versions: 2.0
> Environment: OS: Arch64
> JVM: HotSpot 1.6.0_25
> Reporter: Edgar Merino
> Attachments: TestTransition.java, Transition.diff
>
>
> Working with Transitions and ComponentMouseListeners, seems like reversing is
> not keeping up when mouse events happen too quickly. Attached is a test case
> where the bug can be reproduced: Hover the mouse quickly twice
> (mouseOver-mouseOut-mouseOver-mouseOut) over the component to see the bug.
> I've made some tests and it seems Transition#getPercentCompleted() reports a
> wrong value which is causing this behaviour, but I haven't been able to
> tackle the exact cause of the issue.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira