Skip to content

Saving a file with more than one file stream deletes them #8451

@NicoGBuch

Description

@NicoGBuch

Description of the Issue

If you have a file with an alternate data stream, make some changes to the main one, then save. All the other data streams will disappear.

Steps to Reproduce the Issue

  1. Create an alternate data stream on a file. ( In cmd: 'echo something > myfile.txt:secondstream' )
  2. Open up myfile normally by just double-clicking it.
  3. Do some changes and hit save.
  4. The 'secondstream' you created is now gone.

Expected Behavior

The expected behaviour is that all of the file's streams won't disappear.

Actual Behavior

What happens is that all of the file's streams disappear.

Debug Information

Notepad++ v7.8.5 (64-bit)
Build time : Mar 4 2020 - 11:08:34
Path : C:\Program Files\Notepad++\notepad++.exe
Admin mode : OFF
Local Conf mode : OFF
OS Name : Windows 10 Home (64-bit)
OS Version : 1903
OS Build : 18362.900
Plugins : mimeTools.dll NppConverter.dll NppExport.dll

To show what happens, in the command prompt you can use the command 'dir /r' to see files including other streams.

Setup:
setup

Before saving with Notepad++:
before

After saving with Notepad++:
after

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions