support icon indicating copy to clipboard operation
support copied to clipboard

[FoxyTab] Indicate duplicate tabs detected via toolbar icon

Open Gitoffthelawn opened this issue 9 months ago • 2 comments

Currently, FoxyTab allows the user to show the total number of open tabs as a badge on its toolbar icon. Instead, I will appreciate an option to show the total number of duplicated tabs. Even better, two numbers can be shown: one showing the total number of tabs, and below it, the number of duplicated tabs.

Thanks for your consideration and for the useful tools.

Gitoffthelawn avatar Feb 20 '25 08:02 Gitoffthelawn

The badge has a limited space of 3 characters.

In any case, it can be looked into if there is a popular demand.

erosman avatar Feb 20 '25 10:02 erosman

Thanks! Yes, I'm thinking an option that allows the user to show one of the following three choices in the toolbar:

  1. Icon with a badge indicating the total number of tabs
  2. Icon with a badge indicating the number of duplicate tabs
  3. Icon (or no icon, if you prefer), showing two rows: the top row being the total number of tabs, and the bottom row being the number of duplicates.

BTW, the impetus for this FR is that I'm currently using Duplicate Tabs Closer, and I really like how it will show a toolbar button when I have duplicate tabs open. I wrote a little userChrome.css code to only show its toolbar button when duplicates are detected. I do not have it set to auto-close any tabs. That extension hasn't been updated in about 5 years, and I'm finding it to be less reliable than in the past. So I'm hoping that FoxyTab could be a replacement, especially since it will also provide a bunch of other useful functionality.

Gitoffthelawn avatar Feb 20 '25 10:02 Gitoffthelawn

@erosman I didn't want to open a separate issue for this, but maybe this is an acceptable place to mention it:

I noticed that the tab counter is often off by 1.

For example, I currently have 2 windows open.

  • First window has 9 Tabs, but the badge only shows 8.
  • Second window has 13 and the badge shows that correctly.

nisc avatar May 19 '25 17:05 nisc

I noticed that the tab counter is often off by 1.

Tab numbers are recalculated every time a tab opens or closes. Therefore, even if it is wrong, it will be corrected automatically.

Could there be a hidden tab?

erosman avatar May 19 '25 18:05 erosman

Could there be a hidden tab?

I don't think that's the issue. In my example, the badge count was below the actual count, not above.

When I just checked the same window again, it now had 8 tabs, and the badge was correctly showing 8.

Then I created a new empty tab (CTRL-T) => the counter updated to 9 immediately.

Then I closed the new tab (CTRL+W) => the counter incorrectly decreased to 7.

Five minutes later, it is still showing 7, despite 8 tabs being open.

nisc avatar May 19 '25 18:05 nisc

I will test it again but when I tried it now, I couldn’t reproduce but the extension code that I have, might be different than the last release.

erosman avatar May 19 '25 18:05 erosman

I will test it again but when I tried it now, I couldn’t reproduce but the extension code that I have, might be different than the last release.

Okay. It is a very common issue for me, I noticed it immediately when I started using Foxytab ~3 weeks ago. I see this issue more often than not.

MacOS 15.4.1 Firefox 138.0.4 (aarch64) FoxyTab 2.31

nisc avatar May 19 '25 19:05 nisc