Bug 156344

Summary: konsole: window title name differs
Product: [Applications] konsole Reporter: Thomas Meyer <thomas.mey>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Thomas Meyer 2008-01-21 22:26:08 UTC
Version:            (using KDE 4.0.0)
Installed from:    Gentoo Packages
Compiler:          gcc-Version 4.2.2 (Gentoo 4.2.2 p1.0) 
OS:                Linux

konsole-1.6.6 with kde-3.5.8 shows title: "user@hostname:~ - Befehlsfenster - Konsole"
su to root than (window title changes to "root@hostname:~ - Befehlsfenster - Konsole") enter command:
"emerge kde-meta"
window title name changes to:
"emerge: (1 of 1) kde-base/kde-meta-4.0.0 Compile - Befehlsfenster - Konsole"

konsole-2.0 with kde-4.0.0 shows title: "Shell"
su to root than (window title changes to "user : bash") enter command:

I run the following command:
"emerge kde-meta"
konsole title name changes to:
"emerge"
(leaving su with exit doesn't change the window title back)

As you can image only the display of "emerge" is not useful, especially when emerge wants to upgrade several packages, so you don't know the status of your emerge job.
Comment 1 Jonathan Marten 2008-01-22 18:45:59 UTC
Mis-assigned...
Comment 2 Robert Knight 2008-01-22 19:28:27 UTC
You need to change the tab settings so that the tabs use the window title set by the shell program, instead of the default "program name : dir name"  

1.  Settings -> Edit Current Profile
2.  Select 'Tabs' page
3.  Clear the 'Local tab title' box
4.  Click "Insert -> Window title set by shell" (this will insert '%w')
5.  Click OK

If you only want to change to this temporarily, you can select Edit -> Rename Tab..., enter '%w' and click OK.



Comment 3 Robert Knight 2008-01-24 04:55:37 UTC
This is not a bug, in the sense that Konsole is behaving as expected and a setting change gives the desired results.  In most circumstances I think the "dir : programname" tab and window title is more useful than whatever the shell supplies, so the current default behavior is probably right.

However I'm sure the five steps I listed above could be shortened or made easier to discover.

Comment 4 Thomas Meyer 2008-01-24 18:20:22 UTC
Yes. This is not a bug. Thanks for the clarification. So basicly only the default value (for the window title) changed between 3.5 and 4.0.
Comment 5 Thomas Meyer 2008-02-16 23:14:54 UTC
Different default value in kde4, but easily changeable.