Community
    • Login

    help with weird startup of NPP showing a debug window and broken panels

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    13 Posts 6 Posters 1.7k 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.
    • MattM
      Matt
      last edited by

      You need to restart the Windows display renderer to fix it. A reboot is usually the easiest way to do that. If you don’t want to reboot your PC, you can also try the following:

      1. Close Notepad++
      2. Restart the windows display subsystem using the shortcut key Win+Ctrl+Shift+B
      3. Open Notepad++
      linus mellumnavL 1 Reply Last reply Reply Quote 1
      • linus mellumnavL
        linus mellumnav
        last edited by

        yes it goes away in admin mode, but comes back when i start as non-admin which makes me suspect NPP is storing some state somewhere. Which is odd as I’m running as a portable app and it shouldnt be saving state except in the xml files

        PeterJonesP 1 Reply Last reply Reply Quote 0
        • PeterJonesP
          PeterJones @linus mellumnav
          last edited by

          @linus-mellumnav said in help with weird startup of NPP showing a debug window and broken panels:

          which makes me suspect NPP is storing some state somewhere.

          It’s not. However, the Windows OS stores the state of various applications’ windows someplace in the depths of the registry or elsewhere – and it’s on a per-executable-path basis. I think some of those other topics mention some of that; if you want to delve into it more, feel free to report any findings here.

          1 Reply Last reply Reply Quote 1
          • EkopalypseE
            Ekopalypse
            last edited by

            @linus-mellumnav

            Can you try doing what @Matt suggested.
            Sounds promising and reasonable.

            1 Reply Last reply Reply Quote 0
            • linus mellumnavL
              linus mellumnav @Matt
              last edited by

              @Matt thanks the shortcut key didnt work, but the restart did.

              1 Reply Last reply Reply Quote 2
              • Alan KilbornA
                Alan Kilborn
                last edited by

                There is an interesting theory HERE that I wonder if N++ developers are looking into:

                “If this was a more widespread issue I think it would have been already identified or addressed from other applications.
                Ultimately I believe this means that npp is using a rarely used, deprecated, or unsupported method for drawing the UI panels in their app window that is no longer 100% compatible with the current version of Windows screen capture APIs.”

                EkopalypseE 1 Reply Last reply Reply Quote 0
                • EkopalypseE
                  Ekopalypse @Alan Kilborn
                  last edited by

                  @Alan-Kilborn

                  hmmm … the same person posted this

                  … npp is not the only application affected. I’m also having issues with other apps rendering panels inside of the application Window (MS SQL Management Studio) and some other apps are not restoring properly after being minimized…

                  but yes, this is a really strange one.
                  I haven’t read anything from MS lately about deprecated apis,
                  but maybe I just haven’t researched that thoroughly since I’m not affected by it.

                  Alan KilbornA 1 Reply Last reply Reply Quote 0
                  • Alan KilbornA
                    Alan Kilborn @Ekopalypse
                    last edited by

                    @Ekopalypse said in help with weird startup of NPP showing a debug window and broken panels:

                    but maybe I just haven’t researched that thoroughly since I’m not affected by it.

                    Hasn’t affected me either.
                    But it seems like it has affected enough people so that devs should be sort of “hot on it”.
                    Of course, how long was the NUL NUL NUL problem left sitting…

                    1 Reply Last reply Reply Quote 0
                    • EkopalypseE
                      Ekopalypse
                      last edited by

                      @Alan-Kilborn said in help with weird startup of NPP showing a debug window and broken panels:

                      so that devs should be sort of “hot on it”

                      That’s for sure, but how can you track down such a problem?
                      As long as no one can show a 100% reproducible way, the problem may remain open as long as the infamous NUL problem. :-(

                      Alan KilbornA 1 Reply Last reply Reply Quote 0
                      • Alan KilbornA
                        Alan Kilborn @Ekopalypse
                        last edited by

                        @Ekopalypse said in help with weird startup of NPP showing a debug window and broken panels:

                        but how can you track down such a problem

                        He who wears the heavy (developer) crown has a hard time holding up his head under such weight. :-)

                        Yea, not sure … actually part of my goal in reposting that user’s comment here was that here might get the idea a bit more exposure, and maybe someone would see it that might know about N++'s screen drawing APIs and if they’re “out of date”.

                        1 Reply Last reply Reply Quote 2
                        • Rick van TwillertR
                          Rick van Twillert
                          last edited by

                          I’m having the exact same issue. Opening as admin is a workaround, but restarting the windows display subsystem using the shortcut key Win+Ctrl+Shift+B doesn’t fix it.

                          Windows 10.0.19043

                          1 Reply Last reply Reply Quote 0
                          • PeterJonesP PeterJones referenced this topic on
                          • First post
                            Last post
                          The Community of users of the Notepad++ text editor.
                          Powered by NodeBB | Contributors