Hi, I have a problem when our developers are in Eclipse and they click on the WindowBuilder preview icon. The preview window does appear in response to the command but the window does not get focus. Is this a setting I need to configure?
So, a week has passed since I posted my o.p., but I have not yet received a reply. Is there additional information that I can provide that would help you to answer my question? Is there any feedback or are there any thoughts?
Eric Clayberg Messages: 737 Registered: July 2009 Location: Boston, MA
Senior Member
It would be useful to know what OS you are using and why the behavior you are seeing is considered to be a problem. Does the window gain focus if you click on it or hit the tab key? When I try it under Windows, it seems to work fine.
OS is Windows (note this is not directly on the workstation but through Citrix). We need the focus to be automatic because the developers want to be able to use the preview to test tab ordering is right.
1) On the client the OS is Windows XP;
2) The precise behavior that has been observed is:
Quote:
When we click the preview button the preview window opens and it has focus, meaning that it is the active window. Then we click the TAB key and nothing happens.
Once we use the mouse to click on an enabled field, then we can use the TAB key to switch to the next enabled field.
At this point we'd expect the first field to be in focus, and then the window will immediately respond to TAB keys, without the need to click the mouse.
Clicking the mouse is not an issue; but if we click the mouse then we wouldn't know what the first field is, and that is one of the goals of using the preview window...
Our customer has tried outside Citrix, instead on the workstation which is Windows 7. They report the problem is still occurring. Any ideas? Is there any further information we can provide to help you troubleshoot the problem? TIA
Eric Clayberg Messages: 737 Registered: July 2009 Location: Boston, MA
Senior Member
When I try it using Windows 7 (which is all that I have), I hit the tab key and the first widget in the tab sequence gets the focus and then it tabs between widgets as expected.
If you run the actual code rather that using the preview function, does it tab correctly?
Is your customer testing it from within WindowBuilder or running the actual code?
If you create a simple SWT App Windows with a couple of Text widgets do you see the same behavior?