{"action":"created","issue":{"url":"https://api.github.com/repos/pbek/QOwnNotes/issues/318","repository_url":"https://api.github.com/repos/pbek/QOwnNotes","labels_url":"https://api.github.com/repos/pbek/QOwnNotes/issues/318/labels{/name}","comments_url":"https://api.github.com/repos/pbek/QOwnNotes/issues/318/comments","events_url":"https://api.github.com/repos/pbek/QOwnNotes/issues/318/events","html_url":"https://github.com/pbek/QOwnNotes/issues/318","id":176850334,"number":318,"title":"Notes recreated when changing Notes default folder","user":{"login":"yvesle","id":22190569,"avatar_url":"https://avatars.githubusercontent.com/u/22190569?v=3","gravatar_id":"","url":"https://api.github.com/users/yvesle","html_url":"https://github.com/yvesle","followers_url":"https://api.github.com/users/yvesle/followers","following_url":"https://api.github.com/users/yvesle/following{/other_user}","gists_url":"https://api.github.com/users/yvesle/gists{/gist_id}","starred_url":"https://api.github.com/users/yvesle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yvesle/subscriptions","organizations_url":"https://api.github.com/users/yvesle/orgs","repos_url":"https://api.github.com/users/yvesle/repos","events_url":"https://api.github.com/users/yvesle/events{/privacy}","received_events_url":"https://api.github.com/users/yvesle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-14T08:50:29Z","updated_at":"2016-09-14T12:45:34Z","closed_at":null,"body":"Hi, thanks for the nice app but I encountered a weird problem when changing Notes default folder\r\n\r\n**What I did**\r\nI did some test creating notes on a dummy folder with a dozen files in it.\r\nI then changed the default notes folder to my real one and did CTRL+MAJ+R (Reload the notes folder)\r\nOnly on default folder whas used. \r\nNo sync set up with owncloud.\r\nWindows 7\r\n\r\n**What happened**\r\nThe notes panes displayed the notes in my new default older AND the ones in the old folder\r\nI tried : Setttings>General>delete all application data and quit : no change\r\nI tried : Setttings>General>reinit database, close QOwnnotes : no change\r\nLooking in the new note folder I could see that the notes from the old folder where recreated in the new one\r\nDeleting them from the notes panes solved the problem.\r\n\r\n**What I expected**\r\nUsing CTRL+MAJ+R should refresh the notes panes and only display the notes in the newly configured folder.\r\n\r\nTell me if you need more information or tests on my part\r\n\r\nAttached my debug info if needed\r\n[QOwnNotes Debug Information.txt](https://github.com/pbek/QOwnNotes/files/471603/QOwnNotes.Debug.Information.txt)\r\n"},"comment":{"url":"https://api.github.com/repos/pbek/QOwnNotes/issues/comments/247001191","html_url":"https://github.com/pbek/QOwnNotes/issues/318#issuecomment-247001191","issue_url":"https://api.github.com/repos/pbek/QOwnNotes/issues/318","id":247001191,"user":{"login":"yvesle","id":22190569,"avatar_url":"https://avatars.githubusercontent.com/u/22190569?v=3","gravatar_id":"","url":"https://api.github.com/users/yvesle","html_url":"https://github.com/yvesle","followers_url":"https://api.github.com/users/yvesle/followers","following_url":"https://api.github.com/users/yvesle/following{/other_user}","gists_url":"https://api.github.com/users/yvesle/gists{/gist_id}","starred_url":"https://api.github.com/users/yvesle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yvesle/subscriptions","organizations_url":"https://api.github.com/users/yvesle/orgs","repos_url":"https://api.github.com/users/yvesle/repos","events_url":"https://api.github.com/users/yvesle/events{/privacy}","received_events_url":"https://api.github.com/users/yvesle/received_events","type":"User","site_admin":false},"created_at":"2016-09-14T12:45:34Z","updated_at":"2016-09-14T12:45:34Z","body":"Indeed if I add a second note folder and switch between the two I do not encounter any problem and see the correct notes and folders\r\nGranted, I had the issue because I was explicitely testing the application and I do not think I would need to do it again in normal use.\r\n\r\nAs a solution I can imagine not allowing to edit the path of a existing note folder. The UI is simple enough to delete it and recreate it when needed."}}
{"actor":{"display_login":"yvesle"}}