Bug 152781 - Renaming tabs only changes local tab title format
Summary: Renaming tabs only changes local tab title format
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Robert Knight
URL:
Keywords:
: 156720 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-11-23 15:26 UTC by Mike
Modified: 2008-05-19 00:26 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike 2007-11-23 15:26:24 UTC
Version:           1.92 (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

Renaming of tabs does not work at all

Double click tab
Enter 'My Tab'
Click OK

Nothing changes
Comment 1 Constantin Berzan 2007-11-23 16:52:24 UTC
Works fine here (rev740586)
Comment 2 Mike 2007-11-23 17:01:24 UTC
Strange... If I launch a second konsole then it works on the second one.  The only difference is that the first konsole is started by the session when logging in.
Comment 3 Mike 2007-11-23 17:04:36 UTC
Now it is broken again.  I opened a new tab and the original tab which has a different label reverted to the default.  If I double click on the original tab it shows the custom tab name but it is not displayed in the tab.
Comment 4 Mike 2007-11-23 17:09:03 UTC
The bug is triggered by ssh'ing to any other host.  The tab should keep its name even if the location is remote, but it reverts back to the local user.  If you ssh to localhost then the username updates correctly but the custom title is lost.

Sorry for the excessive comments :)
Comment 5 Robert Knight 2007-11-23 21:13:10 UTC
> If you ssh to localhost then the username updates 
> correctly but the custom title is lost. 

That is the root of the problem.  The reason why this is happening is that there are two separate titles, one for local activities and one for SSH.  Konsole will switch between them depending on what the foreground activity in the terminal is.  If you close the ssh process it will go back to your custom title.

The tab title formats for a particular profile can be changed from the Tabs page of the Edit Profile dialog (Settings -> Edit Current Profile)

The "Rename Tabs" feature at the moment only changes the title format used for local activities.
Comment 6 Robert Knight 2008-01-26 17:14:51 UTC
*** Bug 156720 has been marked as a duplicate of this bug. ***
Comment 7 Robert Knight 2008-03-18 15:06:12 UTC
SVN commit 787022 by knight:

Set both local and remote tab titles to the text given by the user when manually renaming tabs via Edit -> Rename Tab.  This loses the ability to have different tab title formats for local and remote activities after manually renaming a tab.

BUG: 152781


 M  +7 -0      SessionController.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=787022
Comment 8 Stefan Neufeind 2008-05-19 00:26:55 UTC
Is this supposed to be fixed in 4.0.4 already after only newer svn-versions?