{"action":"created","issue":{"url":"https://api.github.com/repos/arifwn/TinySuspender/issues/5","repository_url":"https://api.github.com/repos/arifwn/TinySuspender","labels_url":"https://api.github.com/repos/arifwn/TinySuspender/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/arifwn/TinySuspender/issues/5/comments","events_url":"https://api.github.com/repos/arifwn/TinySuspender/issues/5/events","html_url":"https://github.com/arifwn/TinySuspender/issues/5","id":316501923,"number":5,"title":"Tabs vanish when uninstalling the extension","user":{"login":"erlendorf","id":4276656,"avatar_url":"https://avatars3.githubusercontent.com/u/4276656?v=4","gravatar_id":"","url":"https://api.github.com/users/erlendorf","html_url":"https://github.com/erlendorf","followers_url":"https://api.github.com/users/erlendorf/followers","following_url":"https://api.github.com/users/erlendorf/following{/other_user}","gists_url":"https://api.github.com/users/erlendorf/gists{/gist_id}","starred_url":"https://api.github.com/users/erlendorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erlendorf/subscriptions","organizations_url":"https://api.github.com/users/erlendorf/orgs","repos_url":"https://api.github.com/users/erlendorf/repos","events_url":"https://api.github.com/users/erlendorf/events{/privacy}","received_events_url":"https://api.github.com/users/erlendorf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-21T15:43:06Z","updated_at":"2018-04-23T20:44:21Z","closed_at":null,"author_association":"NONE","body":"In the default configuration, when I deactivate/uninstall the extension, all suspended tabs vanish.\r\n\r\nThe vanished tabs don't even come back when I reactivate/reinstall the extension.\r\n\r\nI understand that this is a limitation of the suspension technique used, and I as a user can prevent this behaviour by switching the experimental discard technique on.\r\n\r\nBut the big problem is that the tabs vanishing comes totally as a surprise to users.\r\n\r\nA quick fix would be:\r\n\r\n* On first use of the suspension feature, inform users that uninstalling/deactivating the extension will vanish the suspended tabs.\r\n\r\nAdvanced fix:\r\n\r\n* On deactivation/uninstallation of the extension, convert the tabs back to normal tabs. Technically, this can be sufficiently accomplished by listening to the \"unload\" event of the extension's background page (although the event also fires on other occasions, but this shouldn't be a problem)."},"comment":{"url":"https://api.github.com/repos/arifwn/TinySuspender/issues/comments/383716557","html_url":"https://github.com/arifwn/TinySuspender/issues/5#issuecomment-383716557","issue_url":"https://api.github.com/repos/arifwn/TinySuspender/issues/5","id":383716557,"user":{"login":"arifwn","id":1146705,"avatar_url":"https://avatars0.githubusercontent.com/u/1146705?v=4","gravatar_id":"","url":"https://api.github.com/users/arifwn","html_url":"https://github.com/arifwn","followers_url":"https://api.github.com/users/arifwn/followers","following_url":"https://api.github.com/users/arifwn/following{/other_user}","gists_url":"https://api.github.com/users/arifwn/gists{/gist_id}","starred_url":"https://api.github.com/users/arifwn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arifwn/subscriptions","organizations_url":"https://api.github.com/users/arifwn/orgs","repos_url":"https://api.github.com/users/arifwn/repos","events_url":"https://api.github.com/users/arifwn/events{/privacy}","received_events_url":"https://api.github.com/users/arifwn/received_events","type":"User","site_admin":false},"created_at":"2018-04-23T20:44:21Z","updated_at":"2018-04-23T20:44:21Z","author_association":"OWNER","body":"Thanks for the suggestion! As the author I didn't realize this could be an issue since I never uninstalling this extension."}}
{"actor":{"display_login":"arifwn"}}