You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Edgar Merino (JIRA)" <ji...@apache.org> on 2011/05/28 00:40:47 UTC
[jira] [Created] (PIVOT-749) Transitions bug
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
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
[jira] [Updated] (PIVOT-749) Transitions bug
Posted by "Edgar Merino (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIVOT-749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Edgar Merino updated PIVOT-749:
-------------------------------
Attachment: Transition2.patch
I'm proposing a new patch (Transition2.patch) for this, a simpler one that also doesn't change previous functionality of the Transition class at all.
> 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
> Priority: Minor
> Fix For: 2.0.1
>
> Attachments: TestTransition.java, Transition.diff, Transition2.patch
>
>
> 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
[jira] [Updated] (PIVOT-749) Transitions bug
Posted by "Edgar Merino (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIVOT-749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Edgar Merino updated PIVOT-749:
-------------------------------
Attachment: TestTransition.java
> 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
>
>
> 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
[jira] [Resolved] (PIVOT-749) Transitions bug
Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIVOT-749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Greg Brown resolved PIVOT-749.
------------------------------
Resolution: Fixed
> 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
> Priority: Minor
> Fix For: 2.0.1
>
> Attachments: PIVOT-749.patch, TestTransition.java, Transition.diff, Transition2.patch
>
>
> 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
[jira] [Updated] (PIVOT-749) Transitions bug
Posted by "Edgar Merino (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIVOT-749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Edgar Merino updated PIVOT-749:
-------------------------------
Attachment: Transition.diff
> 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
[jira] [Commented] (PIVOT-749) Transitions bug
Posted by "Sandro Martini (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIVOT-749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13040591#comment-13040591 ]
Sandro Martini commented on PIVOT-749:
--------------------------------------
Some info here: http://apache-pivot-users.399431.n3.nabble.com/Transitions-bug-td2991271.html
> 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
> Priority: Minor
> Fix For: 2.0.1
>
> 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
[jira] [Updated] (PIVOT-749) Transitions bug
Posted by "Sandro Martini (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIVOT-749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sandro Martini updated PIVOT-749:
---------------------------------
Fix Version/s: 2.0.1
> 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
> Priority: Minor
> Fix For: 2.0.1
>
> 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
[jira] [Updated] (PIVOT-749) Transitions bug
Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIVOT-749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Greg Brown updated PIVOT-749:
-----------------------------
Attachment: PIVOT-749.patch
Hi Edgar,
Can you apply the attached patch (PIVOT-749.patch) and let me know if it resolves your problem? Thanks.
Greg
> 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
> Priority: Minor
> Fix For: 2.0.1
>
> Attachments: PIVOT-749.patch, TestTransition.java, Transition.diff, Transition2.patch
>
>
> 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
[jira] [Updated] (PIVOT-749) Transitions bug
Posted by "Edgar Merino (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIVOT-749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Edgar Merino updated PIVOT-749:
-------------------------------
Priority: Minor (was: Major)
> 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
> Priority: Minor
> 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
[jira] [Commented] (PIVOT-749) Transitions bug
Posted by "Edgar Merino (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIVOT-749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13040557#comment-13040557 ]
Edgar Merino commented on PIVOT-749:
------------------------------------
By the way, it may be that those changes where made by me, perhaps that's the reason why it's not included in the current version. I remember I spent some time with transations back then, and this bugs seems familiar to me, I made some changes directly in the svn code but I guess I forgot to report some of them.
> 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
> Priority: Minor
> 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
[jira] [Commented] (PIVOT-749) Transitions bug
Posted by "Edgar Merino (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIVOT-749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042888#comment-13042888 ]
Edgar Merino commented on PIVOT-749:
------------------------------------
Hello Greg, I can confirm the supplied patch (PIVOT-749.patch) solves the problem, thank you!
> 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
> Priority: Minor
> Fix For: 2.0.1
>
> Attachments: PIVOT-749.patch, TestTransition.java, Transition.diff, Transition2.patch
>
>
> 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
[jira] [Commented] (PIVOT-749) Transitions bug
Posted by "Edgar Merino (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Closed] (PIVOT-749) Transitions bug
Posted by "Roger Whitcomb (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIVOT-749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roger Whitcomb closed PIVOT-749.
--------------------------------
Looks like the patch has been applied, and verified. So I am closing the issue.
> 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
> Priority: Minor
> Fix For: 2.0.1
>
> Attachments: PIVOT-749.patch, TestTransition.java, Transition2.patch, 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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira