GNOME Bugzilla – Bug 112146
--tab and --tab-with-profile options do not work
Last modified: 2006-04-30 08:22:38 UTC
The two options in the title both cause a new window to be open, rather than opening a new tab.
They open a new tab in the last-opened window *from the same command line*, they don't magically know which terminal you're running from and open a tab in that. If I run "gnome-terminal --tab --tab" I get a single new window with two tabs which is expected. There's an open bug suggesting that g-t set some sort of environment variable with an ID allowing it to find the terminal it was run from and open a tab there, but it isn't currently supposed to work that way.
*** Bug 143664 has been marked as a duplicate of this bug. ***
*** Bug 309678 has been marked as a duplicate of this bug. ***
*** Bug 314564 has been marked as a duplicate of this bug. ***
*** Bug 329275 has been marked as a duplicate of this bug. ***
*** Bug 335321 has been marked as a duplicate of this bug. ***
This could be a lot more clearly documented. Additionally, due to the factory design of g-t, being able to open a new tab in the most recently opened window should be quite simple.
Davyd: see bug 83203 for a new commandline option (see bug 83203 comment 6) ... and the --help text should be fixed yes. IIRC --tab and --window are used when the session is saved