Skip to content

Conversation

Professorq
Copy link

First time contributor checklist:

Contributor checklist:

  • My contribution is not related to translations.
  • My commits are in nice logical chunks with good commit messages
  • My changes are rebased on the latest main branch
  • A pnpm run ready run passes successfully (more about tests here)
  • My changes are ready to be shipped to users

Description

On cinnamon clicking (using a mouse) on an emoji sends a PointerEvent with pointerType pen, causing the emoji picker to close. Fixes #7269

This check for event modifier keys and pointerType seem to be carryovers from prior implementation of this callback, which handled a PressEvent. Any of the standard ClickEvent pointer types (pen, mouse, touch) should trigger the same behavior: selecting an emoji, and keeping the popover open. Even an empty-string or vendor-prefixed event should probably also share this behavior.

Manually tested by opening the emoji picker and selecting an emoji. Picker does not dismiss, accepts multiple emojis until dismissed.
Long-clicked on skin-tonable emoji to bring up skin tone popover. Clicking on skin tone popover also dismisses the emoji picker, which is consistent with the behavior before this change.
Emoji in message text line include gender and skin tone.

Tested on Ubuntu 24.04.2 LTS, running cinnamon/noble (6.0.4-4)

On cinnamon clicking (using a mouse) on an emoji sends a PointerEvent with pointerType `pen`, causing the emoji picker to close.
@ayumi-signal ayumi-signal self-assigned this Jul 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Signal closes emoji selection pop-up after selection

2 participants