GNOME Bugzilla – Bug 544224
tab title and window list button do not agree.
Last modified: 2014-04-27 08:32:42 UTC
See screenshot.
Created attachment 115044 [details] They display different things!
Interestingly, tab and window title do agree. What command was being run in the terminal at the time ? Does that command maybe change the 'icon title' property, and does the window list applet show the 'icon title' or the normal title?
It was vim, with set title that sets the terminal title. I have no idea about the window-list, but it worked in 2.22.x so I guess it's a regression in one of both sides.
FWIW, I noticed the same thing in version 2.22.1 that comes in Ubuntu Hardy. I'm almost sure it started happening after I upgraded from Gutsy (which I think had 2.18.2 for what I see in http://packages.ubuntu.com/search?keywords=gnome-terminal&searchon=names&suite=all§ion=all More info (and another screenshot) at https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/252411
*** Bug 545609 has been marked as a duplicate of this bug. ***
Created attachment 117694 [details] [review] potential fix Unfortunately I can't repro the bug, but here's a potential fix.
Any chance that this can be backported to 2.22.1? I couldn't apply the change and when I started browsing the code to do it manually I discovered they're way to different for me to even try (there was no sync_screen_icon_title_set() function back then)... Regards...
(In reply to comment #7) > Any chance that this can be backported to 2.22.1? No chance, no. Please try the 2.23.91 or svn trunk.
Has anyone who sees the bug tried if this patch fixes it?
I think it works fine now, here from ubuntu packages in 2.24.
Hmm. Ubuntu doesn't use this patch, nor did anything change recently in this code...
Created attachment 122809 [details] Screenshot of terminal tabs Using gnome-terminal 2.24.1 the window list and tab title do agree, but tab title is never reset back to default ("Terminal") when the command is complete. The third tab in the screenshot is new to illustrate the default.
Forgot to mention, this is on Gentoo, so it's about as close to upstream as you get.
So can you please try the patch?
(In reply to comment #14) > So can you please try the patch? > I finally had a chance to try this patch. It did not work for me, the tab title and the window list button are not updated properly, both have whatever was the last title and do not change back to "Terminal" when the application is complete.
Created attachment 130560 [details] reproduced using xrvt-unicode I get a simmilar behaviour when using xrvt. I have this lines in my .bashrc for changing the window title -------------------BEGIN case "$TERM" in xterm*|rxvt*) #Show current running program in titlebar trap 'echo -ne "\e]2;${BASH_COMMAND/\\/\\\\}\007"' DEBUG ${TERM}\007"' PROMPT_COMMAND='echo -ne "\e]2;${PWD/$HOME/~} - ${TERM}\007"' ##Iconname #echo -ne "\e]1;gnome-terminal\007" ;; *) ;; esac -------------------END If, in the other hand, I uncomment the icon-name line, the title in gnome-panel turns into "gnome-terminal"
It seems that the tooltip when hovering the mouse over the task list does have the right title. But the text in the task list applet doesnt.
Setting patch status for attament 117694 based on comment 15 f.
This is simply caused by the window list button showing the icon title and tab/window showing the window title.