Community
Participate
Working Groups
The patch to fix bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=545035 (setting SWT.AUTO_TEXT_DIRECTION) introduces another bug that if you enter a workspace path in the chooser dialog, the cursor stays at the end of the combo box and does not at the end of the path.
I would like to start a discussion how this issue can be solved. I guess removing SWT.AUTO_TEXT_DIRECTION is not an option as it would reopen the other bug. JFace Bidi support is not available at this stage. Any other proposals how this can be solved? I can help to create a patch.
Anybody who can help to fix this bug? I guess it requires native changes.
Kalyan, could you please take a look?
Investigated on the combo code. Found that the cursor position is pointing to the end of the text and pressing the left arrow takes the cursor to the end of the text. Looks like some redraw is not happening as expected. So Moving to SWT for further investigation and adding Niraj in the CC List.
(In reply to Kalyan Prasad Tatavarthi from comment #4) > Investigated on the combo code. Found that the cursor position is pointing > to the end of the text and pressing the left arrow takes the cursor to the > end of the text. > Combo with AUTO_TEXT_DIRECTION, should automatically scrolls selection's end into view even for longer text, which is not the case currently: - Hence we need to force it to do such scrolling, to make sure Caret no longer goes out of view. I have a working fix for this, will share a gerrit shortly.
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/185204
Gerrit change https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/185204 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=a6b4b96cf8a8212e3b03c03622540806e105581e
Resolving now.
Verified in Eclipse Build id: I20210920-1800 on Win10