Reach the menu behind the avatar of a sender - #2045
Open
mehranlatifi83 wants to merge 1 commit into
Open
Conversation
The avatar of whoever sent a message opens a menu when it is held down: their profile, a chat with them, a mention of them, and a search of what they have said here. The avatar is drawn by the cell and is no view of its own, so touch exploration had nothing to hold, and none of the four could be reached at all. The message now offers that menu as an action of its own. Holding the avatar is what it asks for, so the menu is come by the same way it is by everyone else, and whatever it grows to hold is come by that way too. The menu is drawn around the picture the avatar stands for and does not come up without one, so it is not offered for a sender who has none. Nothing else about the message changes: holding the message itself still selects it, as it did.
mehranlatifi83
force-pushed
the
fix/talkback-sender-avatar-menu
branch
from
August 30, 2026 09:45
ef1607b to
f35c359
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The avatar of whoever sent a message opens a menu when it is held down:
their profile, a chat with them, a mention of them, and a search of what
they have said here. The avatar is drawn by the cell and is no view of its
own, so touch exploration had nothing to hold, and none of the four could
be reached at all.
The message now offers that menu as an action of its own. Holding the
avatar is what it asks for, so the menu is come by the same way it is by
everyone else, and whatever it grows to hold is come by that way too.
The menu is drawn around the picture the avatar stands for and does not
come up without one, so it is not offered for a sender who has none.
Nothing else about the message changes: holding the message itself still
selects it, as it did.
Checking it
With TalkBack on, in a supergroup, swipe onto a message from someone else who has a profile photo and open the actions.
Before, the menu behind their avatar could not be reached at all. Now there is an action that opens it, with the same entries a long press gives: open profile, send message, mention, and search their messages.
Long pressing the message itself still selects it, as before.