RectifyPad icon indicating copy to clipboard operation
RectifyPad copied to clipboard

Save button prompts a Save window even after a file has been saved

Open AuroraMartell opened this issue 2 months ago • 1 comments

As the title says. Could you look into this?

AuroraMartell avatar Nov 08 '25 00:11 AuroraMartell

As the title says. Could you look into this?

yeah i will

lixkote avatar Nov 08 '25 13:11 lixkote

Same problem here - what I noticed is that all files created by RectifyPad are essentially flagged with "Mark of the Web" - they have Alternate Data Stream (ADS) named Zone.Identifier with ZoneId = 3 (Internet). This flag can be cleared (right-click, Properties, Unlock) but then it gets set again whenever I save the file.

PS C:\> Get-Item -Path 'C:\temp\example_doc.rtf' -Stream *

PSPath        : Microsoft.PowerShell.Core\FileSystem::C:\temp\example_doc.rtf::$DATA
PSParentPath  : Microsoft.PowerShell.Core\FileSystem::C:\temp
PSChildName   : example_doc.rtf::$DATA
PSDrive       : C
PSProvider    : Microsoft.PowerShell.Core\FileSystem
PSIsContainer : False
FileName      : C:\temp\example_doc.rtf
Stream        : :$DATA
Length        : 296

PSPath        : Microsoft.PowerShell.Core\FileSystem::C:\temp\example_doc.rtf:Zone.Identifier
PSParentPath  : Microsoft.PowerShell.Core\FileSystem::C:\temp
PSChildName   : example_doc.rtf:Zone.Identifier
PSDrive       : C
PSProvider    : Microsoft.PowerShell.Core\FileSystem
PSIsContainer : False
FileName      : C:\temp\example_doc.rtf
Stream        : Zone.Identifier
Length        : 79


PS C:\> Get-Content -Path 'C:\temp\example_doc.rtf' -Stream Zone.Identifier
[ZoneTransfer]
LastWriterPackageFamilyName=RectifyPad_rbbnqfjcnctap
ZoneId=3

gec1-dev avatar Dec 10 '25 10:12 gec1-dev

I will look into it, thanks

lixkote avatar Dec 10 '25 13:12 lixkote