notepad-plus-plus / notepad-plus-plus

Notepad++ official repository
https://notepad-plus-plus.org/
Other
22.82k stars 4.59k forks source link

"Silent fail" from File Explorer using the right click menus. #12247

Open EDToft opened 2 years ago

EDToft commented 2 years ago

Description of the Issue

I am using windows 11. There appears to be an issue when opening a file from File Explorer using the right click menus.

After opening the file, it will remain open until there is mouse movement within the editor. The application silently closes.

Steps to Reproduce the Issue

  1. Open file explorer
  2. right click on any text file
  3. click "Show More Options"
  4. Click "Open With"
  5. Click Notepad++
  6. Move the mouse within the Notepad++ editor window. NOTE: It seems that it has to be open to the file opened from the FileExplorer and the mouse movement must occur within that editor pane.

Expected Behavior

Normal editing behavior.

Actual Behavior

Application Window closes.

An application error is logged...

First... Application: notepad++.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: exception code c0000005, exception address 00007FF7DC752858 Stack:

Second... Faulting application name: notepad++.exe, version: 8.4.5.0, time stamp: 0x6312b6a2 Faulting module name: notepad++.exe, version: 8.4.5.0, time stamp: 0x6312b6a2 Exception code: 0xc0000005 Fault offset: 0x00000000001f2858 Faulting process id: 0x%9 Faulting application start time: 0x%10 Faulting application path: %11 Faulting module path: %12 Report Id: %13 Faulting package full name: %14 Faulting package-relative application ID: %15

Debug Information

Notepad++ v8.4.5 (64-bit) Build time : Sep 3 2022 - 04:05:32 Path : C:\Program Files\Notepad++\notepad++.exe Command Line : Admin mode : OFF Local Conf mode : OFF Cloud Config : OFF OS Name : Windows 11 (64-bit) OS Version : 21H2 OS Build : 22000.1042 Current ANSI codepage : 1252 Plugins : ComparePlugin (2.0.2) CSScriptNpp (2.0.2) JSMinNPP (1.2205) mimeTools (2.8) NppConverter (4.4) NppExport (0.4) PlantUmlViewer (1.2.0.6) PoorMansTSqlFormatterNppPlugin (1.6.13.31508) SQLinFormNpp64 (5.3.35) urlPlugin (1.2) XMLTools (3.1.1.13)

Screenshot 2022-09-26 130131

rdipardo commented 2 years ago

Framework Version: v4.0.30319

That refers to the system's .NET Framework version. You have a few .NET plugins installed, so disabling one of them should resolve the problem: