I believe all is working as it is supposed to.

Steps to reproduce (the intended behavior):

- Open a gnome-terminal window
- Open a new tab (Ctrl-Shift-T)
- In this new tab, change the working directory (for instance "cd /tmp")
- Inside the first tab (or second, doesn't matter), execute the following 
command "gnome-terminal --save-config=testing" (see below for the generated 
config file)
- Close the gnome-terminal window

Now you can test your config file in 2 ways:
1. Open a new gnome-terminal window, or
2. Using "Launch an application" (Alt-F2)

whatever technique you choose, execute this command: "gnome-terminal
--load-config=testing"

This will open a new gnome-terminal window with 2 tabs, the second
having the said working directory.

So, in my opinion all is working as it's supposed to do.
I believe Rob's confusion is that he expected to run the terminal with the save 
option and that when closing the terminal it would save the config ("the 
terminal would start and allow normal operation, then would write out its 
config to file when exited"), but really the save option must be executed at 
the moment you want to make a "snapshot" of the current config, and then load 
it later so that it opens in the same state (i.e. open tab/windows and 
according working directories, window size, zoom, etc.)

I believe this bug can be marked as invalid.


Details:
gnome-terminal 2.29.6-0ubuntu5 on Ubuntu 10.04


This is the generated config file:

emil...@tesla:~$ cat testing
#Written by GNOME Terminal 2.29.6

[GNOME Terminal Configuration]
Version=1
CompatVersion=1
FactoryEnabled=true
Windows=Window0;

[Window0]
MenubarVisible=true
Role=gnome-terminal-window-3985-1842032177-1280944168
Maximized=true
ActiveTerminal=Terminal0x8980200
Geometry=177x44+0+24
Terminals=Terminal0x8980200;Terminal0x8a1f7b8;

[Terminal0x8980200]
ProfileID=Default
WorkingDirectory=/home/emilien
Zoom=1
Width=177
Height=44

[Terminal0x8a1f7b8]
ProfileID=Default
WorkingDirectory=/tmp
Zoom=1
Width=177
Height=44

-- 
gnome-terminal command line options potentially irrelevant
https://bugs.launchpad.net/bugs/417199
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to