Skip to content

Recognizing file changes behaviour #10839

@Alpengreis

Description

@Alpengreis

Description of the Issue

I am not sure if the current behaviour of recognizing file changes behaviour is correct or not ...

Steps to Reproduce the Issue

  1. Make sure that the file change recognition is activated in Notepad++.
  2. Open Notepad++ and write some text.
  3. Save as a.txt.
  4. Copy a.txt somewhere as backup.
  5. Change the still opened file in Notepad++ and save it again.
  6. Copy the backup file back (with explorer or so) and overwrite the opened file (a.txt).

Expected Behavior

Should it recognize the changed file, or is this behaviour ok?

Actual Behavior

It does not recognize the changed file without a reload.

Debug Information

Notepad++ v8.1.9.2 (64-bit)
Build time : Nov 21 2021 - 04:30:20
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line :
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 10 Pro (64-bit)
OS Version : 2009
OS Build : 19044.1387
Current ANSI codepage : 1252
Plugins : DSpellCheck.dll mimeTools.dll NppConverter.dll NppExec.dll NppExport.dll PythonScript.dll

Note: if both, the original and the backup file are open in Notepad++ before I overwrite the file, it DOES recognize the changes!

EDITED 5. to make it more clear hopefully ...

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions