Bug 111038 - Subject line tooltips try to interpret HTML.
Summary: Subject line tooltips try to interpret HTML.
Status: RESOLVED DUPLICATE of bug 52223
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.8.90
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-19 00:17 UTC by Michael Pyne
Modified: 2007-09-14 12:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
approach to fix the tooltips once kdelibs is fixed (1.50 KB, patch)
2005-08-19 20:54 UTC, Andreas Gungl
Details
approach to fix the tooltips once kdelibs is fixed (1.50 KB, patch)
2005-08-19 21:09 UTC, Andreas Gungl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Pyne 2005-08-19 00:17:23 UTC
Version:           1.8.90 (using KDE 3.4.90 (alpha1, >= 20050806), compiled sources)
Compiler:          Target: i686-pc-linux-gnu
OS:                Linux (i686) release 2.6.11.10

I received an email with a subject of

"[PATCH] Making <img style="max-width: 100px" /> work"

and since the list view wasn't wide enough to display the full subject, it popped up a nice tooltip when the mouse pointer hovered over it.

But, the tooltip had a black square where the <img /> part was.  Apparently it doesn't anticipate possible HTML in the subject lines?

Expected behavior: The tooltip should just display the subject line, without interpreting the subject line.
Comment 1 Andreas Gungl 2005-08-19 20:44:02 UTC
Due to a missing part in kdelibs, it's not possible for me to implement a fix before at least KDE 4. AFAICT there is currently no way to intercept the determination of the text to be used in the tooltip.
Comment 2 Andreas Gungl 2005-08-19 20:54:26 UTC
Created attachment 12272 [details]
approach to fix the tooltips once kdelibs is fixed

The patch contains an approach to fix that issue. Howver, currently as of KDE
3.5 the tooltip() method is actually never called and
KListView::Tooltip::maybeTip() contains simply a FIXME. KDE 4 might bring a
solution for that.
Comment 3 Andreas Gungl 2005-08-19 21:09:08 UTC
Created attachment 12273 [details]
approach to fix the tooltips once kdelibs is fixed

The patch contains an approach to fix that issue. Howver, currently as of KDE
3.5 the tooltip() method is actually never called and
KListView::Tooltip::maybeTip() contains simply a FIXME. KDE 4 might bring a
solution for that.
Comment 4 Tom Albers 2005-09-20 19:55:37 UTC
52223 is similar and also contains patch
Comment 5 Andreas Gungl 2005-09-24 20:30:18 UTC
Tom, thanks for the hint. You're right - as always.

I think this issue won't be fixed for the KDE 3 series, however we definitely should take care for that on KDE 4.


*** This bug has been marked as a duplicate of 52223 ***