{"action":"created","issue":{"url":"https://api.github.com/repos/almostearthling/when-command/issues/83","repository_url":"https://api.github.com/repos/almostearthling/when-command","labels_url":"https://api.github.com/repos/almostearthling/when-command/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/almostearthling/when-command/issues/83/comments","events_url":"https://api.github.com/repos/almostearthling/when-command/issues/83/events","html_url":"https://github.com/almostearthling/when-command/issues/83","id":154247089,"number":83,"title":"Option to restart a When session","user":{"login":"almostearthling","id":11710868,"avatar_url":"https://avatars.githubusercontent.com/u/11710868?v=3","gravatar_id":"","url":"https://api.github.com/users/almostearthling","html_url":"https://github.com/almostearthling","followers_url":"https://api.github.com/users/almostearthling/followers","following_url":"https://api.github.com/users/almostearthling/following{/other_user}","gists_url":"https://api.github.com/users/almostearthling/gists{/gist_id}","starred_url":"https://api.github.com/users/almostearthling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/almostearthling/subscriptions","organizations_url":"https://api.github.com/users/almostearthling/orgs","repos_url":"https://api.github.com/users/almostearthling/repos","events_url":"https://api.github.com/users/almostearthling/events{/privacy}","received_events_url":"https://api.github.com/users/almostearthling/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/almostearthling/when-command/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"almostearthling","id":11710868,"avatar_url":"https://avatars.githubusercontent.com/u/11710868?v=3","gravatar_id":"","url":"https://api.github.com/users/almostearthling","html_url":"https://github.com/almostearthling","followers_url":"https://api.github.com/users/almostearthling/followers","following_url":"https://api.github.com/users/almostearthling/following{/other_user}","gists_url":"https://api.github.com/users/almostearthling/gists{/gist_id}","starred_url":"https://api.github.com/users/almostearthling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/almostearthling/subscriptions","organizations_url":"https://api.github.com/users/almostearthling/orgs","repos_url":"https://api.github.com/users/almostearthling/repos","events_url":"https://api.github.com/users/almostearthling/events{/privacy}","received_events_url":"https://api.github.com/users/almostearthling/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/almostearthling/when-command/milestones/10","html_url":"https://github.com/almostearthling/when-command/milestones/1.0.0","labels_url":"https://api.github.com/repos/almostearthling/when-command/milestones/10/labels","id":1432990,"number":10,"title":"1.0.0","description":null,"creator":{"login":"almostearthling","id":11710868,"avatar_url":"https://avatars.githubusercontent.com/u/11710868?v=3","gravatar_id":"","url":"https://api.github.com/users/almostearthling","html_url":"https://github.com/almostearthling","followers_url":"https://api.github.com/users/almostearthling/followers","following_url":"https://api.github.com/users/almostearthling/following{/other_user}","gists_url":"https://api.github.com/users/almostearthling/gists{/gist_id}","starred_url":"https://api.github.com/users/almostearthling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/almostearthling/subscriptions","organizations_url":"https://api.github.com/users/almostearthling/orgs","repos_url":"https://api.github.com/users/almostearthling/repos","events_url":"https://api.github.com/users/almostearthling/events{/privacy}","received_events_url":"https://api.github.com/users/almostearthling/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":17,"state":"open","created_at":"2015-11-28T00:02:31Z","updated_at":"2016-05-11T13:43:58Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-05-11T13:43:58Z","updated_at":"2016-05-14T19:10:53Z","closed_at":null,"body":"Actually, **When** (especially using the wizard interface) makes it simpler to automatically manage the power of a desktop workstation, and in particular to suspend a machine after it has been inactive for a while. This can lead to some \"lazier\" behaviors from users who, as I do, just let the computer alone being confident that it would automatically switch to a more power-efficient state after a while.\r\n\r\nHowever, there are a class of events that only happen once per session - especially, the ones that do not have the *Repeat Checks* flag set to *on*. These events will not occur anymore after a wake-up from suspended state, unless the applet itself is restarted. This behavior can be seen as unusual or at least unexpected, as an user might interpret the concept of session as a phisical session, thus interrupted when the workstation was suspended.\r\n\r\nA solution can be given as the possibility to \"*restart* the internal clock\" of the applet. It should be available at least through the following actions:\r\n\r\n- a command line switch, in which a running instance is restarted (implies a DBus function)\r\n- a menu entry (to be hidden when in *Minimalistic Mode*)\r\n- a configuration option specifically designed to restart after waking up from suspended state.\r\n\r\nThe third option is particularly interesting, as it automates the most common case, and should be set to *on* by default."},"comment":{"url":"https://api.github.com/repos/almostearthling/when-command/issues/comments/219237836","html_url":"https://github.com/almostearthling/when-command/issues/83#issuecomment-219237836","issue_url":"https://api.github.com/repos/almostearthling/when-command/issues/83","id":219237836,"user":{"login":"almostearthling","id":11710868,"avatar_url":"https://avatars.githubusercontent.com/u/11710868?v=3","gravatar_id":"","url":"https://api.github.com/users/almostearthling","html_url":"https://github.com/almostearthling","followers_url":"https://api.github.com/users/almostearthling/followers","following_url":"https://api.github.com/users/almostearthling/following{/other_user}","gists_url":"https://api.github.com/users/almostearthling/gists{/gist_id}","starred_url":"https://api.github.com/users/almostearthling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/almostearthling/subscriptions","organizations_url":"https://api.github.com/users/almostearthling/orgs","repos_url":"https://api.github.com/users/almostearthling/repos","events_url":"https://api.github.com/users/almostearthling/events{/privacy}","received_events_url":"https://api.github.com/users/almostearthling/received_events","type":"User","site_admin":false},"created_at":"2016-05-14T19:10:53Z","updated_at":"2016-05-14T19:10:53Z","body":"This feature is implemented in commit 34ed98f4122230e311dd3ce70d4924408553fe3d: tests are passing and the feature will be tested on wake-up events from now on."}}