Notepad++ stucks on start
-
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!
-
@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. -
@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.
-
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.
-
@alan-kilborn I have other expreince now.
Do you need video proof?
-
Nope.
-
Well. How to fix that problem then?
-
@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.
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