Error message closing find results window

  • Hello! I keep getting a windows error when I close the find results in the current version. it says "SetWindowsHookEX(MOUSE) faild on runProc in the title menu and GetLastError() 5 in the window with an OK button. I uninstalled notepad ++ and even installed the 64 bit version, same issue. After it happens if I press ctrl with any keys a little rectangle appears near the cursor saying ACK and I have to close it out. The only thing I can do is close out Notepad ++ and re open it.

  • Also, I get the error if I just try to resize the window.

    And I love how I couldn’t edit my post to add this, since it was over 3 minutes… and I had to wait 20 to be able to post this reply…

  • @Zach-Mayfield said:

    and I had to wait 20

    There is no editing of postings, except for those with super-powers.

    You should have no 20-minute delay now if you want to post further. That delay is a safeguard against scum-of-the-earth spammers.

  • @Zach-Mayfield

    would you mind showing us your debug-info?
    Is available under the ? menu.

  • Notepad++ v7.6.6 (64-bit)
    Build time : Apr 3 2019 - 23:52:32
    Path : C:\Program Files\Notepad++\notepad++.exe
    Admin mode : OFF
    Local Conf mode : OFF
    OS : Windows 10 (64-bit)
    Plugins : ComparePlugin.dll mimeTools.dll NppConverter.dll NPPJSONViewer.dll PoorMansTSqlFormatterNppPlugin.dll

  • @Zach-Mayfield said:

    Plugins : ComparePlugin.dll mimeTools.dll NppConverter.dll NPPJSONViewer.dll PoorMansTSqlFormatterNppPlugin.dll

    I wonder if your problem is caused by the plugins. Could you try exiting Notepad++ and re-running using the notepad++.exe -noPlugin command line argument? (Alternatively, you could temporarily rename your C:\Program Files\Notepad++\plugins subfolder to C:\Program Files\Notepad++\plugins.disabled, and then re-run notepad++ normally).

    When you disable plugins in one of those two manners, does it still crash on you?

    If it still crashes, then the problem is with how Notepad++ interacts with your system, and someone with better crash-debug skills than I have will have to jump in. (I say “with your system”, because there are plenty of people here who have been using 7.6.6 for a month without such crashes.)

    If it doesn’t crash when you’ve disabled plugins, then it’s (probably) one of the plugins that’s causing the problem, and we can help you though the steps of narrowing down which plugin it is that’s causing your instability.

    Either way, let us know, and we can then help you with the next-steps.

  • Peter,

    Thank you for that. I took the changing the folder to .disabled and it still caused the issue. I went as far as doing the notepad++.exe -noPlugin option as well, and still, same results :(

  • Also, is there a way to correct the behavior that is displaying the ACK when trying to use the control key again? Having to close out completely is a pain…

  • @Zach-Mayfield ,

    Unfortunately, I’m not good at debugging crash issues… especially ones I haven’t seen.

    I’m hoping one of the others will be able to help you through debugging this.


  • @Zach-Mayfield

    please try a separate portable version of notepad++, to see if an absolutely clean and isolated notepad++ would work on your system.

    • download the notepad++ 7.6.6. 64 bit portable version from >>> here <<<.
      (the portable version does not require any installation and runs completely independent and isolated from your installed version. all custom settings, as well as any stuff you might want to try at the portable version, will not modify your installed version)

    • extract to your desktop.
      (copy from your download folder to your desktop, right-click on it, select extract all from the explorer context menu, and press extract to extract it to a folder called npp.7.6.6.bin.x64)

    • important note: make sure to close all instances of notepad++ that might be running, before starting the portable version at the next step, to be sure you are using the portable version for this test.

    • open the extracted npp.7.6.6.bin.x64 folder and start this portable version by double-clicking on notepad++.exe inside this folder.
      (note: notepad++.exe will just be seen as notepad++, if you have enabled to hide all known file extensions at your explorer settings)

    • retry with e.g. conducting a find all in current document search and closing your find result panel again.

    does this portable version work as expected ?

    best regards.

  • Meta,

    I’m still getting the error message in that version as well… Let me know what else you may need to figure out why this is happening. I appreciate it!

  • @Zach-Mayfield

    is this a normal Windows 10 installation?
    Meaning, it does NOT run under some virtualization environments like VirtualBox, Qemu, VirtualPC etc… ?
    What kind of mouse do you use?
    Did you install some mouse related driver software?

  • Standard Windows 10 install on a dell laptop. I had Logitech software for my mouse installed, but removed it to eliminate that as an issue, but I’ve had that installed for months.

  • @Zach-Mayfield

    could you try to resize the find result window and NOT to close it?
    Does the error happen again?

  • Resizing does the same thing. I can click within it and scroll through the find window. But if I touch anything involving the title bar of the find window, the error comes up.

  • What happens if you double click the title bar, to make it floating?

  • If I double tap, I can close and move around without a problem. I can re-dock it and I don’t have the problem. If I close it out, go back in and generate the find window docked, the error is there again. I did use the portable one for testing.

  • @Zach-Mayfield

    I’m wondering, does this also happen when you are using two views and resize them?
    Or any other docked window other than the find in result window?

  • Dual views are fine. I did get the same error with functions list, that docked on the right. However, I got the error after trying to move the window after double clicking on it to undock it.

    Document Map behaved when docked, but not after undocking it😔

  • @Zach-Mayfield

    By any chance, did you recently update/upgrade any driver (any, not only mouse driver) or antivirus software?

Log in to reply