Terminal tab title set via 'Terminal->Set title' not persistent

Bug #16179 reported by RichardKinder
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNOME Terminal
Invalid
Medium
gnome-terminal (Ubuntu)
Fix Released
Medium
Sebastien Bacher

Bug Description

When setting the title of a terminal via the 'Terminal->Set title' menu entry, I
expect the title to be persistent.

Observed behaviour:

- Set the tab title via the 'Terminal->Set title' menu item.
- Tab title changes to what was entered
- Hit 'enter' in the shell in the tab
- Tab title changes back to 'user@hostname: /path'

Expected behaviour:

- Set the tab title via the 'Terminal->Set title' menu item.
- Tab title changes to what was entered
- Regardless of what I now do, other than changing the terminal title via the
menu item, the terminal tab title should be the same as I initially entered.

Workaround:

In the shell within the terminal tab do:

unset PROMPT_COMMAND

then re-enter the title via the 'Terminal->Set title' menu item.

http://bugzilla.gnome.org/show_bug.cgi?id=161144: http://bugzilla.gnome.org/show_bug.cgi?id=161144

Revision history for this message
Matt Zimmerman (mdz) wrote :

I'm not sure what the right approach is here.

- Using "Set title" could cause the escape sequence for setting the window title
to be ignored
- bash could omit the escape sequence if running under gnome-terminal
- bash could omit the escape sequence by default

Revision history for this message
Sebastien Bacher (seb128) wrote :

There is a bug upstream about this:
http://bugzilla.gnome.org/show_bug.cgi?id=161144

Revision history for this message
Daniel Robitaille (robitaille) wrote :

Marked as fixed in upstream Gnome

Changed in gnome-terminal:
status: Unconfirmed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

Fixed with dapper according to upstream. Feel free to reopen if you get the issue again

Changed in gnome-terminal:
status: Unconfirmed → Fix Released
Changed in gnome-terminal:
importance: Unknown → Medium
status: Invalid → Unknown
Changed in gnome-terminal:
status: Unknown → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.