Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 311533

Summary: [Animation] Undesired animation on pressed button
Product: [RT] RAP Reporter: Tim Buschtoens <tbuschto>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.3   
Target Milestone: 1.3 RC1   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
fix holger.staudacher: iplog+

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.