Community
    • Login

    Hang when share disconnected

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 573 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.
    • Владислав СоколВ Offline
      Владислав Сокол
      last edited by

      If there is a file opened from network share in opened files list during closing the program, and if this share is disconnected during next program start, then NPP hangs (30 sec minimum, sometimes more).

      How to avoid?

      PS. Windows 10 Pro x64, workgroup, share - NAS, letter is not assigned, UNC is used.

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

        The simple answer (that you would no like) is: in Preferences->Backup disable Remember current session for next run.

        Essentially Notepad++ deals with files and their paths. Notepad++ is not aware that some specific path refers to a network share. The hang you observe is until Windows network stack give up with timeout.
        Perhaps if you did use drive letter Windows would realize that the letter is unconnected faster than with UNC.

        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