[Konsole-devel] [Bug 96569] New: konsole window title anomaly

M G Berberich berberic at fmi.uni-passau.de
Sat Jan 8 09:47:54 UTC 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
        
http://bugs.kde.org/show_bug.cgi?id=96569        
           Summary: konsole window title anomaly
           Product: konsole
           Version: 1.3.2
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: konsole-devel kde org
        ReportedBy: berberic fmi uni-passau de


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".



More information about the konsole-devel mailing list