Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 283542 - [Table] Mouse-wheel and key events also affects scrollable parent
Summary: [Table] Mouse-wheel and key events also affects scrollable parent
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.2   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.3 M2   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 283944
  Show dependency tree
 
Reported: 2009-07-15 08:47 EDT by Jordan Yakovchev CLA
Modified: 2009-08-21 08:59 EDT (History)
1 user (show)

See Also:


Attachments
Proposed patch (1.15 KB, patch)
2009-07-15 09:30 EDT, Jordan Yakovchev CLA
ivan: iplog+
Details | Diff
Proposed patch (1.49 KB, patch)
2009-07-22 03:29 EDT, Jordan Yakovchev CLA
no flags Details | Diff
Proposed patch (1.08 KB, patch)
2009-08-21 05:57 EDT, Jordan Yakovchev CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jordan Yakovchev CLA 2009-07-15 08:47:22 EDT
Build ID: 20090619-0625

Steps To Reproduce:
When widget is placed in scrollable composite, its key and mouse wheel events appart from current functionality also makes parrent to scroll.

More information:
Comment 1 Jordan Yakovchev CLA 2009-07-15 09:30:49 EDT
Created attachment 141638 [details]
Proposed patch
Comment 2 Jordan Yakovchev CLA 2009-07-22 03:29:32 EDT
Created attachment 142225 [details]
Proposed patch

Meets the requirements of this blocker:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=283944
Comment 3 Jordan Yakovchev CLA 2009-07-23 06:32:14 EDT
Please disregard my second patch, because with it the left and the right arrows does not work for horizontal scrolling of the table.
Instead use the first patch.
The remaining issue is that left and right keys still affect the parrent scrollable composite (only when the table is not scrollable horizontally).
Comment 4 Ivan Furnadjiev CLA 2009-08-11 07:40:33 EDT
First patch is applied to CVS HEAD.
BTW I can't scroll the table horizontaly with left and right arrows key with or without the patch.
Comment 5 Jordan Yakovchev CLA 2009-08-21 05:57:59 EDT
Created attachment 145249 [details]
Proposed patch

I also can not scroll with the left and right keys now, so you can apply my last patch, which prevents left and right key events bubbling.
Comment 6 Rüdiger Herrmann CLA 2009-08-21 08:59:40 EDT
Applied patch to CVA HEAD with minor modification.