tdesktop icon indicating copy to clipboard operation
tdesktop copied to clipboard

[Feature Request] Ability to open threads from any reply in that thread

Open theolegest opened this issue 4 years ago • 11 comments

Is your feature request related to a problem?

Right now the only way to view a thread in a chat is to select "Show X replies" option of the original message. That message can be very far in chat history and hard to access.

Describe the solution you'd like

Adding a "View thread" context option for any message that belongs to a thread eliminates that problem. It would also be consistent with the mobile version.

theolegest avatar Aug 09 '21 12:08 theolegest

The mobile version and tdesktop behave the same: the "view thread" option is shown only in supergroups that are linked to a channel

RememberTheAir avatar Aug 09 '21 13:08 RememberTheAir

so, api?

Aokromes avatar Aug 09 '21 13:08 Aokromes

I don't think so. But for sure it's something that should work the same way on every platform. This card come close to what OP is asking for, but it's not quite it. Maybe a ticket there should be opened

RememberTheAir avatar Aug 09 '21 14:08 RememberTheAir

The mobile version and tdesktop behave the same: the "view thread" option is shown only in supergroups that are linked to a channel

Is that the case? I tried to open both context menus from mobile and desktop and there was no "view thread" option on desktop. I test both Windows and Linux version

message desktop

reply desktop

message mobile

reply mobile

theolegest avatar Aug 09 '21 15:08 theolegest

Uh, maybe the iOS app behaves differently? Just tried from android and the reply doesn't show the "view thread" option

RememberTheAir avatar Aug 09 '21 15:08 RememberTheAir

Uh, maybe the iOS app behaves differently? Just tried from android and the reply doesn't show the "view thread" option

The Android client gained the functionality some time ago, then lost it for a few months (in August or earlier), but it has been back since mid-October.

gonhidi avatar Jan 13 '22 07:01 gonhidi

I tried this on mobile in a public group without a linked channel, and I still can't open the replies thread from a reply (there is no option to open the thread in the message menu). I can only open it from the root message 🤔

RememberTheAir avatar Jan 13 '22 09:01 RememberTheAir

You are right that the “view thread” option is only available for some groups. I though that its disappearance from the Android client while your conversation took place might somehow explain why you were getting different results.

Going further back, you noted that both the mobile and desktop versions offer the same option. In my case, however, for those groups where there is a “view thread” option for replies in the current Android client, I have never managed to see the equivalent functionality in macOS's native clients (currently, neither on Telegram Desktop 3.4.3 — the one this repository is about — nor on Telegram 8.4.1 226307 Beta, both on macOS Catalina 10.15.7); in those, I can only view the thread using the “view replies” option on the first message of a conversation. Were you using a different operating system or desktop client?

gonhidi avatar Jan 13 '22 10:01 gonhidi

@gonhidi you are right, tdesktop doesn't shown any "view thread" option even when it should (that is, in supergroups with a linked channel where the message belongs to a thread). Tested on 3.4.8

Maybe it's because of this early return? I assume item->repliesCount() will be 0 for non-root messages

https://github.com/telegramdesktop/tdesktop/blob/c8f7a8c795cd33e4df7a8dd78a077d362bb6316b/Telegram/SourceFiles/history/view/history_view_context_menu.cpp#L601-L605

RememberTheAir avatar Jan 25 '22 15:01 RememberTheAir

Hey there!

This issue was inactive for a long time and will be automatically closed in 30 days if there isn't any further activity. We therefore assume that the user has lost interest or resolved the problem on their own.

Don't worry though; if this is an error, let us know with a comment and we'll be happy to reopen the issue.

Thanks!

stale[bot] avatar Jul 30 '22 14:07 stale[bot]

Shouldn't this be brought to https://suggestions.telegram.org? Since the behavior is established and should be consistent everywhere, this is not a strictly client-side enhancement

RememberTheAir avatar Aug 08 '22 08:08 RememberTheAir