Bug 326976 - Cut long names in KDE Telepathy Text UI tab name
Summary: Cut long names in KDE Telepathy Text UI tab name
Status: RESOLVED FIXED
Alias: None
Product: telepathy
Classification: Frameworks and Libraries
Component: text-ui (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: Future
Assignee: Telepathy Bugs
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2013-11-01 07:07 UTC by Murz
Modified: 2014-03-12 05:55 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 0.8.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Murz 2013-11-01 07:07:43 UTC
We use jabber account that use long names for roster contacts, so when I open the tab, it have very long name, here is screenshot: http://i.imgur.com/Zq5XNrE.png
Kopete and other messengers have option for cut long tab names, I can specify max length in settings and last part are replaced to '...'. 

Can you add cutting long name in tab title feature to KDE Telepathy Text UI?

Reproducible: Always
Comment 1 David Edmundson 2013-11-04 21:53:38 UTC
Junior job for someone.

http://qt-project.org/doc/qt-4.8/qtabbar.html#elideMode-prop
Comment 2 David Edmundson 2013-11-24 14:10:59 UTC
Git commit 841398147865a263fba6f31cd5d06d6528eff7b2 by David Edmundson, on behalf of Oskar Jauch.
Committed on 24/11/2013 at 14:09.
Pushed by davidedmundson into branch 'master'.

Cut long names in KDE Telepathy Text UI tab name

When tab names are too long to be displayed they will beautomatically
cut off and the end is replaced by "...".
FIXED-IN: 0.8.0
REVIEW: 114056

M  +1    -0    app/chat-window.cpp

http://commits.kde.org/telepathy-text-ui/841398147865a263fba6f31cd5d06d6528eff7b2
Comment 3 Murz 2014-03-10 13:02:15 UTC
Thanks, on kde telepaty 0.8 beta (0.7.80) this works very well!
Comment 4 Murz 2014-03-11 10:25:19 UTC
Also will be good to see tooltip (popup) with full contact name on hovering mouse under tab, because now cutted name sometimes too short for understand with who you talking now in this tab, thanks.
Comment 5 Martin Klapetek 2014-03-11 14:51:21 UTC
Git commit 6ec5e26d2dd27025df830ebd3b7754c650f8c370 by Martin Klapetek.
Committed on 11/03/2014 at 14:50.
Pushed by mklapetek into branch 'master'.

Set a chat tab tooltip so long names can be seen when elided

Reviewed-by: David Edmundson
FIXED-IN: 0.8.0

M  +1    -0    app/chat-window.cpp

http://commits.kde.org/telepathy-text-ui/6ec5e26d2dd27025df830ebd3b7754c650f8c370
Comment 6 Martin Klapetek 2014-03-11 14:52:48 UTC
Git commit 5d0a66b6ecd416180a05d6c9f1404287b3d93611 by Martin Klapetek.
Committed on 11/03/2014 at 14:50.
Pushed by mklapetek into branch 'kde-telepathy-0.8'.

Set a chat tab tooltip so long names can be seen when elided

Reviewed-by: David Edmundson
FIXED-IN: 0.8.0

M  +1    -0    app/chat-window.cpp

http://commits.kde.org/telepathy-text-ui/5d0a66b6ecd416180a05d6c9f1404287b3d93611
Comment 7 Murz 2014-03-12 05:55:31 UTC
Thanks for quick fixing!