{"action":"created","issue":{"url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/3939","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/3939/labels{/name}","comments_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/3939/comments","events_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/3939/events","html_url":"https://github.com/notepad-plus-plus/notepad-plus-plus/issues/3939","id":277956655,"number":3939,"title":"v7.5.2: View > Summary is Crippled","user":{"login":"Doryforos","id":894977,"avatar_url":"https://avatars1.githubusercontent.com/u/894977?v=4","gravatar_id":"","url":"https://api.github.com/users/Doryforos","html_url":"https://github.com/Doryforos","followers_url":"https://api.github.com/users/Doryforos/followers","following_url":"https://api.github.com/users/Doryforos/following{/other_user}","gists_url":"https://api.github.com/users/Doryforos/gists{/gist_id}","starred_url":"https://api.github.com/users/Doryforos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Doryforos/subscriptions","organizations_url":"https://api.github.com/users/Doryforos/orgs","repos_url":"https://api.github.com/users/Doryforos/repos","events_url":"https://api.github.com/users/Doryforos/events{/privacy}","received_events_url":"https://api.github.com/users/Doryforos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-30T00:26:44Z","updated_at":"2017-11-30T13:45:26Z","closed_at":null,"author_association":"NONE","body":"<!--- This is a generic template and may not be applicable in all cases. -->\r\n<!--- Try to follow it where possible. -->\r\n\r\nUp to v7.5.1 View > Summary displayed full file path, creation and modification dates and file size in bytes on top of the text statistics. This is no longer the case in v7.5.2:\r\n<!--- Provide a more detailed description to the issue itself -->\r\n\r\n### Steps to Reproduce the Issue\r\n<!--- Set of steps to reproduce this issue -->\r\n1. Install Notepad++ v7.5.2\r\n2. Open a text file\r\n3. Select View > Summary from the Notepad++ menu bar\r\n\r\n### Expected Behavior [screenshot from v7.5.1]\r\n![6 2 2-summary](https://user-images.githubusercontent.com/894977/33406329-f322fe9e-d574-11e7-9d53-b1b48d28f20b.jpg)\r\n\r\n<!--- What did you expect to happen -->\r\n\r\n### Actual Behavior [screenshot from v7.5.1 (same file)]\r\n<!--- What actually happened -->\r\n\r\n![7 5 2-summary](https://user-images.githubusercontent.com/894977/33406347-0f73f2ba-d575-11e7-88b7-1d51515e8fa8.jpg)\r\n\r\nClearly a bug, since no such change is mentioned under “Notepad++ v7.5.2 bug-fixes and enhancement” on the download page.\r\n<!--- Debug Info can be found under under the \"?\" menu -->\r\n\r\n<!--- Feel free to include any other info, such as screenshots, etc -->\r\n"},"comment":{"url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/comments/348191874","html_url":"https://github.com/notepad-plus-plus/notepad-plus-plus/issues/3939#issuecomment-348191874","issue_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/3939","id":348191874,"user":{"login":"sasumner","id":30118311,"avatar_url":"https://avatars0.githubusercontent.com/u/30118311?v=4","gravatar_id":"","url":"https://api.github.com/users/sasumner","html_url":"https://github.com/sasumner","followers_url":"https://api.github.com/users/sasumner/followers","following_url":"https://api.github.com/users/sasumner/following{/other_user}","gists_url":"https://api.github.com/users/sasumner/gists{/gist_id}","starred_url":"https://api.github.com/users/sasumner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sasumner/subscriptions","organizations_url":"https://api.github.com/users/sasumner/orgs","repos_url":"https://api.github.com/users/sasumner/repos","events_url":"https://api.github.com/users/sasumner/events{/privacy}","received_events_url":"https://api.github.com/users/sasumner/received_events","type":"User","site_admin":false},"created_at":"2017-11-30T13:45:26Z","updated_at":"2017-11-30T13:45:26Z","author_association":"NONE","body":"Works okay for me (7.5.2 x86 portable).  What you are seeing is consistent with the operation on a never-saved file, for what that's worth.  The stuff you aren't seeing is generated inside the following \"if\" block:\r\n\r\n```\r\nint fileLen = curBuf->getFileLength();\r\nif (fileLen != -1)\r\n{\r\n// generate file-system info about the file\r\n}\r\n```\r\n\r\nFor a never-saved file getLength() will return -1.  Not saying this is what you're seeing, just my observations."}}
{"actor":{"display_login":"sasumner"}}