Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311533 - [Animation] Undesired animation on pressed button
Summary: [Animation] Undesired animation on pressed button
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.3   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.3 RC1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-04 08:57 EDT by Tim Buschtoens CLA
Modified: 2010-05-05 08:47 EDT (History)
0 users

See Also:


Attachments
fix (5.42 KB, patch)
2010-05-05 06:35 EDT, Tim Buschtoens CLA
holger.staudacher: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Buschtoens CLA 2010-05-04 08:57:11 EDT
Reproduce:
- Go to examples demo=> theming page
- Hover the animated pretty or fancy button
- Quickly leave the button, then re-enter it and press down.
- The change in the background on press is animated, but shouldn't.
Comment 1 Tim Buschtoens CLA 2010-05-05 06:35:20 EDT
Created attachment 167105 [details]
fix

There were actually two parts on this:

1. The animationRenderer was not deactivated when the animation was restarted by pressing down on the button during the hover-in animation. 

2. Firefox seems to have a bug that fires false "mouseover" events when pressing down after hovering and clicking a div very fast. ( Should be "over" - "down" - "up" - "out" but instead is "over" - "down" - "over" - "up" - "out ).

Tests updated.
Comment 2 Holger Staudacher CLA 2010-05-05 08:47:13 EDT
Patch looks good, tests are green, problem is solved. I applied the patch to
CVS HEAD.