Bug 184346 - Emoticon themes not showing up via KNewStuff and via local tarball missing smileys
Summary: Emoticon themes not showing up via KNewStuff and via local tarball missing sm...
Status: RESOLVED INTENTIONAL
Alias: None
Product: frameworks-kemoticons
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-14 21:51 UTC by Matija Šuklje
Modified: 2020-09-07 18:51 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
'emoticons.xml' from the theme "White Emoticons that work" (2.78 KB, application/xml)
2009-02-14 21:54 UTC, Matija Šuklje
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matija Šuklje 2009-02-14 21:51:02 UTC
Version:            (using KDE 4.2.0)
OS:                Linux
Installed from:    Gentoo Packages

Emoticon (at least some) themes that worked in KDE3 do not work in KDE4 anymore.

I have noticed this bug using KDE 4.2.0 and my own "White Emoticons that work" <http://kde-look.org/content/show.php/?content=58163>, while numerodix (who also suggested to me that this was a kdelibs bug) has noticed this bug already before in KDE4 and with his "xtorg emoticon set for kopete and others" <http://www.kde-look.org/content/show.php/?content=43094>

Steps of reproduction
1) open up the "Emoticon Themes Manager" (in System Settings)
2) select "Get New Themes"
3) install "White Emoticons that work"

Bug
*) in "Emoticon Themes Manager" they show as they should
*) when selecting an emoticon theme (e.g. in Kopete) some of the emoticons are missing and others show up multiple times
*) when in use (e.g. in Kopete) some emoticons are missing from the selection menu

Expected results
*) all emoticons from the theme to be present

(BTW, when trying to install the emoticon theme from Kopete, it won't show any of the smileys anywhere)
Comment 1 Matija Šuklje 2009-02-14 21:54:01 UTC
Created attachment 31312 [details]
'emoticons.xml' from the theme "White Emoticons that work"

I'm attaching the theme file so you can find out if there's a pattern in the bindings, filenames or anything in that direction.
Comment 2 Matija Šuklje 2009-02-19 19:24:39 UTC
In most cases the affected emoticon entries have an asterisk (e.g. *bear*) at the beginning and the end of its string tag.

I hope this is of any help...
Comment 3 Matija Šuklje 2009-02-22 20:27:13 UTC
I tested it in KMail and the bug persists even there.

Although in KMail I noticed that *bear* (and similar "*<name>*" emoticon strings) are showed as bold text of what enclosed in the two asterisks.

I wondered if that is the reason why the emoticons fail to show, so I changed the 'emoticons.xml' file and replaced all enclosing asterisks with pluses (e.g. "*bear*" for "+bear+"). It didn't fix the bug though :/
Comment 4 Matija Šuklje 2009-08-20 19:11:55 UTC
I tested it again, by enclosing it in semicolons. It works if you change the 'emoticon.xml' entries to ":<name>:" (e.g. :bear:)

If this is intentional — which due to the fact that underscores and asterixes are commonly used and interpreted by KMail as emphasises, I think it is — it would be nice if there was some mention somewhere that using *<name>* won't work in emoticon files.

Which brings us to another problem, since AFAIK, ICQ encloses all its emoticons in asterixes (e.g. *JOKINGLY*).
Comment 5 Matija Šuklje 2011-12-29 15:54:19 UTC
Can we call this a feature instead of a bug by now?
Comment 6 Matija Šuklje 2018-09-17 11:24:55 UTC
“Feature or bug” bump? ;)
Comment 7 Alexander Lohnau 2020-09-07 18:51:16 UTC
The KCM and KNewStuff file got removed in https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/52/diffs#diff-content-c3a2c07b45e514159719757369b49e104b451e6f do I am marking this bug as resolved.