Bug 211073 - Even short titles set by console are trimmed
Summary: Even short titles set by console are trimmed
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Unspecified
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-19 13:38 UTC by Marco Poletti
Modified: 2011-07-19 13:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot of trimmed title (28.75 KB, image/png)
2009-10-19 13:39 UTC, Marco Poletti
Details

Note You need to log in before you can comment on or make changes to this bug.
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).