Psi Jabber Client

See this page for instructions on how to use Flyspray: http://psi-im.org/wiki/Flyspray

Please Note!

Please do not create tasks here without discussing your bug or feature request on the forums or groupchat psi@conference.psi-im.org, *and* getting explicit confirmation by a developer to add it to flyspray.
Tasklist

FS#514 - Popups richtext fix

Attached to Project: Psi Jabber Client
Opened by Przemysław Maciąg (troll) - Sunday, 20 November 2005, 09:49 GMT-5
Last edited by Kevin Smith (kev) - Wednesday, 30 January 2008, 17:11 GMT-5
Task Type Bug Report
Category UserInterface
Status Unconfirmed
Assigned To No-one
Operating System All
Severity Medium
Priority Nice to Have
Reported Version 0.11-devel
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

I created a patch to fix some weird behaviours of popups messages. Just truncating a popup message text can cause situations like this:
* text will be trancated 'inside' icon tag
* text will be trancated 'inside' a tag
both situations will give a bad string to show. Patch add a simple
function to correct this situations (and similar ones).

For future use : when porting to qt4 latin1() function (like here)
c = intext.at(i).latin1();

has to be changed to
c = intext.at(i).toLatin1();

I add this function to common.cpp for future use with (ex.) status showing in roster (I hope someday it will be in roster ;) ).

Regards,
Przemek
This task depends upon

View Dependency Graph

This task blocks these from closing
FS#764 - Patch review (META TASK)
Comment by Przemysław Maciąg (troll) - Sunday, 20 November 2005, 09:49 GMT-5
psi-fix_popup_richtext.patch
Comment by Przemysław Maciąg (troll) - Wednesday, 23 November 2005, 06:49 GMT-5
psi-fix_popup_richtext.patch - new version
Comment by Przemysław Maciąg (troll) - Wednesday, 23 November 2005, 06:51 GMT-5
second patch version:
- maximum visible characters are now 200
- 'a' tag is not being counted as visible (only letters 'inside' the tag)
- check to see is truncating needed and (if so) add "..." to the end
of a message - different than original one, since now texts can have
different length
- no more latin1 characters conversion
Comment by Kevin Smith (kev) - Thursday, 04 October 2007, 23:15 GMT-5
I don't remember if this is fixed yet, check for 0.12.

Loading...