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

Unable to associate notepad++ with text files on windws 7

Open
#8,378 0 comments 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

Description of the Issue

File association for NPP with text files is missing when is installed in D:\Notepad++\notepad++.exe

Steps to Reproduce the Issue
  1. Create test.txt file on the desktop
  2. Right click on it and select properties
  3. Opens with... Click [Change]
  4. Click [Browse] and enter D:\Notepad++\notepad++.exe
  5. Nothing is changed. File opens by the regular notepad.exe
  6. Try via the internal NPP association ( greyed out )
Expected Behavior

File to be opened with NPP after being added.

Actual Behavior

File is not opened with NPP after association and supported associations is greyed out

Debug Information

Notepad++ v7.8.6 (64-bit)
Build time : Apr 21 2020 - 15:23:03
Path : D:\Notepad++\notepad++.exe
Admin mode : ON
Local Conf mode : ON
OS Name : Windows 7 Ultimate (64-bit)
OS Build : 7601.24546
Plugins : mimeTools.dll NppConverter.dll NppExport.dll

The open with NPP option is fixed after adding the registry key:
image

The NPP internal association being greyed out is fixed by running NPP as administrator.

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

The issue names no source files, tests, or entry points. Start by reproducing the association failure on Windows 7 with Notepad++ installed at D:\Notepad++\notepad++.exe, then inspect the file-association and internal-association behavior described; done means text files open with Notepad++ and the supported-associations option works without the reported workarounds.

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
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.