[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.platform.swt] Did I (re)discover a bug in SWT?
|
OK, I looked at the nebula grid. Very nice!
No, there are no other event handlers listening to or canceling the key
event.
I think I found the answer which would might be a bug in SWT.
I performed this simple test:
1. Make an SWT Application Window.
2. Put controlA, a composite in the window.
3. Put controlB, a class that extends composite in window.
4. Add KeyListeners to both controlA and controlB.
5. Run app. Click in each control and type a key.
Verify that both receive key events.
6. Add a Slider control to controlB.
7. Repeat step 5. Notice that controlB no longer receives key events.
I will try to check bug archives.