Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixFocus works differently between SWT and RWT #183

Open
Nick-Hanson opened this issue Apr 3, 2024 · 0 comments
Open

fixFocus works differently between SWT and RWT #183

Nick-Hanson opened this issue Apr 3, 2024 · 0 comments

Comments

@Nick-Hanson
Copy link

SWT Version: 3.7.2
RWT Version: 3.14.0

fixFocusIssue

We have a UI component that we assemble in an RCP application and in a standalone RAP application. User can type in a text field to select a printer, click the + (Add) button to add that printer to the below list. The system then clears the text field and disables the Add button. So the add button has focus when we disable it. There is logic in Control#setEnabled to 'fixFocus' avoid leaving the user in a state where nothing has focus.
In our RCP application, focus is set to the text field. (Left picture in attachment) But in our RAP application it is not. I believe the dialog itself has focus in our RAP application. (Right picture in attachment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant