Community
Participate
Working Groups
I have a test case that demonstrates what I am talking about. I have created a simple as possible RCP application. There is no menu, coolbar, status line, or anything. I create a simple as possible perspective and give it a default view (SampleView). SampleView's createPartControl creates a new Composite that has the SWT.EMBEDDED flag set. I then pass this new Composite into SWT_AWT.new_Frame() and get back a Frame. As per the javadoc I add a heavy weight Panel to the Frame and then subsequently add a light weight panel (for looks) and then two JTextFields. I also override setFocus() to default the focus to the first JTextField. When I run the app, the focus starts on the CTab from the view. If I hit tab then the focus correctly goes to the first JTextField. If I hit tab again, the focus incorrectly goes back up to the CTab on the view. The expected behavior would be that hitting tab when the first JTextField has focus would result in the second JTextField receiving focus. The attached plugin defines an application named SWT_AWT_Focus_Bug.application which is what should be run to see the demo in action. I built the plugin off of Eclipse 3.1M4 and I do not guarantee backwards compatibility with previous versions of Eclipse.
Created attachment 17080 [details] Test case
Is this problem likely to be fixed? It is a big problem for us too. I can recreate it with a standalone SWT application.
Please could provide the standalone APP? I will look into this...
Is there any update on this?
I would also like to see this fixed. Any updates? Anyone working on it?
Is this still relevant?
No response for a while, closing. Please reopen this ticket if the issue reoccurs.