notepad-plus-plus / notepad-plus-plus/notepad-plus-plus

Save as - always writes to the program directory instead of selected path

Open
#7,660 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
29.4k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

I'm using N++ and several computers but only one exhibits this behavior. Tried uninstall/install and that didn't help. The version is 7.8.1 64bit (same thing with 7.7.1 32 bit that was previously there)

Steps to reproduce:

  1. Create new file
  2. Save as to "My Document"
  3. The app prompts with this message ("My Documents" is not write protected and does not need administrator mode).
    image
  4. Click yes, try again...the file gets written to c:\Program Files\Notepad++ folder instead of "My Documents"

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Save As steps on the affected Windows setup using Notepad++ 7.8.1 64-bit, then compare the selected destination with the path actually written after retrying. The issue names no source file or test, so identifying the save-path handling entry point and adding a regression check would be part of the investigation.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.