Skip to content

Restore opened file tabs for temporarly unavailable file paths #13696

@znik3040

Description

@znik3040

Description of the Issue

When I forgot map network drive or mount crypted volume, or any else with logical hard drive letter is unavailable (E:\ F:\ to Z:.) and run notepad++, then editor silently drops all opened files for that drive(s) without additional info, because paths are unavailable.

Steps to Reproduce the Issue

  1. in command line emulate network drive or crypted volume
    1a. run cmd.exe
    1b. mkdir C:\W (subdir for emulation *W:* drive, of course if *W:* is free on your system)
    1c. subst W: C:\W (at now you have drive W . please do not close cmd.exe, it will be helpful later
  2. open notepad++ , create new tab for text file, and write any text inside this tab
  3. write this file for example as W:\testfile.txt
  4. close notepad++ and run it again. you will see opened file testfile.txt , this is OK
  5. close notepad++
  6. click again cmd.exe window, and delete emulated drive by run subst W: /D
  7. open notepad++ again.
  8. this is all. you will not be noticed about lost path to W:\testfile.txt , and tab will not be open again.

Expected Behavior

I need some configuration for this one, by selecting between:

  1. silent do not open unavailable paths
  2. warning window, with info about unavailable paths, short info similar to 'please map network or crypto drives W:, X: etc.... and or select below...', with two buttons 'Do not open listed files' , and second 'Try again'.
  3. continuation to ad.2 , if still any paths are unavailable, do corrected list again described at point 2

Actual Behavior

currently default is silently abort opening tabs for unavailable paths

Debug Information

There is no debug. This behavior exist on all available versions notepad++

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions