pharo icon indicating copy to clipboard operation
pharo copied to clipboard

Fix keyboard focus of rename method refactoring window

Open Inao0 opened this issue 1 year ago • 1 comments

Fix #16699 by setting the keyboard focus after the window is opened.

There is something weird on SpTextInputFieldPresenter.

In SpTextInputFieldPresenter>>takeKeyboardFocusWithoutSelecting the comments state "Unlike `takeKeyboardFocus` this method will not select the text inside."

However SpTextInputFieldPresenter>>takeKeyboardFocus does not select by default, hence the additional selectAll in the implementation.

Inao0 avatar Jun 28 '24 14:06 Inao0

This is strange because I do not see any files changed

Ducasse avatar Jun 29 '24 07:06 Ducasse