Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353204 - [Table] Hover effect on items with Rich-Text content has glitches
Summary: [Table] Hover effect on items with Rich-Text content has glitches
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.5   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.5 M1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 346768
  Show dependency tree
 
Reported: 2011-07-27 09:35 EDT by Tim Buschtoens CLA
Modified: 2011-07-29 11:00 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Buschtoens CLA 2011-07-27 09:35:52 EDT
There are several problem with the Table/Trees hover effect:
1. Its very slow in IE
2. Its flickering during mouse movement is Firefox/Webkit
With RichtText cell-content it also:
3. Prevents mouse-selection in Webkit (works when hover is disabled)
4. Hover-state of the first row is stuck when mouse leaves table at the top.

See also Bug 351116 and Bug 346768.
Comment 1 Tim Buschtoens CLA 2011-07-28 04:52:11 EDT
So the Flickering is also just with Rich Text.

Apparently with Rich Text the hover-effect is rendered on EVERY mouse-move in
IE and Webkit, and in Firefox even if if the mouse is not moved, just hovering
the cell. Without Rich Text however its not rendered as much, the bad
performance in this case can only improved by optimizing rendering, which can
be another bug. This one will only about hover-issues with Rich-Text content.
Comment 2 Tim Buschtoens CLA 2011-07-29 11:00:07 EDT
Fixe in CVS HEAD.

A number of changes (mostly in TreeRowContainer):
- hover-effects are rendered asynchrounously (in a timeout)
- mouseover events are checked to target a different item 
- elementOver events are checked to target a different type of element