Skip to content

Workspace file SaveAs should default to same folder as existing workspace file location #13086

@alankilborn

Description

@alankilborn

Description of the Issue

See StR.

Steps to Reproduce (StR) the Issue

Note for what follows: The use of the "dot workspace" extension on a workspace filename is my own convention.

  1. On a Project Panel, create and save a .workspace file (e.g. foo.workspace) to a desired location on disk.
  2. Create a new editor window tab and save it to disk, in a folder that is NOT the same as the folder used for the .workspace file in step 1.
  3. Right-click the workspace and choose Save As... (or Save a Copy As...) from the ensuing menu:
    image

Expected Behavior

I expect the standard Windows SaveAs dialog to open up with the directory of the existing workspace as the default, and the existing .workspace file to be seen in the files area of that dialog.

Actual Behavior

The standard Windows SaveAs dialog opens up to the directory of the active file tab of the editor window.

Debug Information

Notepad++ v8.4.9 (64-bit)
Build time : Jan 27 2023 - 03:11:16
Path : W:\npp.misc_NoBackup\Releases\npp.8.4.9\npp.8.4.9.portable.x64\notepad++.exe
Command Line : -titleAdd="8.4.9 64-bit"
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
OS Name : Windows 10 Enterprise (64-bit)
OS Version : 21H2
OS Build : 19044.2486
Current ANSI codepage : 1252
Plugins :
mimeTools (2.9)
NppConverter (4.5)
NppExport (0.4)
PythonScript (2)

Metadata

Metadata

Assignees

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