Bug 240707 - Emoticon doesn't display in email
Summary: Emoticon doesn't display in email
Status: RESOLVED DUPLICATE of bug 233416
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-04 12:04 UTC by Laurent Montel
Modified: 2010-06-04 12:15 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Montel 2010-06-04 12:04:12 UTC
Version:           unspecified (using Devel) 
OS:                Linux

I created an email with smiley ":)" and when I look at this email, ":)" is not replacing by emoticon.

I can see that in kdepimlibs/kpimutils/linklocator.cpp

    result =
      sEmoticons->theme( cachedEmoticonsThemeName ).parseEmoticons(
        result, KEmoticonsTheme::StrictParse | KEmoticonsTheme::SkipHTML, exclude );

is calling and replace ":)" by a image
<img align="center" title=":)" alt=":)" src="/opt/kde4-akonadi/share/emoticons/kde4/smile.png" width="22" height="22" />"

but we can't see it.

Reproducible: Always


Actual Results:  
I show a ":)" and a square arround it

Expected Results:  
I want to see emoticon :)
Comment 1 Thomas McGuire 2010-06-04 12:15:10 UTC
Ah, that is because the KEmoticons doesn't (yet?) add file:// to the IMG urls.
WebKit needs that. But I don't know if KHTML-based stuff accept a file:// link. If not, then we need to add a flag to KEmoticons which controls whether to add file:// or not.
Comment 2 Thomas McGuire 2010-06-04 12:15:36 UTC
Duplicate, btw.

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