Tab-Groups icon indicating copy to clipboard operation
Tab-Groups copied to clipboard

Can't switch with a shortcut to an empty group with a name

Open monk-time opened this issue 8 years ago • 4 comments

I have several pinned tabs and a main named tab group for general browsing that I prefer to keep clean, often by moving tabs from it to other groups. But if I close the last tab there and navigate with a keyboard shortcut away to another group (say, to work on a project that is kept in its separate group), I can't return to my empty group with a shortcut at all (say, I want to take a break and browse the web), only to other groups, which is unexpected and throws a minuscule wrench into my workflow.

I guess this is somewhere between a bug and a suggestion. That's the way Panorama behaved ever since I started using it, and I learned to use a workaround of always leaving an empty tab in a group.

From what I can gather from the code, this behavior comes from GroupItems.getNextItemTabFromGroups: my empty group fails both checks, and the caller skips me to a group next to the empty one. It would be great if instead a new tab in the group I want to navigate to was created, but judging by the comment it's not that easy to implement? Maybe switch to a pinned tab if there are any?

[and thanks for the 2.0, a fantastic work, really sleek and well thought-out :+1: ]

monk-time avatar Jun 02 '16 01:06 monk-time

It's a very fair assessment to say it's between a bug and a suggestion. :)

Indeed, it's exactly as that comment says there.(kudos on that research by the way!). I did want to be able to switch to empty groups from the start, but it's not as straightforward as it would seem as you can see. Of course that, as soon as there is a way to do it, I'll be sure to give you a beta to try out.

In the meantime, that workaround of leaving an empty tab in that group should be fine, although I'm sure it'll take some getting used to. I hope it's not too much of an inconvenience.

Quicksaver avatar Jun 02 '16 07:06 Quicksaver

Hope this can be supported.

BTW, I think maybe adding an option to prevent the last tab in group from closing and change it into a new tab is a good idea.

dspjm avatar Nov 19 '16 12:11 dspjm

@dspjm that's a different suggestion, please open a new issue about it.

Quicksaver avatar Nov 19 '16 12:11 Quicksaver

@Quicksaver opened it as here new issue

dspjm avatar Nov 19 '16 13:11 dspjm