[Konsole-devel] [Bug 218844] option to show complete tab titles

Matthew Woehlke mw_triad at users.sourceforge.net
Thu Dec 24 00:28:37 UTC 2009


https://bugs.kde.org/show_bug.cgi?id=218844


Matthew Woehlke <mw_triad at users.sourceforge.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mw_triad at users.sourceforge.
                   |                            |net




--- Comment #2 from Matthew Woehlke <mw_triad users sourceforge net>  2009-12-24 01:28:36 ---
This bugs me also. I agree there is no need for an option; just make use of the
available space.

There is Qt code to guess how much space a text string will take. I presume
Konsole knows (or can query) the width of the tabs? If so, on relayout, just
query the text width and, if it fits, display the whole text. If not, query the
width of just the ellipsis and from there do a binary search to determine how
many characters will fit.

I can dig up some code for 'how much space will this string take' if needed,
but probably would not get to it until after the new year.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the konsole-devel mailing list