{"action":"created","issue":{"url":"https://api.github.com/repos/Komodo/KomodoEdit/issues/3027","repository_url":"https://api.github.com/repos/Komodo/KomodoEdit","labels_url":"https://api.github.com/repos/Komodo/KomodoEdit/issues/3027/labels{/name}","comments_url":"https://api.github.com/repos/Komodo/KomodoEdit/issues/3027/comments","events_url":"https://api.github.com/repos/Komodo/KomodoEdit/issues/3027/events","html_url":"https://github.com/Komodo/KomodoEdit/issues/3027","id":254509125,"number":3027,"title":"ko.utils.restart cause komodo to shutdown improperly","user":{"login":"cgchoffman","id":655154,"avatar_url":"https://avatars0.githubusercontent.com/u/655154?v=4","gravatar_id":"","url":"https://api.github.com/users/cgchoffman","html_url":"https://github.com/cgchoffman","followers_url":"https://api.github.com/users/cgchoffman/followers","following_url":"https://api.github.com/users/cgchoffman/following{/other_user}","gists_url":"https://api.github.com/users/cgchoffman/gists{/gist_id}","starred_url":"https://api.github.com/users/cgchoffman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgchoffman/subscriptions","organizations_url":"https://api.github.com/users/cgchoffman/orgs","repos_url":"https://api.github.com/users/cgchoffman/repos","events_url":"https://api.github.com/users/cgchoffman/events{/privacy}","received_events_url":"https://api.github.com/users/cgchoffman/received_events","type":"User","site_admin":false},"labels":[{"id":50185730,"url":"https://api.github.com/repos/Komodo/KomodoEdit/labels/Closed:%20Invalid","name":"Closed: Invalid","color":"cccccc","default":false},{"id":50185727,"url":"https://api.github.com/repos/Komodo/KomodoEdit/labels/Type:%20Bug","name":"Type: Bug","color":"006b75","default":false}],"state":"closed","locked":false,"assignee":{"login":"Naatan","id":278649,"avatar_url":"https://avatars3.githubusercontent.com/u/278649?v=4","gravatar_id":"","url":"https://api.github.com/users/Naatan","html_url":"https://github.com/Naatan","followers_url":"https://api.github.com/users/Naatan/followers","following_url":"https://api.github.com/users/Naatan/following{/other_user}","gists_url":"https://api.github.com/users/Naatan/gists{/gist_id}","starred_url":"https://api.github.com/users/Naatan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Naatan/subscriptions","organizations_url":"https://api.github.com/users/Naatan/orgs","repos_url":"https://api.github.com/users/Naatan/repos","events_url":"https://api.github.com/users/Naatan/events{/privacy}","received_events_url":"https://api.github.com/users/Naatan/received_events","type":"User","site_admin":false},"assignees":[{"login":"Naatan","id":278649,"avatar_url":"https://avatars3.githubusercontent.com/u/278649?v=4","gravatar_id":"","url":"https://api.github.com/users/Naatan","html_url":"https://github.com/Naatan","followers_url":"https://api.github.com/users/Naatan/followers","following_url":"https://api.github.com/users/Naatan/following{/other_user}","gists_url":"https://api.github.com/users/Naatan/gists{/gist_id}","starred_url":"https://api.github.com/users/Naatan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Naatan/subscriptions","organizations_url":"https://api.github.com/users/Naatan/orgs","repos_url":"https://api.github.com/users/Naatan/repos","events_url":"https://api.github.com/users/Naatan/events{/privacy}","received_events_url":"https://api.github.com/users/Naatan/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Komodo/KomodoEdit/milestones/27","html_url":"https://github.com/Komodo/KomodoEdit/milestone/27","labels_url":"https://api.github.com/repos/Komodo/KomodoEdit/milestones/27/labels","id":2443876,"number":27,"title":"11.x.x","description":"Tasks that we would like to get to during the 11.x lifetime but don't belong on any immediate milestones","creator":{"login":"Naatan","id":278649,"avatar_url":"https://avatars3.githubusercontent.com/u/278649?v=4","gravatar_id":"","url":"https://api.github.com/users/Naatan","html_url":"https://github.com/Naatan","followers_url":"https://api.github.com/users/Naatan/followers","following_url":"https://api.github.com/users/Naatan/following{/other_user}","gists_url":"https://api.github.com/users/Naatan/gists{/gist_id}","starred_url":"https://api.github.com/users/Naatan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Naatan/subscriptions","organizations_url":"https://api.github.com/users/Naatan/orgs","repos_url":"https://api.github.com/users/Naatan/repos","events_url":"https://api.github.com/users/Naatan/events{/privacy}","received_events_url":"https://api.github.com/users/Naatan/received_events","type":"User","site_admin":false},"open_issues":134,"closed_issues":25,"state":"open","created_at":"2017-04-07T18:15:48Z","updated_at":"2017-09-01T01:37:14Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2017-09-01T01:05:10Z","updated_at":"2017-09-01T15:39:30Z","closed_at":"2017-09-01T01:37:14Z","author_association":"MEMBER","body":"### Short Summary\r\n\r\nI've noticed with some of the trouble shooting options reset aspects of Komodo and now i'm getting it 100% of the time when restarting after enabling or disabling code intel prefs.\r\n\r\nI THINK what is going on is that in the cases where Komodo retarts then tells you is shutdown improperly and asks you to \"recover\" the pref that gets removed on shutdown isn't being remove because the shutdown happens while the prefs are being modified...?  I'm not sure\r\n\r\nIn the case of the code intel change i added a setTimeout and it now works\r\n\r\n```\r\n    var msg = \"Code Intel preferences changes require Komodo to restart.  Restart now?\";\r\n    var opts = {\r\n        yes: \"Yes\",\r\n        no: \"No\",\r\n    };\r\n    if(require(\"ko/dialogs\").confirm(msg,opts))\r\n    {\r\n        require(\"ko/windows\").getMain().setTimeout(()=>{legacy.utils.restart(true);},200);  //This timeout fixes it\r\n    }\r\n    return true;\r\n```\r\n\r\n@Naatan, assigning to you so we can discuss what this might be, tomorrow."},"comment":{"url":"https://api.github.com/repos/Komodo/KomodoEdit/issues/comments/326613527","html_url":"https://github.com/Komodo/KomodoEdit/issues/3027#issuecomment-326613527","issue_url":"https://api.github.com/repos/Komodo/KomodoEdit/issues/3027","id":326613527,"user":{"login":"cgchoffman","id":655154,"avatar_url":"https://avatars0.githubusercontent.com/u/655154?v=4","gravatar_id":"","url":"https://api.github.com/users/cgchoffman","html_url":"https://github.com/cgchoffman","followers_url":"https://api.github.com/users/cgchoffman/followers","following_url":"https://api.github.com/users/cgchoffman/following{/other_user}","gists_url":"https://api.github.com/users/cgchoffman/gists{/gist_id}","starred_url":"https://api.github.com/users/cgchoffman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgchoffman/subscriptions","organizations_url":"https://api.github.com/users/cgchoffman/orgs","repos_url":"https://api.github.com/users/cgchoffman/repos","events_url":"https://api.github.com/users/cgchoffman/events{/privacy}","received_events_url":"https://api.github.com/users/cgchoffman/received_events","type":"User","site_admin":false},"created_at":"2017-09-01T15:39:30Z","updated_at":"2017-09-01T15:39:30Z","author_association":"MEMBER","body":"> I've noticed with some of the trouble shooting options reset aspects of Komodo \r\n\r\nSpecifically when I reset file preferences a couple of days ago, unfortunately i wasn't able to repro that 100%. \r\n\r\nI am ok with closing if there is nothing to be done but it sounded like you hadn't seen my other repro (reset file prefs) and wanted to make sure you had considered that before closing."}}
{"actor":{"display_login":"cgchoffman"}}