Bug 316170 - Highlight plugin highlights all messages with an emoticon
Summary: Highlight plugin highlights all messages with an emoticon
Status: RESOLVED FIXED
Alias: None
Product: telepathy
Classification: Frameworks and Libraries
Component: text-ui-message-filters (show other bugs)
Version: git-latest
Platform: Other Linux
: NOR normal
Target Milestone: 0.6.0
Assignee: Telepathy Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-05 13:43 UTC by Daniele E. Domenichelli
Modified: 2013-03-10 22:36 UTC (History)
1 user (show)

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 Daniele E. Domenichelli 2013-03-05 13:43:37 UTC
When using a downloaded emoticon set, and if the user name is the same of the nickname, when a message has an emoticon, it gets highlighted.
This is because emoticons are in  /home/<user>/.kde/share/emoticons and the path is in the html of the message when the highlight plugin runs.
Comment 1 David Edmundson 2013-03-05 13:46:44 UTC
This is basically an effect of https://bugs.kde.org/show_bug.cgi?id=299292
Comment 2 Daniele E. Domenichelli 2013-03-06 13:42:13 UTC
Note that the order of plugin loading seems to be random, because sometimes I see this, other times I don't
Comment 3 David Edmundson 2013-03-10 22:36:44 UTC
Git commit de9615d32e02057496db258c083bc2d031d7f7b6 by David Edmundson.
Committed on 10/03/2013 at 23:35.
Pushed by davidedmundson into branch 'master'.

Set a low weight on the highlight plugin

This will cause the highlight plugin to run early before any other filters

M  +1    -0    filters/highlight/ktptextui_message_filter_highlight.desktop.cmake

http://commits.kde.org/telepathy-text-ui/de9615d32e02057496db258c083bc2d031d7f7b6