Conversations+

Notice: Undefined index: tasklist_type in /var/www/clients/client22/web65/bugs/includes/class.tpl.php(128) : eval()'d code on line 85 Notice: Undefined index: tasklist_type in /var/www/clients/client22/web65/bugs/includes/class.tpl.php(128) : eval()'d code on line 90
  • Status Assigned
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category App → User Interface
  • Assigned To Sebastian Luksch (lookshe)
  • Operating System All
  • Severity Low
  • Priority Normal
  • Reported Version Conversations+ 0.0.5
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 0
  • Private No
Attached to Project: Conversations+
Opened by Sebastian Luksch (lookshe) - 2015-10-24

FS#85 - Emoticon not removed in message preview in conversation overview

The message preview in conversation overview shows only a maximum number of characters of the last message, but also emoticons at the end of the preview as seen in the attached screenshot. This behaviour should be analyzed and fixed if it is a bug.

This task does not depend on any other tasks.

Sebastian Luksch (lookshe)
Saturday, 12 March 2016, 01:38 GMT
UIHelper.getMessagePreview
Sebastian Luksch (lookshe)
Monday, 14 March 2016, 23:22 GMT
truncated with "..." is down by android textview itself due to settings singleLine and ellipsize
Sebastian Luksch (lookshe)
Monday, 14 March 2016, 23:27 GMT
to go on we should take a look in androids TextView.setText
Sebastian Luksch (lookshe)
Tuesday, 29 March 2016, 12:37 GMT
Signal uses following code for emojicons: https://github.com/WhisperSystems/Signal-Android/tree/master/src/org/thoughtcrime/securesms/components/emoji

Looks like their TextView does the ellipsizing itself with help of ViewUtil or the onMeasure-Method causes correct behaviour.

Could also be the overwritten getSize method in EmojiSpan. Needs to be checked if it gets called and is useful.

Loading...