Skip to content

Regression of v8.5.0, still found in v8.5.3 tracking write protection #13742

@cs-hv

Description

@cs-hv

Description of the Issue

When a write protected file is opened and the write protection is removed, notepad++ still shows that the file is write protected and editing is not possible. Write protection has to be manually removed using the corresponding menu before the file can be edited and re-written.
Background: We use SVN for managing our source codes an when a file shall be edited, it has to be locked using a context menu from a plugin of notepad++. When the file is locked, the write protection is cleared. Notepad++ fails to track this change correctly.
This happens only for the first file being editing this way.
With v8.4.9 the behaviour is as exptected.

Steps to Reproduce the Issue

  1. Open a file that is write protected.
  2. Remove write protection (i.e. using explorer).

Expected Behavior

Write protection removed, file can be edited.

Actual Behavior

Notepad++ still shows the file being write protected, editing not possible.

Debug Information

Notepad++ v8.5.3 (32-bit)
Build time : May 15 2023 - 06:07:16
Path : C:\Program Files (x86)\Notepad++\notepad++.exe
Command Line :
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 10 Enterprise (64-bit)
OS Version : 22H2
OS Build : 19045.2965
Current ANSI codepage : 1252
Plugins :
GhNppExec ()
mimeTools (2.9)
NppConverter (4.5)
NppExport (0.4)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions