! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Opening and exiting Vim multiple times sets terminal title to "Terminal - Ter...
Status:
RESOLVED: DUPLICATE
Product:
Xfce4-terminal
Component:
General

Comments

Description dominique.pelle 2012-09-27 22:57:11 CEST
My xfce terminal title says "Terminal".

When open Vim with "vim -u NONE" and exit immediately with ":q!"
the terminal title becomes "Terminal - Terminal".  I would expect
it to be "Terminal".

If I repeat it, terminal title becoms "Terminal - Terminal - Terminal",
etc.  Each time I enter/exit Vim one more "- Terminal" gets appended
(or pre-pended?).

This does not happen with gnome-terminal or with xterm.  It only
happens with xfce-terminal.  I'm using xubuntu-12.04 which has
xfce-terminal version 0.4.8.

I only started noticing this bug when I commented out the
lines "PS1=…" in the default ~/.bashrc that comes with xubuntu-12.04.

The following bug describes the same issue:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=575795

I also opened a bug initially for Vim but I think that it's more
likely a problem with xfce-terminal:
http://code.google.com/p/vim/issues/detail?id=82

Perhaps this is related: if I type this command in xfce-terminal-0.4.8:

$ echo -ne "\033]0;SOME TITLE HERE\007"

Then terminal title becomes "Terminal - SOME TITLE HERE".

But if I type the same command in other terminals (xterm or gnome-terminal),
then the title becomes "SOME TITLE HERE". 

Why is xfce-terminal prepending "Terminal - …" whereas other terminal don't?
Comment 1 Nick Schermer editbugs 2012-12-26 01:19:35 CET
Can't reproduce this, but the pre/append can be selected from the prefs dialog.
Comment 2 Kevin Bowen editbugs 2013-03-15 03:05:53 CET
I can reproduce this. It occurs in both a single terminal window or a window with multiple tabs. I would start vim with something like "vim ~/.bashrc" and then ":sp ~/path/to/some/file.txt" and then quit out of vim.

In my General preference stab, my initial title is set to "terminal" and my Dynamically set title is set to "Goes before initial title".

I am running Ubuntu 12.04.2 with terminal version 0.6.1
Comment 3 Thaddaeus Tintenfisch editbugs 2015-03-30 11:10:37 CEST
Duplicate of bug 7460.

*** This bug has been marked as a duplicate of bug 7460 ***

Bug #9337

Reported by:
dominique.pelle
Reported on: 2012-09-27
Last modified on: 2015-03-30

People

Assignee:
Nick Schermer
CC List:
2 users

Version

Attachments

Additional information