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

JFace: Tab key after 2nd click in a cell editor skips a row #46

Open
stereotron opened this issue Apr 28, 2022 · 2 comments
Open

JFace: Tab key after 2nd click in a cell editor skips a row #46

stereotron opened this issue Apr 28, 2022 · 2 comments

Comments

@stereotron
Copy link

When a text cell editor (JFace table) in one column receives the focus and a subsequent mouse click, pressing the tab key forwards the control focus not to the next row but that after it. In other words, a row gets skipped.
Of course this happens rarely, since the cell editor already has the focus.
It seems to not happen when there are more cell editors on the row.

I've attached a snippet to reproduce the behaviour and one with a workaround.

CellEditorFocusIssueSnippets.zip
.

@mickaelistria
Copy link
Contributor

Thanks for the report. Would you be interesting in trying to submit a patch for that? Or even at least a test case to get started with?

@stereotron
Copy link
Author

Thanks for the report. Would you be interesting in trying to submit a patch for that? Or even at least a test case to get started with?

Solving this bug is a bit above my capabilities, as the cell seems to get determined in the TableViewer.. not easy to read.
And I required a workaround for our customer quickly.
I've attached a ZIP file with snippets to reproduce the bug and and the workaround to the issue.

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

2 participants