Pauan / tab-organizer

Google Chrome Extension that makes it easier to manage many tabs!
MIT License
67 stars 8 forks source link

Tab counter has wrong tab count when restarting Chrome. #91

Open Pauan opened 9 years ago

Pauan commented 9 years ago

Originally reported on Google Code with ID 89

What steps will reproduce the problem?
1. Set Chrome so it restores previous tabs on startup.
2. Restart Chrome with multiple tabs open.

What is the expected output? What do you see instead?
Counter should be the same as it was before restarting. Instead, it's lower/higher
than it should be. The amount is dependent on how many tabs are restored.

Please provide any additional information below.
This could be really tricky...

Reported by pcxunlimited on 2010-10-31 01:36:21

Pauan commented 9 years ago
In issue 96, pete.clark mentions that the Tab Glutton developers have solved this issue
in their extension.

I took a look at their source, and unfortunately I don't think their solution will
work for me. They simply grab a list of the current tabs on startup, and then add/subtract
as needed. In my case, I need to save the number between sessions, so that won't work.

Reported by pcxunlimited on 2010-11-04 10:44:17

Pauan commented 9 years ago
Unfortunately, this will probably require a Chrome API change. If I had access to a
"beforeunload" event in the background page, I might be able to get this to work.

Reported by pcxunlimited on 2010-11-08 12:38:34

Pauan commented 9 years ago

Reported by pcxunlimited on 2010-11-16 06:37:36

Pauan commented 9 years ago

Reported by pcxunlimited on 2010-11-17 01:12:18

Pauan commented 9 years ago

Reported by pcxunlimited on 2012-05-01 01:48:21

Pauan commented 9 years ago
This is now possible due to the virtual tab/group system that will be used in version
5.

Reported by pcxunlimited on 2012-08-27 22:08:23

Pauan commented 9 years ago

Reported by pcxunlimited on 2012-08-27 22:09:47

Pauan commented 9 years ago

Reported by pcxunlimited on 2012-08-27 23:04:22

Pauan commented 9 years ago

Reported by pcxunlimited on 2012-08-27 23:08:06

Pauan commented 9 years ago

Reported by pcxunlimited on 2012-08-27 23:14:51

Pauan commented 9 years ago

Reported by pcxunlimited on 2012-08-27 23:17:41

Pauan commented 9 years ago

Reported by pcxunlimited on 2012-08-27 23:19:10

Pauan commented 9 years ago

Reported by pcxunlimited on 2012-08-27 23:39:18

Pauan commented 9 years ago

Reported by pcxunlimited on 2012-08-27 23:47:28