Multi-account-containers: Opening a new tab from a container window opens a normal tab and not a container tab

Created on 22 Feb 2017  Â·  16Comments  Â·  Source: mozilla/multi-account-containers

  • Containers Experiment 0.9.3

  • All Mac

  • All Linux
  1. Open any containers tab and navigate to any website.
  2. Click on the "Containers" button in the toolbar.
  3. Click the arrow next to the previously used container and choose to "Move tabs to a new window".
  4. Press "CTRL+T" and observe the newly opened tab.

containers_window_issue

duplicate enhancement

Most helpful comment

User here. I expected that when I opened a new tab, it would be the same container type as whatever my current tab was. That is, even if you omit @SoftVision-EmilPasca's steps 3 and 4.

edit 2017-03-03: The reason is, that's the context in which I'm browsing. I don't expect to change contexts without actively deciding to.

All 16 comments

This is as intended, but I have a feeling people will treat this as a bug, so let's keep it open.

@johngruen What do you think about this? This is like a Container Window feature.

User here. I expected that when I opened a new tab, it would be the same container type as whatever my current tab was. That is, even if you omit @SoftVision-EmilPasca's steps 3 and 4.

edit 2017-03-03: The reason is, that's the context in which I'm browsing. I don't expect to change contexts without actively deciding to.

If you want to inherit the current tab's container you need to middle/ctrl + click the new tab button (Firefox 53+ Bug 1325014), this also creates the new tab next to the current tab. A normal click on the new tab button creates an unrelated tab at the end of the tabstrip and so should not inherit the current tab's container.

I wrote a response to this, but then realized that we're trying to solve the wrong problem.

The real problem here is that we force the user to pick a context before they enter the URL.

I seldom open a new tab thinking "I want to do something in [some container]!" I open a new tab thinking "I want to visit [some site]!" THEN, once I've opened the tab and typed the URL, I think about what container this belongs in.

Sometimes, I open a new tab, start to type something, then change my mind about what I want to open. Under the current workflow, I need to close this tab, open a new tab in the new context, and then type the new URL. That just doesn't work very well.

Here's a mockup I made in #311 that is also relevant here. I'd love to have this instead of the current awkward pop-up to choose a container for my new tab:

firefox-containers-link

My original response:

That's awesome functionality that I didn't know about. Is there a keyboard shortcut that does the same thing? I open most of my new tabs with \.

I'd encourage the devs to add a notification of some sort the first time a user opens a new tab when they are currently in a container, letting them know how to open a new tab with the same context. Then track how often people choose to keep the same container vs start a new one.

I tested nkestrel's reply - a middle click on the new tab button does, indeed, open a new tab in the same container. I'll have to double check that no TMP settings interfere with this, but so far, it looks like this is a good enough solution for me, as I make heavy use of left-, middle- and right-clicking in Firefox.

What about a keyboard shortcut to open a new tab in the current context?

Also middle clicking on the button does not open it in the same context for me.

@jurf I think that would be ideal if the developers don't want a different shortcut for every container (alt+1, alt+2, etc.)
Maybe ctrl+shift+t to open a tab in the current container, and ctrl+t to open a tab in the regular container.

Maybe ctrl+shift+t to open a tab in the current container, and ctrl+t to open a tab in the regular container.

@imyxh is already taken; it opens the most recently closed tab.

@smichel17 Oh. Right. I use that all the time, come to think of it.
Though I'm sure there's another substitute available, like Alt + T or Ctrl + Alt + T (though the latter opens a terminal in most distributions of Linux.)

Alt-T = Tools menu (Firefox on KDE Plasma 4 on FreeBSD)

Points of reference that may be useful include:

– and so on; generally, I should refrain from predefined shortcuts. Allow the user to set a preference, if he or she finds the need for a shortcut.

Not sure if this issue is progressing at all, but:

The real problem here is that we force the user to pick a context before they enter the URL.

For my use, I do want this. I want every URL in a window to be in the same container. If I hit Ctrl-T from an existing container tab, I want that new tab to be in the same container. Not exactly the same things, but I think the latter makes the former easier to maintain.

Middle-click on the new tab button works, but I never use the mouse in opening new tabs - my flow is Ctrl-T, start typing URL or partial search terms.

Basically, I don't want to make container decisions on every new tab. I'd like to just roll with the container I was last using in this window. Opening links in a new tab from a container tab works this way; I wish opening a new blank tab did too.

For my use, I do want this. I want every URL in a window to be in the same container. If I hit Ctrl-T from an existing container tab, I want that new tab to be in the same container. Not exactly the same things, but I think the latter makes the former easier to maintain.

@lmorchard I don't think our views are in conflict here. You just want the default selection to be the same as your current container. (For the record, I would prefer that, too, or in private tabs like #429.)

Could a setting be added that makes it so new tabs inherit the container they where "opened from"?

By default it would be disabled, so typing ctrl+t in a container tab Personal would open a tab in the default container, which is no container. Once the setting where enabled, if ctrl+t where entered in a Personal container tab, the newly created tab would also be a Personal container tab.

I feel like making this a setting is a reasonable way to provide users the power to choose their interaction style without interrupting the new-tab process. Thoughts?

I would support the idea of it being optional instead of a new hotkey or its forced to anything.

Duplicate of https://github.com/mozilla/testpilot-containers/issues/462 which has more up-votes. Please transfer any up-votes there (if you haven't already).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

CircleCode picture CircleCode  Â·  3Comments

budhajeewa picture budhajeewa  Â·  4Comments

jonhoo picture jonhoo  Â·  4Comments

krishnanunnir picture krishnanunnir  Â·  3Comments

jnachtigall picture jnachtigall  Â·  5Comments