Subscribe

Context menu icon bug in 5.5.1

  1. 2009-10-09 09:47:12 PDT
    I was update to the lastest version, 5.5.1, yesterday. I found that the context menu icon don't render correctly as shown in the image. http://img525.imageshack.us/img525/2149/18586542.png
  2. 2009-10-09 09:49:54 PDT
    I'm sorry, more information. OS: Windows 7 Ultimate using Notepad++ 5.5.1
  3. 2009-10-09 13:09:24 PDT
    I also have a problem with the new version of Notepad++ (5.5.1), but in my case the **Context Menu Entry** is not showing at all. It does when I install version 5.5 again. (using Windows 7 Ultimate 64-bit) Hope you can fix this. :)
  4. 2009-10-09 16:49:00 PDT
    I am also having that same problem. No Context Menu Entry for Notepad++(5.5.1) but in Windows Vista 64-bit.
  5. 2009-10-11 04:28:31 PDT
    I've got the item in Vista 32bit, but it's screwing up the menus in a slightly different way: it makes them render in Windows 98 style! ![Dodgy context menu with NPP 5.5.1 item](http://img38.imageshack.us/img38/5428/npp551context.jpg) Whaaat?
  6. 2009-10-12 05:36:42 PDT
    Using Win7 RC 64bit, and I don't see the context menu icon either, using Notepad++ 5.5.1.
  7. 2009-10-19 09:40:54 PDT
    I was glad to see the silly icon go with 5.5.1, but having the context menu item broken is a big problem for me as I use it quite heavily for file types that I do not wish to associate with Notepad++ but still wish to quickly open with Notepad++. I suppose I'll have to deal with the ugly icon in 5.5 until they either come out with a fix for the broken context menu item in 5.5.1 or release a 5.5.2 version that fixes it. Hope they are reading these forums.
  8. 2009-10-26 16:30:40 PDT
    This worked for me. Here's a clue in the change.log text after the 5.5.1 install: ---------- Notepad++ v5.5.1 new features and fixed bugs (from v5.5): ---------------------------------------- **6: Replaced nppcm with NppShell (in installer).** <ul>- Dialog to allow change of various settings (cmd : regsvr32 /s /i NppShell.dll) <ul>- Context menu icon properly rendered <ul>- Incorporate dynamic icon for registered filetypes ---------- <br> Well, it seems that they replaced the **nppcm.dll** file with **NppShell.dll** and the 5.5.1 installer registers the **NppShell.dll** as the Context Menu Helper. However, it seems that when installing on a 64 bit Windows OS, the 5.5.1 installer does NOT install a **NppShell.dll** file but still tries to register a **NppShell.dll** file as the Context Menu Helper. Since there is no **NppShell.dll** file to register as the Context Menu Helper.....Voila!....no Context Menu Item for Notepad++. But the installer does still install **nppcm.dll** (the old Context Menu Helper DLL). If you open a command prompt and navigate to the Notepad++ folder (usually **C:\Program Files (x86)\Notepad++** on 64 bit Windows) and run **"regsvr32 /s /i nppcm.dll"**, then you'll get a dialog box that will help you get your Notepad++ Context Menu Item back. I suppose they need to write a 64 bit version of the **NppShell.dll** for installations on 64 bit Windows, or make the installer detect which platform you are installing on and register the appropriate DLL accordingly. I don't want to have to do this manually on 20+ 64 bit servers that I use Notepad++ on. Hope this helps someone. I got luck figuring this out for myself.
  9. 2009-10-31 06:42:30 PDT
    There is already a 64bit version of NPPShell here. http://notepad-plus.sourceforge.net/commun/misc/NppShell64.zip However, when I register it just using **REGSVR32** or **REGSVR32 /s /i**, the context menu gets Win98 style as mentioned in previous posts. http://img38.imageshack.us/img38/5428/npp551context.jpg This happens with **nppcm.dll** too, as **the two files are identical..** I'm using Win7 64bit.
  10. 2009-11-02 06:58:42 PST
    i don't know what is meant by "win98" style context menu. but i am using Win7 x64 and I got this working this way: download the NppShell64 bits from [here][1]. extract the files to c:\Program Files (x86)\Notepad++ run "Command Prompt" as administrator (start, type command prompt, right click icon and select "run as administrator". navigate to the notepad++ program files directory cd "\program files (x86)\notepad++" run: regsvr32 /i NppShell64.dll in the dialog box that comes up make sure to click the check box for "Add Context Menu Item" until it shows checked as opposed to filled. uncheck the Show dynamic icon check box. select "use classic icon" radio button and click ok. the end result is that my context menus look the same as they did before and I have my comfortable, familiar Notepad++ icon in the context menu.
  11. 2009-11-02 07:00:43 PST
    sweet. the link didn't show even though it was there in the preview: [http://notepad-plus.sourceforge.net/commun/misc/NppShell64.zip][1] [1]: http://notepad-plus.sourceforge.net/commun/misc/NppShell64.zip
  12. 2009-11-03 07:18:34 PST
    Nobody gets this, and I'm incredibly amazed.... [Menu on LEFT without Notepad++ Menu on RIGHT with Notepad++][1] Yes the context menu item WORKS but it MODIFIES the context menu itself so menu shows with OLD style. Not Windows Aero... I hope someone will understand. [1]: http://i37.tinypic.com/1zyh1xc.png
  13. 2009-11-21 23:31:45 PST
    As a workaround, you can remove Notepad++ context menu, and then add it as a static context menu. (REF: http://www.winhelponline.com/blog/right-click-context-menu-ugly-classic-windows-7-vista/)
  14. 2009-11-21 23:33:08 PST
    As a workaround, you can remove Notepad++ context menu, and then add it as a static context menu. (REF: `[http://www.winhelponline.com/blog/right-click-context-menu-ugly-classic-windows-7-vista/][1]`) [1]: http://www.winhelponline.com/blog/right-click-context-menu-ugly-classic-windows-7-vista/
  15. 2009-11-22 02:16:46 PST
    Thanks, that works great apart from the icon. I changed it to the normal format ("someapp.exe,0") and it still didn't work after a restart of Explorer.
  16. 2009-11-22 21:49:41 PST
    Sorry! Forgot to include that the icon (for static menus) display only in Windows 7.
  17. 2010-11-27 02:23:20 PST
    save code below to your notepad++ folder as cm.bat, run it, then u get 2 file, install with ins.reg, uninstall with uins.reg (modify "Notepad++" to change the word at your context menu) echo off SET pth=%CD% SET pth=%pth:\=\\% > ".\ins.reg" ECHO Windows Registry Editor Version 5.00 >>".\reg.reg" ECHO. >>".\ins.reg" ECHO [-HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\Notepad++] >>".\ins.reg" ECHO [HKEY_CLASSES_ROOT\*\shell\notepad++] >>".\ins.reg" ECHO @="Notepad++" >>".\ins.reg" ECHO "Icon"="\"%pth%\\notepad++.exe\"" >>".\ins.reg" ECHO [HKEY_CLASSES_ROOT\*\shell\notepad++\command] >>".\ins.reg" ECHO @="\"%pth%\\notepad++.exe\" \"%1\"" cls > ".\uins.reg" ECHO Windows Registry Editor Version 5.00 >>".\uins.reg" ECHO. >>".\uins.reg" ECHO [-HKEY_CLASSES_ROOT\*\shell\notepad++] >>".\uins.reg" ECHO [-HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\Notepad++]
  18. 2010-11-27 02:25:50 PST
    ps: I use the zip version of notepad++ (ver 5.85) under win 7 hope these code helps.
  19. 2010-11-27 06:29:34 PST
    sorry, a new bug fixed version. echo off SET pth=%CD% SET pth=%pth:\=\\% > ".\ins.reg" ECHO Windows Registry Editor Version 5.00 >>".\ins.reg" ECHO. >>".\ins.reg" ECHO [-HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\Notepad++] >>".\ins.reg" ECHO [HKEY_CLASSES_ROOT\*\shell\notepad++] >>".\ins.reg" ECHO @="Notepad++" >>".\ins.reg" ECHO "Icon"="\"%pth%\\notepad++.exe\"" >>".\ins.reg" ECHO [HKEY_CLASSES_ROOT\*\shell\notepad++\command] >>".\ins.reg" ECHO @="\"%pth%\\notepad++.exe\" \"%%1\"" cls > ".\uins.reg" ECHO Windows Registry Editor Version 5.00 >>".\uins.reg" ECHO. >>".\uins.reg" ECHO [-HKEY_CLASSES_ROOT\*\shell\notepad++] >>".\uins.reg" ECHO [-HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\Notepad++]
Jump To:
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.