Bug 167590 - Strange title when in ~/tmp
Summary: Strange title when in ~/tmp
Status: RESOLVED REMIND
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
: 180907 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-07-28 14:34 UTC by Mike
Modified: 2011-03-04 20:04 UTC (History)
3 users (show)

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 Mike 2008-07-28 14:34:57 UTC
Version:            (using Devel)
Installed from:    Compiled sources
OS:                Linux

When in ~/tmp there is a strange title given to the tab.  This does not happen with most directories.

~ -> title = 'mike : bash'
~/tmp -> title = 'mike/t : bash' # this is the bug
~/a -> title = 'a : bash'

~/tmp is a normal directory with normal permissions (755)
Comment 1 Dominik Tritscher 2008-07-28 18:14:49 UTC
I can confirm that bug with Konsole 2.1 from KDE4.1RC1 Kubuntu packages.
Comment 2 Robert Knight 2008-07-29 10:24:16 UTC
This behaviour is intentional.  Common directory names like 'src', 'tmp', 'doc' etc. are shortened to a single letter and the name of the preceeding directory is inserted.  This is because if there are several tabs open in say, projecta/src, projectb/src, projectc/doc, then just the last part of the name would not be very helpful:

src | src | doc

Instead you see something more useful:

projecta/s | projectb/s | projectc/d 
Comment 3 Robert Knight 2008-07-29 10:24:42 UTC
Unconfirming as per comment #2
Comment 4 Robert Knight 2008-09-22 03:58:39 UTC
Closing since this is expected behavior.  Might think of ways to make it more obvious why this is happening in future.
Comment 5 S. Burmeister 2009-05-21 11:23:20 UTC
Any further thoughts on this? If I understood correctly this only makes sense if there is a preceeding directory, i.e. if there is none, this is a bug.
Comment 6 Kurt Hindenburg 2011-03-04 20:04:08 UTC
*** Bug 180907 has been marked as a duplicate of this bug. ***