{"action":"created","issue":{"url":"https://api.github.com/repos/sblask/webextension-open-tabs-next-to-current/issues/30","repository_url":"https://api.github.com/repos/sblask/webextension-open-tabs-next-to-current","labels_url":"https://api.github.com/repos/sblask/webextension-open-tabs-next-to-current/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/sblask/webextension-open-tabs-next-to-current/issues/30/comments","events_url":"https://api.github.com/repos/sblask/webextension-open-tabs-next-to-current/issues/30/events","html_url":"https://github.com/sblask/webextension-open-tabs-next-to-current/issues/30","id":242934284,"number":30,"title":"Last tab is moved to second place on session restore","user":{"login":"StephGbzh","id":7465395,"avatar_url":"https://avatars1.githubusercontent.com/u/7465395?v=4","gravatar_id":"","url":"https://api.github.com/users/StephGbzh","html_url":"https://github.com/StephGbzh","followers_url":"https://api.github.com/users/StephGbzh/followers","following_url":"https://api.github.com/users/StephGbzh/following{/other_user}","gists_url":"https://api.github.com/users/StephGbzh/gists{/gist_id}","starred_url":"https://api.github.com/users/StephGbzh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StephGbzh/subscriptions","organizations_url":"https://api.github.com/users/StephGbzh/orgs","repos_url":"https://api.github.com/users/StephGbzh/repos","events_url":"https://api.github.com/users/StephGbzh/events{/privacy}","received_events_url":"https://api.github.com/users/StephGbzh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2017-07-14T08:42:58Z","updated_at":"2017-11-18T17:33:25Z","closed_at":"2017-11-15T00:13:36Z","author_association":"NONE","body":"For several weeks, I've been annoyed by a strange behaviour and finally took the time to look for the cause which happens to be the \"Open tabs next to current\" extension.\r\n\r\nThe problem: every time I open Firefox, my previous session is reloaded BUT the last tab is suddenly moved to the second place in the tab bar (very similar to the Closed issue https://github.com/sblask/webextension-open-tabs-next-to-current/issues/28)\r\n\r\nIt took me a bit of time and patience to find the cause as I have 40+ extensions and had to use dichotomy in deactivating them until the problem disappeared.\r\nTo make matter worse, the problem does NOT happen the first time you restart Firefox after you just disabled/enabled/removed/installed any add-on!\r\n\r\nAnyway here are simple steps to reproduce it:\r\n1. Create a new profile in Firefox\r\n2. Preferences > General > When Firefox starts: Show your windows and tabs from last time\r\n3. Install add-on \"Open Tabs Next to Current\"\r\n4. Open 4 tabs with different websites to identify them easily, let's call them A B C D\r\n5. Close & Reopen Firefox: the order is correct: A B C D\r\n6. Close & Reopen Firefox *again*: the order is now A D B C\r\n7. Close & Reopen Firefox *again*: the order is now A C D B\r\n8. and so on...\r\n\r\nI'm using Firefox 54 (64 bits) on Ubuntu 17.04 with Open Tabs Next to Current 2.0.8"},"comment":{"url":"https://api.github.com/repos/sblask/webextension-open-tabs-next-to-current/issues/comments/345457516","html_url":"https://github.com/sblask/webextension-open-tabs-next-to-current/issues/30#issuecomment-345457516","issue_url":"https://api.github.com/repos/sblask/webextension-open-tabs-next-to-current/issues/30","id":345457516,"user":{"login":"kparal","id":755451,"avatar_url":"https://avatars1.githubusercontent.com/u/755451?v=4","gravatar_id":"","url":"https://api.github.com/users/kparal","html_url":"https://github.com/kparal","followers_url":"https://api.github.com/users/kparal/followers","following_url":"https://api.github.com/users/kparal/following{/other_user}","gists_url":"https://api.github.com/users/kparal/gists{/gist_id}","starred_url":"https://api.github.com/users/kparal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kparal/subscriptions","organizations_url":"https://api.github.com/users/kparal/orgs","repos_url":"https://api.github.com/users/kparal/repos","events_url":"https://api.github.com/users/kparal/events{/privacy}","received_events_url":"https://api.github.com/users/kparal/received_events","type":"User","site_admin":false},"created_at":"2017-11-18T17:33:25Z","updated_at":"2017-11-18T17:33:25Z","author_association":"NONE","body":"Alright, now it happened even with OTNTC disabled. So this time it was not its fault, but probably a fault of tree style tabs. Ugh, I hate this. Sorry for confusion."}}
{"actor":{"display_login":"kparal"}}