New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using Notepad.exe hack, v8.4.9 opens file with wrong filetype selected. #13042
Comments
This issue originated as a discussion here: |
This issue is happening because you still keep a previous version of Notepad++ on your machine (in C:\Program File\Notepad++\ ) but the launched instance is version v8.4.9 which you put in another folder. The scenario of issue cause is: when you use context menu or Notepad replacement, both point to To remedy this issue, updating |
Sorry, but the issue is still present with 8.4.9 I have only installed Version 8.4.9x64 (installed with Setup) on my system and added the It happens that when you dblclick on a file in explorer where filename or path contains spaces like "c:\temp dir\my file.php" n++ opens and displays as many error messages (file/path parts) as there are spaces in the path line. Uninstalling it and installing 8.4.8 or smaller version makes it work again. only thing replaced on my system was 8.48 by 8.49 |
@svenbolte |
Description of the Issue
Using the NPP hack to make notepad++.exe replace the windows default notepad.exe application to open files in Explorer by doubleclicking them, version 8.4.9 opens the file with the wrong filetype. Text files with .txt are being opened in NPP as JSON5 file type identified in the lower left corner of the editor.
Steps to Reproduce the Issue
Expected Behavior
The text file to be opened in NPP v8.4.9 as a Text file
Actual Behavior
8.4.9 version opens the text file as a JSON5 file, the text of which will be highlighted as syntax errors in orange.
Debug Information
Notepad++ v8.4.9 (64-bit)
Build time : Jan 27 2023 - 03:11:16
Path : C:\Users\camilee\Documents\Development Tools Downloads\Notepad++ Versions\npp.8.4.9.portable.x64\notepad++.exe
Command Line : -notepadStyleCmdline -z "C:\WINDOWS\system32\NOTEPAD.EXE" C:\Users\camilee\Desktop\Home Documents\Health\Daily Meds Lee.txt
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
OS Name : Windows 10 Home (64-bit)
OS Version : 22H2
OS Build : 19045.2486
Current ANSI codepage : 1252
Plugins :
mimeTools (2.9)
NppConverter (4.5)
NppExport (0.4)
Showing the result of trying to open text file by double-clicking in File Explorer with the hack in place in v. 8.4.9:
This shows the hack properly installed in this shot of the Registry Editor:
Bringing to your attention as requested, Don. @donho
The text was updated successfully, but these errors were encountered: