Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
briar
briar
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 681
    • Issues 681
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 12
    • Merge Requests 12
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • briar
  • briarbriar
  • Issues
  • #750

Closed
Open
Opened Nov 10, 2016 by akwizgran@akwizgranOwner
  • Report abuse
  • New issue
Report abuse New issue

ANR when copying and pasting long strings of emoji

Copying and pasting long strings of emoji from EmojiTextView to EmojiEditText is very slow and can produce an ANR dialog. The delay increases superlinearly with the number of emoji, and depends on the existing contents of the EmojiEditText.

With the Huawei Ascend Y330:

  • 64 emoji: noticeable delay
  • 128 emoji: 6 seconds if EmojiEditText is empty, 20 seconds if it already contains 128 emoji
  • 256 emoji: 30 seconds if EmojiEditText is empty, 100 seconds if it already contains 256 emoji

With the Samsung Galaxy Ace 2:

  • 128 emoji: noticeable delay
  • 256 emoji: 6 seconds if EmojiEditText is empty, 18 seconds if it already contains 256 emoji
  • 512 emoji: 37 seconds if EmojiEditText is empty, 135 seconds if it already contains 512 emoji

device-2016-11-10-155441 device-2016-11-10-155523

These problems don't occur when copying and pasting ordinary text from an EmojiTextView to an EmojiEditText. Thousands of characters can be copied and pasted without a noticeable delay.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: briar/briar#750