Overwrite prompt focus issue
Posted: 02 Oct 2026 01:56
Let's say I want rename a file but the resulting name would clash with an existing file. In this XY would prompt the user.
Consider this scenario:
I have two files "test.txt" and "test.txt.1".
I want to change the name of "test.txt.1" to "text.txt" by removing the ".1".
With "test.txt.1" highlighted I press <F2> and remove ".1" and press <ENTER>.
XY pops the "Overwrite prompt" dialogue box like so:
We can see that the "Suffix" button has focus. Pressing the <TAB> key once moves to focus to the "Ok" button. Pressing it again moves to the "Cancel" button. Pressing it a third time moves the focus away from the buttons and into the dialogue box itself (in this case to the start of the word "test"). (Note I highlighted where I mean):
Pressing the <TAB> again moves the focus back to the "Suffix" button.
Cheers
John
Consider this scenario:
I have two files "test.txt" and "test.txt.1".
I want to change the name of "test.txt.1" to "text.txt" by removing the ".1".
With "test.txt.1" highlighted I press <F2> and remove ".1" and press <ENTER>.
XY pops the "Overwrite prompt" dialogue box like so:
We can see that the "Suffix" button has focus. Pressing the <TAB> key once moves to focus to the "Ok" button. Pressing it again moves to the "Cancel" button. Pressing it a third time moves the focus away from the buttons and into the dialogue box itself (in this case to the start of the word "test"). (Note I highlighted where I mean):
Pressing the <TAB> again moves the focus back to the "Suffix" button.
Cheers
John