New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Sorting breaks tabs in groups #8
Comments
Hi @valsaven, thanks for the submitting the detailed bug report - I use Vivaldi as my daily driver and wasn't aware of this change in Chrome... I'll try to carve some time out of my weekend to look into, and hopefully address, this issue. If I get slammed with on-call, I should be able to look into it next week. |
Hi @valsaven, Sorry to keep this brief, I just lost a long reply I had typed up and need to call it a night... Long story short, tab group's seem like a work-in-progress from an extension API perspective - only the tab group ID is available from what I could tell last weekend and I stumbled across a discussion that indicated there might be better support coming in the chrome beta channel. I need to make sure that any changes I make are backwards compatible and don't break the plugin in other browsers that support chrome extensions, and I have a few usability questions/concerns, so it might be a while before I have the time to come up with something that I'd feel comfortable with submitting as an update to the chrome web store. With that said, how comfortable would you be with loading the plugin from source if I were to commit my work-in-progress to a feature branch? I had a chance to make some changes that I wasn't completely happy with, last weekend, but on a positive note they didn't break up the tab groups. If this is something you'd like to play with, I can sanity check my changes this weekend and push them to github so you can give it a try... |
@pwhite2 Sure, no problem. As soon as there is a branch, I will take the extension from there and report on the results 👍 |
Thanks @valsaven, much appreciated - I'll let you know as soon as I push the changes this weekend. |
Hi @valsaven. I just pushed a fix to https://github.com/pwhite2/simple-tab-sorter/tree/STS-8. This "fix" is really just a patch that ignores all tabs in tab groups. As a result, it should continue to sort ungrouped tabs as it did before Tab Groups were introduced. I took another stab at sorting tabs within Tab Groups but Chromium continued to remove them from the tab groups even when the tabs' groupIds were unaltered. I'm afraid I might have to wait until Tab Groups become first-class citizens of the Extension API before I'm able to add the level of support that I'd like for Tab Groups. Please let me know whether this resolves the issues you were experiencing and whether you think it adds any benefit for tab group users in this limited capacity - your feedback would be greatly appreciated. |
@pwhite2 Sorting no longer works at all. I think this is because there is no
To be honest, I'm not sure if there is any way to track the presence of a tab in a group 🙁 I haven't found an explicit API. |
@valsaven Thanks for giving it a shot, I really appreciate it. I agree, I've definitely come up empty handed in my search for any such API support. I'd expect sorting to be broken if the groupId property is missing since I created this proof-of-concept with the assumption that it exists. That said, I was really surprised that your tab objects are missing the groupId property if your version of Chrome supports tab groups, so I just installed the extension in I didn't run into this issue during development & testing of the changes because I was using If you're willing to give Chromium a shot, I'd suggest testing the extension there to see whether it behaves as documented in the STS-8 branch's User Guide. Otherwise, it looks like we'll both have to wait until proper tab group support is available to the extension API in the Chrome release branch before resuming work on this issue. |
@pwhite2 You're welcome. I apologize for not replying - I just agreed that under current conditions (no tabs API) there was no way to fix anything. |
@valsaven, no worries and thanks for the update. Just to confirm, the extension version that you just checked with Chrome v89 was manually installed from https://github.com/pwhite2/simple-tab-sorter/tree/STS-8 - correct? If so, I'll merge the patch and submit an update to the chrome webstore. |
@pwhite2 No, I used the version from the Chrome Web Store. |
@valsaven I'm a bit surprised that the version from the Chrome Web Store is now ignoring tabs on Windows 10 because it doesn't contain the changes I made for you in the I consider that good news - if you have time (I don't have a linux desktop readily available to test myself) to manually install and test the extension from the STS-8 branch on Linux, I'll probably have time to merge the patch to the mainline and submit an update to the Chrome Web Store over the weekend if it works on Linux for you... |
The Problem still happens with Chrome Web Store Version. Maybe I should install the OS MacOS |
Hi @r888800009. Please give that a shot and let me know whether that behaves as expected. If so, I'll merge the changes and submit a new build to the Chrome Web Store. Thanks! |
@pwhite2 it fixed drop out tab on macOS Chrome and Linux Chromium 👍 |
Thanks @r888800009! I'll try to carve some time out at the end of the week to merge the changes and submit an update to the Chrome Web Store. |
Thanks again for the feedback and fix verification, @valsaven and @r888800009. I'm closing this issue now that the fix has been released in the Chrome Web Store as release 0.3.2. |
Describe the bug
Sorting breaks tabs in groups.
About Chrome Groups: https://blog.google/products/chrome/manage-tabs-with-google-chrome/
Steps to reproduce the behavior
Expected behavior
The tabs don't drop out of the group.
The groups themselves are either not sorted, or are sorted in alphabetical order.
Screenshots
Desktop/Browser/Extension Info (please complete the following information):
The text was updated successfully, but these errors were encountered: