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
Overwrite prompt focus issue
Forum rules
READ THIS AND DO IT!!!
Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
READ THIS AND DO IT!!!
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
-
JohnM
- Posts: 298
- Joined: 08 Jun 2006 11:59
- Location: Windows 11 Pro @100%
Overwrite prompt focus issue
To see the attached files, you need to log into the forum.
Windows 11 Pro x64
XYplorer 28.40.0500 x64
XYplorer 28.40.0500 x64
-
admin
- Site Admin
- Posts: 67026
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Overwrite prompt focus issue
Yes, there are two issues:
1) Pressing the <TAB> again should move the focus back to the "Suffix" button, but it actually moves it to the OK button.
2) Clicking into the text box does not really move the focus there.
Both fixed in next beta.
1) Pressing the <TAB> again should move the focus back to the "Suffix" button, but it actually moves it to the OK button.
2) Clicking into the text box does not really move the focus there.
Both fixed in next beta.
FAQ | XY News RSS | XY X
-
JohnM
- Posts: 298
- Joined: 08 Jun 2006 11:59
- Location: Windows 11 Pro @100%
Re: Overwrite prompt focus issue
Hi Don,
I think there is still a problem with the dialogue box.
Focus starts on the "Suffix" button and then pressing <TAB> moves the focus to "Ok" and then to "Cancel". Pressing <TAB> from here takes the focus (caret) into the text of the dialogue box:
Pressing <TAB> then takes the focus to the "Suffix" button. Is this intended?
This same behaviour can be seen in the "Overwrite Now" dialogue: Cheers
John
I think there is still a problem with the dialogue box.
Focus starts on the "Suffix" button and then pressing <TAB> moves the focus to "Ok" and then to "Cancel". Pressing <TAB> from here takes the focus (caret) into the text of the dialogue box:
Pressing <TAB> then takes the focus to the "Suffix" button. Is this intended?
This same behaviour can be seen in the "Overwrite Now" dialogue: Cheers
John
To see the attached files, you need to log into the forum.
Windows 11 Pro x64
XYplorer 28.40.0500 x64
XYplorer 28.40.0500 x64
-
admin
- Site Admin
- Posts: 67026
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Overwrite prompt focus issue
Looks good to me. What part do think is not as expected?
FAQ | XY News RSS | XY X
-
JohnM
- Posts: 298
- Joined: 08 Jun 2006 11:59
- Location: Windows 11 Pro @100%
Re: Overwrite prompt focus issue
The fact that the focus caret can end up inside the dialogue box text. I think a dialogue box that only contains info (text) and buttons should make sure the focus remains on one of the buttons.
Windows 11 Pro x64
XYplorer 28.40.0500 x64
XYplorer 28.40.0500 x64
-
admin
- Site Admin
- Posts: 67026
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Overwrite prompt focus issue
The idea was that you might want to select and copy the text. Now I think you are right, it's unexpected and somewhat ridiculous. I'll change it.
FAQ | XY News RSS | XY X
XYplorer Beta Club