[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    Re: [Kde-pim] HTML Rendering of <img> tag takes 100% cpu
From:       André_Somers <a.t.somers () student ! utwente ! nl>
Date:       2004-12-01 22:55:43
Message-ID: 200412012355.43465.a.t.somers () student ! utwente ! nl
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Wednesday 01 December 2004 22:44, Ingo Klöcker wrote:

> Quite some time ago I sent a complaint about this behavior to TT. Below
> you find their reply. There doesn't seem to be a simpler approach for
> doing this.
I also reported this as a bug, which I think in case of QListView it is. The 
tooltip should (by default) show the text that is shown in the item, and not 
try to parse it as rich text. The QListView doesn't treat the same string as 
rich text either.

> BTW, code which is copied from Qt can't go into kdelibs because of the
> license (Qt GPL, kdelibs LGPL).
I can re-write it if needed, though I doubt it would look very different. The 
copied stuff is rather trivial.

> 8<
> The alternative is to handle the tooltips yourself, this way you can
> parse the text and then escape the <>'s so that it shows them as
> ordinary <>'s instead of trying to show it as an image.  
This turns out to be pretty easy, and works nicely. Sure, a fix by Trolltech 
would be better, but I think for now, we can fix this ourselves.

André

-- 
My opinions may have changed, but not the fact that I am right.
-- Ashleigh Brilliant

[Attachment #5 (application/pgp-signature)]

_______________________________________________
kde-pim mailing list
kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic