Replace in Files / "Directory" field scrolls right when clicked
-
@fml2 said in Replace in Files / "Directory" field scrolls right when clicked:
I’m just expressing my not understanding the logics and the rationale in the standard behaviour of combo boxes in Windows.
To put it simply, for a standard combobox:
- When you move focus into a combobox, it selects all the active text, and scrolls all the way to the right, so that you can see the last character in the combobox
- if you click again once it’s selected, it will clear the selection, and your typing caret will go to wherever you clicked in the visible section of text
- When you move focus out of a combobox, it deselects all the active selection in that combobox, and scrolls all the way to the left, so you can see the first character.
As to the rationale: I have no clue what the win32 API designers were thinking when they created their standard combobox more than 20 years ago; sorry.
- When you move focus into a combobox, it selects all the active text, and scrolls all the way to the right, so that you can see the last character in the combobox
-
Somewhat unfortunately, I can understand the complaint of @fml2 here. As I said earlier in the thread, it has bothered me in the past. Now that I’m fully aware of it (due to this discussion), it will probably bother me in a more significant way moving forward. Perhaps I’ll see what I can do, on a script basis, to change the behavior…