Bug 96569 - konsole window title anomaly
Summary: konsole window title anomaly
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 1.3.2
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-08 10:47 UTC by M G Berberich
Modified: 2006-09-06 22:37 UTC (History)
0 users

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 M G Berberich 2005-01-08 10:47:53 UTC
Version:           1.3.2 (using KDE 3.2.3,  (testing/unstable))
Compiler:          gcc version 3.3.3 (Debian 20040422)
OS:                Linux (i686) release 2.6.9

Konsole adds a " - Shell - Konsole" to the window title (set with "OSC [02] ;"), but returns the full window title if requestet for it (with "CSI 2 1"). This leads to a problem if an applications saves the title, set its owen title and sets it back to the saved title on exit (pseudocode!):

    t = get_title()
    set_title(...)
    ...
    set_title(t)

Every call of code like this results in an additional " - Shell - Konsole" appended to the title. You can reproduce this with p.e. vim.

Fix: Konsole should return the last window title that has been set, not the complete title if requestet by "CSI 2 1".
Comment 1 Stephan Binner 2005-01-08 12:47:54 UTC
Wasn't this fixed in KDE 3.3? You don't plan to update?
Comment 2 M G Berberich 2005-01-10 21:05:14 UTC
No, with Qt: 3.3.3, KDE: 3.3.1, Konsole: 1.4.1 it is still there.
Comment 3 Kurt Hindenburg 2006-05-15 19:12:09 UTC
Can you try a KDE 3.5.x version?
Comment 4 Robert Knight 2006-09-06 22:37:14 UTC
Konsole for KDE 4 removes the " - Shell - Konsole" section from the window title.  This fixes this as a side effect.