Community
    • Login

    Bug? "Find All.." does very often not work anymore

    Scheduled Pinned Locked Moved General Discussion
    14 Posts 6 Posters 958 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      Bodenseematze @PeterJones
      last edited by

      @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 your AppPosition and DockingManager 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 ;-)

      PeterJonesP 1 Reply Last reply Reply Quote 1
      • PeterJonesP
        PeterJones @Bodenseematze
        last edited by

        @Bodenseematze,

        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?

        B 1 Reply Last reply Reply Quote 2
        • xomxX
          xomx
          last edited by

          @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?

          1 Reply Last reply Reply Quote 2
          • xomxX
            xomx
            last edited by

            And another similar stuff reported, so there seems to be a real problem:
            https://community.notepad-plus-plus.org/post/96800

            1 Reply Last reply Reply Quote 2
            • Jairo FlorezJ
              Jairo Florez @Bodenseematze
              last edited by

              @Bodenseematze
              go to C:\Users<YourUsername>\AppData\Roaming\Notepad++
              Rename config.xml to config_backup.xml and restart Notepad++.

              And that did the trick!

              PeterJonesP 1 Reply Last reply Reply Quote 0
              • PeterJonesP
                PeterJones @Jairo Florez
                last edited by PeterJones

                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 edit config.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.

                1 Reply Last reply Reply Quote 1
                • xomxX
                  xomx
                  last edited by

                  Another user case:
                  https://community.notepad-plus-plus.org/post/96897

                  Now 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?

                  npp-SR-panel.png

                  Also I would like to see if switching to the N++ dark mode (menu > Settings > Preferences > Dark Mode) will help here.

                  1 Reply Last reply Reply Quote 3
                  • joecar-777J
                    joecar-777 @Bodenseematze
                    last edited by joecar-777

                    I noticed in the screenshot posted above by @Bodenseematze that the status bar looks cropped/chopped.

                    1 Reply Last reply Reply Quote 0
                    • B
                      Bodenseematze @PeterJones
                      last edited by Bodenseematze

                      @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!

                      1 Reply Last reply Reply Quote 1
                      • A
                        ahopsu
                        last edited by

                        Hi!

                        Seems there has been a lot of opened discussions about this “Search results window not visible” issue, and therefore I’m not sure, if this “finding” has been already addressed/solved in other discussions, just joined the community.

                        To me, with 8.6.7 (32-bit) version, the search results window came back, after I changed this “curr” value from “5” to “3” for the “InternalFunction” (the value has been changed already in the screenshot):

                        3bc8ab7c-44d4-49c4-a04b-eecfde363a2c-image.png

                        In case this has any meaningful information. Thanks!

                        xomxX 1 Reply Last reply Reply Quote 0
                        • xomxX
                          xomx @Bodenseematze
                          last edited by

                          @Bodenseematze

                          I’m not sure since which version, but it definitely happens in 8.6.9-x64

                          I have just found the reason for your N++ v8.6.9+ problem described here.
                          For more details and current workaround (no fix yet), please see HERE.

                          1 Reply Last reply Reply Quote 0
                          • xomxX
                            xomx @ahopsu
                            last edited by

                            @ahopsu said in Bug? "Find All.." does very often not work anymore:

                            To me, with 8.6.7 (32-bit) version, the search results window came back, after I changed this “curr” value from “5” to “3” for the “InternalFunction”

                            Thanks for the report. I know about such N++ Docking Manager problems (it can happen in some specific steps) but currently I do not have a simple fix for it.

                            Did you undock that Search results panel to the floating state before?

                            1 Reply Last reply Reply Quote 2
                            • First post
                              Last post
                            The Community of users of the Notepad++ text editor.
                            Powered by NodeBB | Contributors