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

Bug 335295

Summary: [Table] Scrollbar are disabled when table is disabled
Product: [RT] RAP Reporter: Opfermann Cédric <cedric.opfermann>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: major    
Priority: P3    
Version: 1.4   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Opfermann Cédric CLA 2011-01-25 05:54:57 EST
Build Identifier: 20100917-0705

When a Table is disabled using setEnabled(false), the associated vertical scrollbar is also disabled.
Maybe this is a good behavior in some cases but in most case, this avoid the user to watch the whole values in the table.

I don't know how the javascript/html generation work but in the fact, a <div> is created above the scrollbar which disables it. Removing this div is enought to get everything work.

Reproducible: Always

Steps to Reproduce:
1. Create a table in a view with a lot of values
2. Call the setEnabled(false) method
3. Watch that the scrollbar is disabled.
Comment 1 Ivan Furnadjiev CLA 2011-01-25 06:10:01 EST
Just checked it in SWT and SWT behaves exactly the same - scrollbars are disabled too. For me this bug is invalid.
Comment 2 Ralf Sternberg CLA 2011-01-25 07:10:26 EST
I agree with Ivan. Disabled is different from read-only behavior. Disabled means the the control cannot be operated anymore.