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

Bug 332991

Summary: [Table][Tree] NO_SCROLL allows scrolling with mouse wheel
Product: [RT] RAP Reporter: Chris Fairhall <chris>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 1.4 M5   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
IEntryPoint to reproduce the issue none

Description Chris Fairhall CLA 2010-12-20 22:58:54 EST
Build Identifier: 20100917-0705

In RAP 1.3.0 and 1.3.1 the Table widget construted with the NO_SCROLL style works as expected in all cases (no scroll bars, no space allocated for them, etc) except when the mouse cursor is hovered over the table cells and the mouse wheel is scrolled. The cells can be scrolled down one row. There is no indication that the cells have been scrolled except the first row is nolonger visible and the last row is blank.

In RAP 1.4.0 M4 the Tree widget is also impacted by this behaviour.


Reproducible: Always

Steps to Reproduce:
1. Run attached EntryPoint
2. Position mouse over control. Scroll mouse wheel
3. The Tree control at the top works on 1.3.x, doesn't work on 1.4.0 M4
4. The Table control at the bottom doesn't work on > 1.3

Both IE8 and Firefix 3.6 tested on WinXP SP3.
Comment 1 Chris Fairhall CLA 2010-12-20 23:00:00 EST
Created attachment 185609 [details]
IEntryPoint to reproduce the issue
Comment 2 Ivan Furnadjiev CLA 2010-12-21 03:13:26 EST
Confirmed with Controls Demo , Tree and Table tabs.  NO_SCROLL does not prevent the tree/table from scrolling via mouse wheel.
Comment 3 Ivan Furnadjiev CLA 2010-12-21 09:30:20 EST
Fixed in CVS HEAD. In case of NO_SCROLL style flag, the mouse wheel listener is not attached (or removed) from the client widget.