Skip to content
Snippets Groups Projects

Fix: Emoji categories with subfolders, but no emoji, erroneously duplicate the subfolder's emoji

What does this MR do?

This patch fixes a bug where the category sections in MkEmojiPicker that don't directly have any emoticons, but contain subcategories that do, erroneously duplicate their first child's contents due to a bug in parseAndMergeCategories().

Example:

image

This only occurs when the parent category is not at the top level - you need to nest categories beyond 2 levels (e.g. "Mutant Standard/smileys/cats" will be duplicated into "Mutant Standard/smileys" if no emoticons are categorised as "Mutant Standard/smileys" directly) for this bug to occur.

Contribution Guidelines

By submitting this merge request, you agree to follow our Contribution Guidelines

  • I agree to follow this project's Contribution Guidelines
  • I have made sure to test this merge request

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading