{"action":"created","issue":{"url":"https://api.github.com/repos/pbek/QOwnNotes/issues/1093","repository_url":"https://api.github.com/repos/pbek/QOwnNotes","labels_url":"https://api.github.com/repos/pbek/QOwnNotes/issues/1093/labels{/name}","comments_url":"https://api.github.com/repos/pbek/QOwnNotes/issues/1093/comments","events_url":"https://api.github.com/repos/pbek/QOwnNotes/issues/1093/events","html_url":"https://github.com/pbek/QOwnNotes/issues/1093","id":393660226,"node_id":"MDU6SXNzdWUzOTM2NjAyMjY=","number":1093,"title":"Subfolders panel hides immediately upon creating a subfolder if sub-folders are turned off on Windows","user":{"login":"manad777","id":3642217,"node_id":"MDQ6VXNlcjM2NDIyMTc=","avatar_url":"https://avatars0.githubusercontent.com/u/3642217?v=4","gravatar_id":"","url":"https://api.github.com/users/manad777","html_url":"https://github.com/manad777","followers_url":"https://api.github.com/users/manad777/followers","following_url":"https://api.github.com/users/manad777/following{/other_user}","gists_url":"https://api.github.com/users/manad777/gists{/gist_id}","starred_url":"https://api.github.com/users/manad777/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manad777/subscriptions","organizations_url":"https://api.github.com/users/manad777/orgs","repos_url":"https://api.github.com/users/manad777/repos","events_url":"https://api.github.com/users/manad777/events{/privacy}","received_events_url":"https://api.github.com/users/manad777/received_events","type":"User","site_admin":false},"labels":[{"id":153437346,"node_id":"MDU6TGFiZWwxNTM0MzczNDY=","url":"https://api.github.com/repos/pbek/QOwnNotes/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/pbek/QOwnNotes/milestones/272","html_url":"https://github.com/pbek/QOwnNotes/milestone/272","labels_url":"https://api.github.com/repos/pbek/QOwnNotes/milestones/272/labels","id":3923863,"node_id":"MDk6TWlsZXN0b25lMzkyMzg2Mw==","number":272,"title":"18.12.6","description":null,"creator":{"login":"pbek","id":1798101,"node_id":"MDQ6VXNlcjE3OTgxMDE=","avatar_url":"https://avatars0.githubusercontent.com/u/1798101?v=4","gravatar_id":"","url":"https://api.github.com/users/pbek","html_url":"https://github.com/pbek","followers_url":"https://api.github.com/users/pbek/followers","following_url":"https://api.github.com/users/pbek/following{/other_user}","gists_url":"https://api.github.com/users/pbek/gists{/gist_id}","starred_url":"https://api.github.com/users/pbek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbek/subscriptions","organizations_url":"https://api.github.com/users/pbek/orgs","repos_url":"https://api.github.com/users/pbek/repos","events_url":"https://api.github.com/users/pbek/events{/privacy}","received_events_url":"https://api.github.com/users/pbek/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"open","created_at":"2018-12-26T06:43:35Z","updated_at":"2018-12-27T05:48:05Z","due_on":null,"closed_at":null},"comments":15,"created_at":"2018-12-22T09:52:29Z","updated_at":"2018-12-27T05:48:04Z","closed_at":"2018-12-27T05:48:04Z","author_association":"NONE","body":"**Issue resolved, see 2nd comment below**\r\n\r\n#### Expected behaviour\r\nCan use subfolders panel\r\n\r\n#### Actual behaviour\r\nSubfolders panel crashes immediately upon creating a subfolder\r\n\r\n#### Steps to reproduce\r\n1. Make Subfolders panel visible\r\n2. In the subfolders panel, right-click and click New Subfolder\r\n3. Enter a name in the new dialog and click OK\r\n4. As soon as you click OK in the name dialog, the subfolders panel closes\r\n\r\n\r\n#### Output from the debug section in the settings dialog\r\nhttps://pastebin.com/raw/bBiY33Rc\r\n\r\n#### Relevant log output in the Log panel\r\n[04:43:11] [debug] buildNotesIndex - 'noteSubFolderId': 0\r\n[04:43:11] [debug] setupNoteFolderTables - 'database version': 13\r\n[04:43:11] [debug] filterNotesByTag - 'tags': (Tag: <id>3 <name>\"test1\" <parentId>0 ) \r\n[04:43:11] [debug] filterNotesByTag - 'fileNameList': ()\r\n[04:43:11] [debug] reloadNoteSubFolderTree\r\n[04:43:11] [debug] notesDirectoryWasModified: \"C:/Users/username/Documents/toolsLocal/QOwnNotes/Data/Notes\"\r\n[04:43:11] [status] Notes directory was modified externally\r\n[04:43:11] [debug] buildNotesIndex - 'noteSubFolderId': 0\r\n[04:43:11] [debug] setupNoteFolderTables - 'database version': 13\r\n[04:43:11] [debug] updateNoteText: true\r\n[04:43:11] [debug] setCurrentNote - 'note': Note: <id>0 <name>\"\" <fileName>\"\" <noteSubFolderId>0 <relativePath>\"\" <hasDirtyData>true - 'updateNoteText': true - 'updateSelectedNote': true\r\n[04:43:11] [warning] QTextCursor::setPosition: Position '4' out of range"},"comment":{"url":"https://api.github.com/repos/pbek/QOwnNotes/issues/comments/450080047","html_url":"https://github.com/pbek/QOwnNotes/issues/1093#issuecomment-450080047","issue_url":"https://api.github.com/repos/pbek/QOwnNotes/issues/1093","id":450080047,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDA4MDA0Nw==","user":{"login":"pbek","id":1798101,"node_id":"MDQ6VXNlcjE3OTgxMDE=","avatar_url":"https://avatars0.githubusercontent.com/u/1798101?v=4","gravatar_id":"","url":"https://api.github.com/users/pbek","html_url":"https://github.com/pbek","followers_url":"https://api.github.com/users/pbek/followers","following_url":"https://api.github.com/users/pbek/following{/other_user}","gists_url":"https://api.github.com/users/pbek/gists{/gist_id}","starred_url":"https://api.github.com/users/pbek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbek/subscriptions","organizations_url":"https://api.github.com/users/pbek/orgs","repos_url":"https://api.github.com/users/pbek/repos","events_url":"https://api.github.com/users/pbek/events{/privacy}","received_events_url":"https://api.github.com/users/pbek/received_events","type":"User","site_admin":false},"created_at":"2018-12-27T05:48:04Z","updated_at":"2018-12-27T05:48:04Z","author_association":"OWNER","body":"Great, thank you for testing!"}}
{"actor":{"display_login":"pbek"}}