loilo / auto-group-tabs

Google Chrome extension to automatically group tabs by URL
https://chrome.google.com/webstore/detail/auto-group-tabs/danncghahncanipdoajmakdbeaophenb
MIT License
109 stars 19 forks source link

On start browser the names and color are deleted #20

Closed javier8340 closed 2 years ago

javier8340 commented 2 years ago

Hi, i have a problem when I start the browser with auto open tabs, some groups are renamed to empty string and color set to first.

loilo commented 2 years ago

Oh, that's weird, haven't heard of that one yet. Which browser + version are you using exactly?

javier8340 commented 2 years ago

Oh, that's weird, haven't heard of that one yet. Which browser + version are you using exactly?

Chrome 99.0.4844.82 And Brave 1.36.122 I have the option open last tabs when open browser on both browsers

loilo commented 2 years ago

And the issue happens on both browsers? Do you have the same tab groups configured on both?

javier8340 commented 2 years ago

And the issue happens on both browsers? Do you have the same tab groups configured on both?

No, are diferents groups.

loilo commented 2 years ago

And it happens on both browsers?

javier8340 commented 2 years ago

Yhea

loilo commented 2 years ago

Oof. Okay, since I haven't encountered this problem yet, I guess I won't be able to reproduce it without knowing your group configurations... If you don't mind, would you share them?

If you would, here's the fastest way to do so:

  1. Go to the chrome://extensions URL in your browser.
  2. Turn on the "Developer mode" switch in the upper right of the screen.
  3. Scroll to the Auto Group Tabs extension and click on the "Details" button.
  4. Find and click the blue "Service Worker" link.
  5. In the developer tools window that opens, paste the following command into the console:
    copy(await chrome.storage.sync.get('groups'))

This will copy your group configurations to your clipboard which you could paste here.

javier8340 commented 2 years ago

{ "groups": [ { "color": "yellow", "id": "92dc87ec-1a3d-4b43-b6e6-4e8c238ec61b", "matchers": [ "https://docs.google.com/spreadsheets/d/idSpreadsheet*" ], "title": "" }, { "color": "red", "id": "458eff9", "matchers": [ "myweb.com" ], "title": "Snow" }, { "color": "green", "id": "509dde7", "matchers": [ "docs.google.com" ], "title": "Docs" } ] }

loilo commented 2 years ago

Thanks. Still can't reproduce with that configuration unfortunately. For me, everything works fine...

Screenshot of two browser tabs, one in a red tab group named 'Snow'

Does this happen for you everytime you restart your browser? Otherwise, do you have reliable steps to reproduce the behavior on your machine?

javier8340 commented 2 years ago

when I restart the computer and open the browser, sometimes the tabs gets crazy (important to have open last tabs option on)

loilo commented 2 years ago

Well this sucks. I cannot reproduce your issue and your configuration does not show anything suspicious. You could try to uninstall & reinstall the extension to start from a clean slate, but I'm not too confident that it will help.

Very sorry I'm not really able to help you at the moment. I'll keep this issue open, maybe others will come up with the same problem and we can get more information about why this happens...

javier8340 commented 2 years ago

the problem is that happens on 2 browsers (one on virtual machine) so must can be replicated with time i guess

loilo commented 2 years ago

Let's hope so.

vpashovski commented 2 years ago

Hello, same issue here. What I'm doing is closing the browser with opened tabs in groups (tab groups are minimized but it is not required). After opening the browser again they are refreshing (flashing) and sometimes are reset. Chrome browser is Version 100.0.4896.88 (Official Build) (64-bit). Here is a video with the result: https://imgur.com/a/HI6JpCA

loilo commented 2 years ago

Just a heads-up: I got a crucial clue regarding reproduction via email. It seems that the problem is more often reproducible if, on browser startup, multiple windows with the same tab group are restored.

Let's hope that this brings me closer to a fix. 🙂

loilo commented 2 years ago

Alright, this should be fixed now. 🎉 New extension version has been submitted for review and should be automatically rolled out some time this week. Check for extension version 0.0.9.

loilo commented 2 years ago

FYI: Version 0.0.9 has officially been released a couple of hours ago. You can wait for it to update automatically or go to Extension (chrome://extensions/?id=danncghahncanipdoajmakdbeaophenb) and press the "Update" button manually.

Please leave a note in this issue in case this bug keeps coming up!