Summary: | Title length is ~74 characters maximum. | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | kde49534 |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | cfeck |
Priority: | NOR | ||
Version: | 2.8.5 | ||
Target Milestone: | --- | ||
Platform: | Slackware | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/konsole/38e6c820f574f66e17de712a55dd80de69f02324 | Version Fixed In: | 4.10 |
Sentry Crash Report: | |||
Attachments: | What the title looks like to me. |
Description
kde49534
2012-11-08 19:20:16 UTC
Odd. It works here exactly as you want it, eliding text with "..." in the middle. Created attachment 75111 [details]
What the title looks like to me.
In 2.8.5? Using %w? This attachment shows what I seeā¦
Another user [url=http://forum.kde.org/viewtopic.php?f=227&t=108609&p=253596]saw something similar[/url]. I am on master, and used %D to show full path. %w indeed seems to cut, less than 50 characters here. That's probably simply a copy of the Tab text copied to the window title, but it should be the other way around... It appears the max token is 80 so the text received for %w will always be less Vt102Emulation.h:#define MAX_TOKEN_LENGTH 80 This code is quite old - I'll have to try to figure out why that's there. Git commit 38e6c820f574f66e17de712a55dd80de69f02324 by Kurt Hindenburg. Committed on 10/11/2012 at 19:28. Pushed by hindenburg into branch 'master'. Increase length of tokens Currently, the max length of a token is 80. This affects the window title causing the max length of around 74. The main usage is to allow a really long window title. >From what I gather xterm doesn't have a limit. If needed, this # could be increased. FIXED-IN: 4.10 M +1 -1 src/Vt102Emulation.h http://commits.kde.org/konsole/38e6c820f574f66e17de712a55dd80de69f02324 |