{"action":"created","issue":{"url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/1356","labels_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/1356/labels{/name}","comments_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/1356/comments","events_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/1356/events","html_url":"https://github.com/notepad-plus-plus/notepad-plus-plus/issues/1356","id":126112742,"number":1356,"title":"Notepad++ should make a record for every time a file is opened or closed.","user":{"login":"hackwrench","id":8695599,"avatar_url":"https://avatars.githubusercontent.com/u/8695599?v=3","gravatar_id":"","url":"https://api.github.com/users/hackwrench","html_url":"https://github.com/hackwrench","followers_url":"https://api.github.com/users/hackwrench/followers","following_url":"https://api.github.com/users/hackwrench/following{/other_user}","gists_url":"https://api.github.com/users/hackwrench/gists{/gist_id}","starred_url":"https://api.github.com/users/hackwrench/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hackwrench/subscriptions","organizations_url":"https://api.github.com/users/hackwrench/orgs","repos_url":"https://api.github.com/users/hackwrench/repos","events_url":"https://api.github.com/users/hackwrench/events{/privacy}","received_events_url":"https://api.github.com/users/hackwrench/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-12T06:58:27Z","updated_at":"2016-01-12T16:28:58Z","closed_at":null,"body":"I don't know how NPP keeps track of when to update the record now, but it results in NPP forgetting which files it has open when Windows encounters a situation that results in it not shutting down properly. For some reason, at https://notepad-plus-plus.org/community/topic/11089/when-windows-is-shut-down-improperly-npp-forgets-files/4 misgivings about such a feature were expressed, but Claudia Frank wasn't too forthcoming on why she has misgivings. I have asked her to clarify though. I have both remember current session for next launch and Enable session snapshot and periodic backup enabled, but apparently the way that it is implemented still results in NPP forgetting that it had files open.\r\n\r\n\"Recent file history\" sounds like it might have something to do with the \"MRU\" (Most recently used list, but the \"?\" menu doesn't appear to have an entry for feature description help, and a web search turned up nothing on the first page of results.\r\n\r\nhttps://notepad-plus-plus.org/community/topic/5324/now-to-disable-recent-opend-files-list-in-menu-window\r\nsays something about a file not showing up again when after opening a file and \"closing it immediately\" it won't show up again, but does the operating system shutting down count as a \"close\"? How about the definition of \"immediately\"? Personally I could do without NPP completely forgetting about a file until it gets knocked off the MRU list. These days, everything is poorly documented, so it's not just you. I may be a little bit guilty myself and my circumstances don't absolve me of fault. Microsoft's been guilty of it for quite some time, only they have the problem of Windows 10 being the worst Windows OS ever currently, but at least they have a structure in place for accepting feedback, but I don't know how long it will take for Windows to be made whole again. But I digress."},"comment":{"url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/comments/170965411","html_url":"https://github.com/notepad-plus-plus/notepad-plus-plus/issues/1356#issuecomment-170965411","issue_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/1356","id":170965411,"user":{"login":"xylographe","id":8535293,"avatar_url":"https://avatars.githubusercontent.com/u/8535293?v=3","gravatar_id":"","url":"https://api.github.com/users/xylographe","html_url":"https://github.com/xylographe","followers_url":"https://api.github.com/users/xylographe/followers","following_url":"https://api.github.com/users/xylographe/following{/other_user}","gists_url":"https://api.github.com/users/xylographe/gists{/gist_id}","starred_url":"https://api.github.com/users/xylographe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xylographe/subscriptions","organizations_url":"https://api.github.com/users/xylographe/orgs","repos_url":"https://api.github.com/users/xylographe/repos","events_url":"https://api.github.com/users/xylographe/events{/privacy}","received_events_url":"https://api.github.com/users/xylographe/received_events","type":"User","site_admin":false},"created_at":"2016-01-12T16:28:58Z","updated_at":"2016-01-12T16:28:58Z","body":"I think, the problem is that the session is only saved when NPP is exited properly.\r\nSaving the session after a new file has been opened and also after a file has been closed, would limit the chance that information is lost after a crash.\r\n"}}