Notepad++ Hangs On Close

6

I'm using Notepad++ on Windows 8.1. Until recently it closed just fine when I clicked the X but now when I do so it doesn't close but rather freeze the application. When I repeatedly click the X the window will turn white and Windows says that the program is no longer responding then I can make Windows kill the process.

In an attempt to fix this issue I uninstalled it using the regular Windows program uninstaller but that didn't work either, it got stuck forever on

Launching: regsvr32 /u /s "C:\Program Files (x86)\Notepad++\NppShell_06.dll"

Since an ongoing installer/uninstaller can't be terminated I chose to kill it using Task Manager.

Now that the program is no longer registered and half-uninstalled I installed it once again but the freezing issue persisted. I then proceeded to use the thorough Revo Uninstaller and cleaned Notepad++ off the machine. That worked.

I installed Notepad++ once again and the issue was gone. However later on the issue came back. What the heck? How can I fix this once in for all? I'm running the latest version as of now, obviously.

There seems to be an issue with

C:\Program Files (x86)\Notepad++\NppShell_06.dll

because it's used by some process even when Notepad++ is not running.

BullyWiiPlaza

Posted 2015-06-14T11:22:50.850

Reputation: 498

There is not information in your question to diagnose what is going wrong. – DavidPostill – 2015-06-14T11:25:54.300

@DavidPostill: Please tell me what else to include as well then – BullyWiiPlaza – 2015-06-14T11:27:25.377

1NppShell_06.dll is the shell integration (open with) for notepad++ so it will be open as part of explorer. You could try removing the shell integration and see if that fixes your problem. See How to remove shell integration of Notepad++? – DavidPostill – 2015-06-14T11:33:02.010

@DavidPostill: I want to keep that though, it always worked fine before. With the shell extension disabled or enabled the issue seems to sometimes happen and sometimes not. Strange. – BullyWiiPlaza – 2015-06-14T11:49:17.213

I have no further ideas :/ – DavidPostill – 2015-06-14T11:51:02.297

It happens to me when I have a document open from a network location. I have to make sure I close Notepad++ before I disconnect from the network. – Just Lucky Really – 2015-06-14T12:15:31.673

Have you tried using the portable version? – DavidPostill – 2015-06-14T12:37:51.890

Now after a reboot and a clean reinstall it seems to be fixed. PortableApps is not officially supported so it's not the latest version. – BullyWiiPlaza – 2015-06-14T12:43:12.583

I'm having this exact same issue! I just clean-installed Windows and it started happening for the first time ever. Maybe we should send some memory dumps to the author to help him fix this. – Eaton – 2015-06-14T17:04:28.253

Answers

7

The current discussion on the Notepad++ twitter is that its either The DSpellCheck or Plugin Manager plugins.

I deleted DSpellCheck and this issue was fixed,

jj77

Posted 2015-06-14T11:22:50.850

Reputation: 71

How did you deinstall DSpellCheck if it hangs on exit? I click "Remove" and Notepadd says "Must restart" then hangs. – DevPlayer – 2015-08-11T19:48:59.530

@DevPlayer with NotePad++ v6.8.1 uninstallation with restart worked without any issues. – koppor – 2015-08-12T00:42:42.147

2I had to manually delete DSpellCheck.dll from the plugins folder in Windows Explorer. – DevPlayer – 2015-08-13T06:42:16.810

This fixed it for me (v6.8.3) – Daniel Hilgarth – 2015-10-14T08:22:05.270

Fixes the problem in v6.8.9 too. I didn't delete the plugin, just moved it to the disabled/ folder in the NP++ installation directory. You would think by now, 10 sub versions on, that the problem would have been properly fixed. – Tom Carpenter – 2016-01-29T08:14:26.367

3

According to the current update on the Notepad++'s website, there was a bug in the v6.7.9 and they patched it in the v6.7.9.1

Their Statement:

"A critical issue (hanging on exit) and a regression (JavaScript is not recognized in HTML document) have been fixed in 6.7.9.1 release."

This is the release page if you would like to check it out yourself.

O. Kaan Agac

Posted 2015-06-14T11:22:50.850

Reputation: 31

Yes, we got them to fix it :) – BullyWiiPlaza – 2015-06-22T10:37:57.303

I have the same problem with v6.8.3 – Daniel Hilgarth – 2015-10-14T08:21:48.157