Community
    • Login

    Notepad++ stucks on start

    Scheduled Pinned Locked Moved General Discussion
    8 Posts 3 Posters 6.6k Views 1 Watching
    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.
    • Alex TrefilovA Offline
      Alex Trefilov
      last edited by Alex Trefilov

      Hello!

      Notepad++ freezes on start. I guess it happens due to unavailable files previously opened.
      Is there an option of some timeout trying open files?

      Thank you!

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • Alan KilbornA Offline
        Alan Kilborn @Alex Trefilov
        last edited by

        @alex-trefilov said in Notepad++ stucks on start:

        I guess it happens due to unavailable files previously opened.

        Why is that your assessment?
        Perhaps there is another reason for it – plugins (i.e., preventing them from running) is a good place to start debugging.

        Alex TrefilovA 1 Reply Last reply Reply Quote 0
        • Alex TrefilovA Offline
          Alex Trefilov @Alan Kilborn
          last edited by Alex Trefilov

          @alan-kilborn because some files was opened via a network and it’s unavailable now.

          If I delete that file from %AppData%\Notepad++\session.xml the problem instantly disappears.

          So Notepad++ needs timeout option that will check availability of files for estimated time.

          Alan KilbornA 1 Reply Last reply Reply Quote 0
          • Alan KilbornA Offline
            Alan Kilborn @Alex Trefilov
            last edited by

            @alex-trefilov

            In my experience, unavailable files from the last session will not prevent N++ from opening after a “reasonable” amount of time. However, the files will be removed from the session that is opened.

            Alex TrefilovA 1 Reply Last reply Reply Quote 0
            • Alex TrefilovA Offline
              Alex Trefilov @Alan Kilborn
              last edited by

              @alan-kilborn I have other expreince now.

              Do you need video proof?

              Alan KilbornA 1 Reply Last reply Reply Quote 0
              • Alan KilbornA Offline
                Alan Kilborn @Alex Trefilov
                last edited by

                @alex-trefilov

                Nope.

                1 Reply Last reply Reply Quote 0
                • Alex TrefilovA Offline
                  Alex Trefilov
                  last edited by

                  Well. How to fix that problem then?

                  gstaviG 1 Reply Last reply Reply Quote 0
                  • gstaviG Offline
                    gstavi @Alex Trefilov
                    last edited by

                    @alex-trefilov
                    The problem is probably for files in network shares.
                    Notepad++ tries to open a file which its path refers to a network share, Windows tries to reconnect with the shared folder and if the shared server is not accessible, the networking timeout is long until the file open fails. Since Notepad++ is single threaded timeouts for multiple files (mainly on different shares) can accumulate into a very long delay.

                    Notepad++ does not know if a path refers to a local file or to a network share so it can’t really do anything about it.

                    The only solution I am aware of is to give up the “Remember current session” and let Notepad++ open empty every time.

                    1 Reply Last reply Reply Quote 3

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    • First post
                      Last post
                    The Community of users of the Notepad++ text editor.
                    Powered by NodeBB | Contributors