[BUG] "Find" window behaviour

Steps to reproduce

  1. Open the "Find" window in the Editor (Ctrl-F). The value in the search value field will be the value from the previous search
  2. Enter a value that is known to be present in the text
  3. Press Enter. The cursor is positioned on the found value in the text
  4. Press Esc. This will change the value in the search field to the previous value (which was in the search value field immediately after opening the "Find" window).

If you press Tab after entering a new value to move to the next field in the "Find" window, pressing Esc does not reset the value you are searching for.

This behavior of the "Find" window started 2-3 beta versions ago.

Would it be possible to revert the behavior of the "Find" window so that pressing Esc after pressing Enter does not reset the searched value?

1 Like

I see what you mean. We changed out several edit boxes in Toad to different controls in order to better support screen readers. The changed behavior is an unintended consequence of that. I'll try to restore the prior behavior of just closing the dialog on ESC

2 Likes

Also when opening Ctrl + F and starting to type a search string, for example "asdf", then the first letter is omitted from search, so search is "sdf". Seems to be because history dropdown opens automatically on first key press and eats the char.

Hi Dolo. Thanks. I saw that too. Both issues are fixed for next beta.

1 Like

Thanx, @JohnDorlon !

Hi John,

I just tested the latest beta version 25.2.207.5497.
Now I have the strange behavior that sometimes the cursor is not showing in the search field.

When closing the window with the button or "X", the next time the cursor is shown. When closing the window with ESC the cursor is not showing the next time, but typing still works.

BR, Julian

Thanks for the feedback. I'm going to restore the old edit control for next beta.