Bug? "Find All.." does very often not work anymore
-
I’m not sure since which version, but it definitely happens in 8.6.9-x64
Very often when I try to “Find All” it does not open the corresponding “search result” box at the bottom of my window.
It seems as if it’s there, but without any ‘height’ - or that it’s overlapped with text window (status bar is also not visible then).
When it happens it does not matter if I do a “Find All in Current Document” or “Find All in All Opened Documents” or “Find in Files” - always the same.I have to close and reopen the instance to make it work again…
…for a while ;-)I made a screenshot when it happened - as you can see at the bottom of the window there is a small few pixels part where it should be but not is.
Is this a known bug or does it only happen to me?
-
That’s weird. The issue causing zero-width panels was supposed to have been fixed/eliminated in v8.6.9 (see item 15 in v8.6.9 announcement).
If you hover your mouse slowly along the bottom, working your way up from the very bottom of the window, is there somewhere that the cursor changes to ↕ that you can then click-and-drag to increase the size of the panel again?
Could you share your ?-menu’s Debug Info ? And in
%AppData%\Notepad++\config.xml
, could you share yourAppPosition
andDockingManager
sections, like:<GUIConfig name="AppPosition" x="458" y="46" width="680" height="638" isMaximized="no" /> <GUIConfig name="DockingManager" leftWidth="200" rightWidth="200" topHeight="200" bottomHeight="0"> <PluginDlg pluginName="Notepad++::InternalFunction" id="0" curr="3" prev="-1" isVisible="yes" /> <PluginDlg pluginName="Notepad++::InternalFunction" id="44084" curr="1" prev="-1" isVisible="no" /> <PluginDlg pluginName="Notepad++::InternalFunction" id="44085" curr="0" prev="-1" isVisible="no" /> <ActiveTabs cont="0" activeTab="-1" /> <ActiveTabs cont="1" activeTab="-1" /> <ActiveTabs cont="2" activeTab="-1" /> <ActiveTabs cont="3" activeTab="0" /> </GUIConfig>
Once you’ve gathered that information, close Notepad++, edit
config.xml
in a different application (like MSnotepad.exe
) and delete the whole<GUIConfig name="DockingManager" ...>...</GUIConfig>
section and save/exit, then restart Notepad++, and the Search Results panel should be back to the default size. -
@PeterJones said in Bug? "Find All.." does very often not work anymore:
If you hover your mouse slowly along the bottom, working your way up from the very bottom of the window, is there somewhere that the cursor changes to ↕ that you can then click-and-drag to increase the size of the panel again?
No, I’m unable to find any selection part…
Could you share your ?-menu’s Debug Info ?
Notepad++ v8.6.9 (64-bit) Build time : Jul 12 2024 - 05:09:25 Path : C:\Program Files\_Tools\Notepad++\notepad++.exe Command Line : "C:\Entw\Delphi\Unit_AnAuRe.pas" Admin mode : OFF Local Conf mode : OFF Cloud Config : OFF Periodic Backup : OFF OS Name : Windows 10 Pro (64-bit) OS Version : 22H2 OS Build : 19045.4894 Current ANSI codepage : 1252 Plugins : HexEditor (0.9.12) HTMLTag (1.4.4) IndentByFold (0.7.3) JSFunctionViewer (1.1) JsMapParser.NppPlugin (4.2) JsonTools (8) mimeTools (3.1) NppConverter (4.6) NppExport (0.4) NPPJSONViewer (2.0.7) NppXmlTreeviewPlugin (2) PreviewHTML (1.3.2) RegexTrainer (1.2) XMLTools (3.1.1.13)
And in
%AppData%\Notepad++\config.xml
, could you share yourAppPosition
andDockingManager
sections, like:<GUIConfig name="AppPosition" x="2" y="26" width="1779" height="992" isMaximized="no" /> <GUIConfig name="DockingManager" leftWidth="200" rightWidth="200" topHeight="200" bottomHeight="220"> <PluginDlg pluginName="Notepad++::InternalFunction" id="0" curr="3" prev="-1" isVisible="yes" /> <ActiveTabs cont="0" activeTab="-1" /> <ActiveTabs cont="1" activeTab="-1" /> <ActiveTabs cont="2" activeTab="-1" /> <ActiveTabs cont="3" activeTab="0" /> </GUIConfig>
BTW, how can I be sure that the above values are from the correct NotePad++ instance?
I currently have three open instances and the problem only occurs in one of them…
(and I usally have at least three instances open at the same time ;-) -
Your AppPosition and DockingManager look reasonable, giving the correct sizes.
BTW, how can I be sure that the above values are from the correct NotePad++ instance?
If you are running the same executable (for you, the one at
C:\Program Files\_Tools\Notepad++\notepad++.exe
) without separate command-line options, all instances share the same same config file – and only one of those instances will write to the config file when it exits. Based on your Debug Info that you shared, the%AppData%\Notepad++\config.xml
is the right one.I currently have three open instances and the problem only occurs in one of them…
If you close them all, and then open just one, is that the one that gets the problem? Or is it only when you open additional instances that the search-results problem occurrs?
-
@PeterJones said in Bug? "Find All.." does very often not work anymore:
The issue causing zero-width panels was supposed to have been fixed/eliminated in v8.6.9
There is one multi-monitor problem (in the extended mode only) with that fix, which I am going to fix.
It seems as if it’s there, but without any ‘height’ - or that it’s overlapped with text window (status bar is also not visible then).
Looks to me as a graphics card driver problem or a N++ GUI-parts DPI setting mismatch (so maybe some HiDPI commit or an updated graphics components commit?)
And I see another similar report (a coincidence?):
https://community.notepad-plus-plus.org/post/96794@Bodenseematze
Do you use a multi-monitor setup? -
And another similar stuff reported, so there seems to be a real problem:
https://community.notepad-plus-plus.org/post/96800 -
@Bodenseematze
go to C:\Users<YourUsername>\AppData\Roaming\Notepad++
Rename config.xml to config_backup.xml and restart Notepad++.And that did the trick!
-
Readers of this discussion:
Deleting the whole file also eliminates all your Settings > Preferences choices, so don’t do that if you’ve customized Notepad++ preferences.
Instead, use a more targeted version where you exit Notepad++, edit
%AppData%\Notepad++\config.xml
, and delete the group of lines I showed above, save, then restart Notepad++. (You cannot editconfig.xml
inside Notepad++, because it changes it when it exits, so your change would be lost.)update: BTW: this reset procedure was described in our FAQ more than a year ago.
-
Another user case:
https://community.notepad-plus-plus.org/post/96897Now it seems like a swarm of cases like this, so it could be also something new. I am wondering if it could be more of a status-bar issue, since v8.6.9+ also fixed the status-bar flickering by using the double buffering method. Unfortunately I am not able to reproduce this issue myself (tried also in the multi-inst mode, as in one user report)
For all the affected users - could you move the Notepad++ “Search results” panel e.g. to the top (or right or left) and try to repeat your problem?
Also I would like to see if switching to the N++ dark mode (menu > Settings > Preferences > Dark Mode) will help here.
-
I noticed in the screenshot posted above by @Bodenseematze that the status bar looks cropped/chopped.
-
@PeterJones said in Bug? "Find All.." does very often not work anymore:
BTW, how can I be sure that the above values are from the correct NotePad++ instance?
If you are running the same executable (for you, the one at
C:\Program Files\_Tools\Notepad++\notepad++.exe
) without separate command-line options, all instances share the same same config file – and only one of those instances will write to the config file when it exits. Based on your Debug Info that you shared, the%AppData%\Notepad++\config.xml
is the right one.
Yes, I usually open the additional instances with the “Move document - open in new instance” menu entry…If all of them share the config how do the know the height of the search result box?
I often resize it and the instances I use have totally different window sizes…If you close them all, and then open just one, is that the one that gets the problem? Or is it only when you open additional instances that the search-results problem occurrs?
Actually I’m not sure - with v8.7 I only had the problem twice - and can’t tell in which of the instances…
@xomx said in Bug? "Find All.." does very often not work anymore:
It seems as if it’s there, but without any ‘height’ - or that it’s overlapped with text window (status bar is also not visible then).
For me it looks like an overlap problem because the status bar is there but “scrambled”…
@Bodenseematze
Do you use a multi-monitor setup?Yes - I have two monitors, each with FullHD resolution…
@joecar-777 said in Bug? "Find All.." does very often not work anymore:
I noticed in the screenshot posted above by @Bodenseematze that the status bar looks cropped/chopped.
Yes, that’s the case - it looks cropped!
But as said - earlier I was able to reproduce the bug very often - but with 8.7 it only occurs twice!