{"action":"created","issue":{"url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/4409","repository_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus","labels_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/4409/labels{/name}","comments_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/4409/comments","events_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/4409/events","html_url":"https://github.com/notepad-plus-plus/notepad-plus-plus/issues/4409","id":314279546,"number":4409,"title":"Read-only Flag Cleared Upon Close & Reopen","user":{"login":"nathanm","id":403566,"avatar_url":"https://avatars0.githubusercontent.com/u/403566?v=4","gravatar_id":"","url":"https://api.github.com/users/nathanm","html_url":"https://github.com/nathanm","followers_url":"https://api.github.com/users/nathanm/followers","following_url":"https://api.github.com/users/nathanm/following{/other_user}","gists_url":"https://api.github.com/users/nathanm/gists{/gist_id}","starred_url":"https://api.github.com/users/nathanm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathanm/subscriptions","organizations_url":"https://api.github.com/users/nathanm/orgs","repos_url":"https://api.github.com/users/nathanm/repos","events_url":"https://api.github.com/users/nathanm/events{/privacy}","received_events_url":"https://api.github.com/users/nathanm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-04-13T23:50:49Z","updated_at":"2018-04-15T23:04:40Z","closed_at":null,"author_association":"NONE","body":"### Description of the Issue\r\nI usually keep a text file open in Notepad++ with special characters that I use to paste into documents. Because I don't want to inadvertently change it, I have the read-only flag set, just in case. However, with the latest update to Notepad++, the read-only flag is cleared when I open Notepad++.\r\n\r\nI tried setting the file's read-only attribute in Windows Explorer, while Notepad++ was closed. Then, after reopening Notepad++, the flag was still set. However, after clearing it and setting it again in Notepad++, the wrong behavior continued.\r\n\r\n### Steps to Reproduce the Issue\r\n1. Set the read-only flag on a file\r\n2. Close Notepad++\r\n3. Open Notepad++\r\n\r\n### Expected Behavior\r\nThe read-only flag should remain set or cleared for each file, whatever its state was when last open.\r\n\r\n### Actual Behavior\r\nThe read-only flag is cleared for a file that was previously set.\r\n\r\n### Debug Information\r\nNotepad++ v7.5.6   (32-bit)\r\nBuild time : Mar 19 2018 - 00:26:59\r\nPath : C:\\Program Files (x86)\\Notepad++\\notepad++.exe\r\nAdmin mode : OFF\r\nLocal Conf mode : OFF\r\nOS : Windows 10 (64-bit)\r\nPlugins : DSpellCheck.dll GedcomLexer.dll mimeTools.dll NppConverter.dll NppExport.dll PluginManager.dll "},"comment":{"url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/comments/381445341","html_url":"https://github.com/notepad-plus-plus/notepad-plus-plus/issues/4409#issuecomment-381445341","issue_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/4409","id":381445341,"user":{"login":"nathanm","id":403566,"avatar_url":"https://avatars0.githubusercontent.com/u/403566?v=4","gravatar_id":"","url":"https://api.github.com/users/nathanm","html_url":"https://github.com/nathanm","followers_url":"https://api.github.com/users/nathanm/followers","following_url":"https://api.github.com/users/nathanm/following{/other_user}","gists_url":"https://api.github.com/users/nathanm/gists{/gist_id}","starred_url":"https://api.github.com/users/nathanm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathanm/subscriptions","organizations_url":"https://api.github.com/users/nathanm/orgs","repos_url":"https://api.github.com/users/nathanm/repos","events_url":"https://api.github.com/users/nathanm/events{/privacy}","received_events_url":"https://api.github.com/users/nathanm/received_events","type":"User","site_admin":false},"created_at":"2018-04-15T23:04:40Z","updated_at":"2018-04-15T23:04:40Z","author_association":"NONE","body":"I don't mean every individual file, just the ones that were open when Notepad++ was closed."}}
{"actor":{"display_login":"nathanm"}}