{"action":"created","issue":{"url":"https://api.github.com/repos/ChaosinaCan/ClassicTabs/issues/33","repository_url":"https://api.github.com/repos/ChaosinaCan/ClassicTabs","labels_url":"https://api.github.com/repos/ChaosinaCan/ClassicTabs/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/ChaosinaCan/ClassicTabs/issues/33/comments","events_url":"https://api.github.com/repos/ChaosinaCan/ClassicTabs/issues/33/events","html_url":"https://github.com/ChaosinaCan/ClassicTabs/issues/33","id":386773962,"node_id":"MDU6SXNzdWUzODY3NzM5NjI=","number":33,"title":"When closing a tab: Activate the last active tab - broken","user":{"login":"sorenfeodor","id":45560879,"node_id":"MDQ6VXNlcjQ1NTYwODc5","avatar_url":"https://avatars1.githubusercontent.com/u/45560879?v=4","gravatar_id":"","url":"https://api.github.com/users/sorenfeodor","html_url":"https://github.com/sorenfeodor","followers_url":"https://api.github.com/users/sorenfeodor/followers","following_url":"https://api.github.com/users/sorenfeodor/following{/other_user}","gists_url":"https://api.github.com/users/sorenfeodor/gists{/gist_id}","starred_url":"https://api.github.com/users/sorenfeodor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sorenfeodor/subscriptions","organizations_url":"https://api.github.com/users/sorenfeodor/orgs","repos_url":"https://api.github.com/users/sorenfeodor/repos","events_url":"https://api.github.com/users/sorenfeodor/events{/privacy}","received_events_url":"https://api.github.com/users/sorenfeodor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"ChaosinaCan","id":760836,"node_id":"MDQ6VXNlcjc2MDgzNg==","avatar_url":"https://avatars1.githubusercontent.com/u/760836?v=4","gravatar_id":"","url":"https://api.github.com/users/ChaosinaCan","html_url":"https://github.com/ChaosinaCan","followers_url":"https://api.github.com/users/ChaosinaCan/followers","following_url":"https://api.github.com/users/ChaosinaCan/following{/other_user}","gists_url":"https://api.github.com/users/ChaosinaCan/gists{/gist_id}","starred_url":"https://api.github.com/users/ChaosinaCan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChaosinaCan/subscriptions","organizations_url":"https://api.github.com/users/ChaosinaCan/orgs","repos_url":"https://api.github.com/users/ChaosinaCan/repos","events_url":"https://api.github.com/users/ChaosinaCan/events{/privacy}","received_events_url":"https://api.github.com/users/ChaosinaCan/received_events","type":"User","site_admin":false},"assignees":[{"login":"ChaosinaCan","id":760836,"node_id":"MDQ6VXNlcjc2MDgzNg==","avatar_url":"https://avatars1.githubusercontent.com/u/760836?v=4","gravatar_id":"","url":"https://api.github.com/users/ChaosinaCan","html_url":"https://github.com/ChaosinaCan","followers_url":"https://api.github.com/users/ChaosinaCan/followers","following_url":"https://api.github.com/users/ChaosinaCan/following{/other_user}","gists_url":"https://api.github.com/users/ChaosinaCan/gists{/gist_id}","starred_url":"https://api.github.com/users/ChaosinaCan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChaosinaCan/subscriptions","organizations_url":"https://api.github.com/users/ChaosinaCan/orgs","repos_url":"https://api.github.com/users/ChaosinaCan/repos","events_url":"https://api.github.com/users/ChaosinaCan/events{/privacy}","received_events_url":"https://api.github.com/users/ChaosinaCan/received_events","type":"User","site_admin":false}],"milestone":null,"comments":20,"created_at":"2018-12-03T11:26:09Z","updated_at":"2019-03-19T15:44:57Z","closed_at":null,"author_association":"NONE","body":"In the newest version of opera for linux (57.0.3098.76) I do not get back to the last active tab when closing a tab (and I really miss it)"},"comment":{"url":"https://api.github.com/repos/ChaosinaCan/ClassicTabs/issues/comments/474433929","html_url":"https://github.com/ChaosinaCan/ClassicTabs/issues/33#issuecomment-474433929","issue_url":"https://api.github.com/repos/ChaosinaCan/ClassicTabs/issues/33","id":474433929,"node_id":"MDEyOklzc3VlQ29tbWVudDQ3NDQzMzkyOQ==","user":{"login":"ChaosinaCan","id":760836,"node_id":"MDQ6VXNlcjc2MDgzNg==","avatar_url":"https://avatars1.githubusercontent.com/u/760836?v=4","gravatar_id":"","url":"https://api.github.com/users/ChaosinaCan","html_url":"https://github.com/ChaosinaCan","followers_url":"https://api.github.com/users/ChaosinaCan/followers","following_url":"https://api.github.com/users/ChaosinaCan/following{/other_user}","gists_url":"https://api.github.com/users/ChaosinaCan/gists{/gist_id}","starred_url":"https://api.github.com/users/ChaosinaCan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChaosinaCan/subscriptions","organizations_url":"https://api.github.com/users/ChaosinaCan/orgs","repos_url":"https://api.github.com/users/ChaosinaCan/repos","events_url":"https://api.github.com/users/ChaosinaCan/events{/privacy}","received_events_url":"https://api.github.com/users/ChaosinaCan/received_events","type":"User","site_admin":false},"created_at":"2019-03-19T15:44:57Z","updated_at":"2019-03-19T15:44:57Z","author_association":"OWNER","body":"I'm testing on an i5-8600K @ 3.6 GHz with 32 GB of RAM. :)\r\n\r\nI wouldn't expect that to make a difference, since the PC I originally wrote this extension on was slower than yours, but maybe Opera has gotten slower too.\r\n\r\nIt's also possible that the tab events happen in a completely different order on different PCs. On my PC, I get notified that a tab was closed after Opera has already focused the tab it wants to focus next. To handle that, I'm tracking the order in which tabs get focused. If Opera just recently focused a different tab and the closed tab was the second most-recently focused tab, then I know you just closed the tab you had focused, and I should undo the focus change Opera made and switch it to the tab you want focused instead.\r\n\r\nMy best guess is that one of two things is happening here:\r\n\r\n1. On your PC, the extension gets notified that a tab was closed _before_ Opera focuses the tab it wants to focus next. \r\n2. On your PC, it takes a little longer than 100 milliseconds between the tab focused and tab closed events, so the extension doesn't think Opera recently focused a different tab."}}
{"actor":{"display_login":"ChaosinaCan"}}