Bug 211073

Summary: Even short titles set by console are trimmed
Product: [Applications] konsole Reporter: Marco Poletti <poletti.marco>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: normal CC: adaptee
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Unspecified   
Latest Commit: Version Fixed In:
Attachments: Screenshot of trimmed title

Description Marco Poletti 2009-10-19 13:38:24 UTC
Version:            (using KDE 4.3.1)
Installed from:    SuSE RPMs

When you set \w as title format for tabs, you expect the title will be trimmed based on the tab width, or not at all. Instead, it's trimmed to 20 characters (plus "...", so there are 23).

Steps to reproduce:

Edit the current profile and set \w as the «title format for tabs» in the tab «Tabs».
Execute the following command in konsole:

    export PROMPT_COMMAND='echo -ne "\033]0;123456789123456789123\007"'

Expected results:

The string is not trimmed.

Actual results:

The string is trimmed.
Comment 1 Marco Poletti 2009-10-19 13:39:35 UTC
Created attachment 37662 [details]
Screenshot of trimmed title

Here you can see a 21 character title that would fit in the tab, but it's trimmed anyway.
Comment 2 Jekyll Wu 2011-07-19 12:41:25 UTC
can't reproduce this with 2.7.999. Is is already fixed?
Comment 3 Marco Poletti 2011-07-19 12:58:46 UTC
I think this has been fixed, as I can't reproduce it with 2.6 (using KDE 4.6.0).