Skip to content

Save dialog: File name is highlighted after overwrite warning #11630

@mere-human

Description

@mere-human

Description of the Issue

Steps to Reproduce the Issue

Note: this problem exists in some Microsoft programs (e.g. MS Paint) as well.

  1. Have a file named "new 1.txt" in the default folder.
  2. Open and edit a new document.
  3. File -> Save.
  4. Press "Save" in the dialog using the mouse.
  5. You get the "File already exists" message.
  6. Press "Cancel".

Expected Behavior

The "File Name" is selected only if it has focus.

Actual Behavior

The "File Name" is selected, but the "Save" button has the focus.

Debug Information

Notepad++ v8.3.3 (64-bit)
Build time : Mar 13 2022 - 17:20:02
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line :
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 10 Pro (64-bit)
OS Version : 2009
OS Build : 19044.1586
Current ANSI codepage : 1252
Plugins : mimeTools.dll NppConverter.dll NppExport.dll

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions