Skip to content

In Save dialog, File name is highlighted but it is not where focus is #11517

@dabrams

Description

@dabrams

Description of the Issue

On Windows, when you go to save a file as a new type, the file save dialog opens with the filename highlighted in white text with a blue background indicating is it the active field. If you use the dropdown to select a new file type, the file name is still highlighted but if you start to type a new filename it changes the file type (based on the letter you type) not the name.

When you change the file type, either the focus should be removed from the file name or the file name should retain the focus after the type dropdown is closed.

Steps to Reproduce the Issue

  1. Select File/Save as... with a file that already has a name - the filename textbox has the focus
  2. Change the file type - notice the file name text entry is still highlighted
  3. Start typing as though you were entering a new file name. The type changes

Expected Behavior

I expect test entry to change the highlighted field (i.e., the file name). (Most other program I tried remove the focus from the filename text entry box when the extension/type dropdown opens.)

Actual Behavior

The file type (extension) changes.

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions