Comment 9 for bug 60341

Revision history for this message
David Planella (dpm) wrote :

I can reproduce it on 2 computers. However, I've tried it on a third one and I could not reproduce it.

I believe it definitely has to do with vim, since this only happens after quitting it. Furthermore, on the comment I was saying that this also happens when executing 'cvs ci', I forgot that I'm using vim as $CVSEDITOR for commit log messages. Therefore, when commiting files on cvs I do execute vim.

I've observed the following:

1.- When opening a gnome-terminal window, the titlebar reads "Terminal" on the two computers where I can reproduce the bug. On the third ("bug-free") one however, the terminal titlebar shows "dpm@scenic: /home/dpm", where dpm is my user name and scenic the host name. Whenever I change directory on this computer, the titlebar gets updated with the current directory, which does not happen on the two other ones (It always stays as "Terminal").

2.- Copying .vimrc and the .vim folder from a computer where this bug happens to the computer where this *not* happens has no effect. That is, the bug is still not reproduceable there.

3.- I've got a root account enabled on one of the computers where the bug happens. If I do a 'su -' and then execute vim from the root account, the titlebar is not lost after executing vim. While being in the root shell, the titlebar is updated with the current directory. When exiting the root shell with CTRL+D, the titlebar remains frozen at the last folder navigated from the root shell (e.g. "root@orthanc ~").

After what I've seen on 1.-, I'm a bit confused to what it could be. Here's a short recap:

Computer Bug Initial title
                  reproduceable?
------------- -------------------- -----------------------------------------------------------------
#1 Yes "Terminal" (remains always like that)
#2 Yes "Terminal" (remains always like that)
#3 No <user>@<host> /home/<user> (the path gets updated when doing 'cd')

All 3 computers have the following same settings under Edit>Current Profile... Title and Command tab:

Initial Title: Terminal
Dynamically-set title: Replaces initial title.