notepad-plus-plus / nppShell

Provide Explorer context menu entry "Edit with Notepad++"
GNU General Public License v3.0
25 stars 13 forks source link

Fix the context menu needs restarting explorer to appear issue under Win 8/10 #14

Closed donho closed 1 year ago

donho commented 1 year ago

Fix the context menu needs restarting explorer to appear issue after updating from the old NppShell_06.dll to new NppShell.dll.

The fix is to not unregister the old one so the old context menu still working until user restarting explorer or windows, then the old context menu disappears and the new one appears.

Fix #13

donho commented 1 year ago

@GurliGebis Could you review this PR?

Also here's the newest packages TEST11: http://download.notepad-plus-plus.org/repository/MISC/nppShell.TEST11/

donho commented 1 year ago

Test results of updating from v8.4.9 (NppShell_06.dll) to TEST11 (new NppShell.dll):

GurliGebis commented 1 year ago

@donho there is a small problem with Windows 11:

screenshot

But we can do it in another way - try with #15 instead.

It does the following:

sincereman commented 1 year ago

I have the same problem in 8.5.2 and 8.5.3 version (open multiple text document from context menu and the system is need to restart). Last version without this problem 8.5.

GurliGebis commented 1 year ago

@sincereman I just tested it on Windows 10, and it seems to be working fine. Can you create a new issue about it, and if possible, with a bit more info (Windows build number, which version is installed already if upgrading, steps etc.)