recation preview is displayed behind the reactions panel
Steps to reproduce
- react to a message
- hold LMB on a reaction to repview it
Expected behaviour
the big reaction preview is shown in foreground
Actual behaviour
the big reaction is displayed behind the reactions picker:
https://github.com/user-attachments/assets/c3205093-42ea-498b-827d-61272b10e80f
Operating system
Windows 10
Version of Telegram Desktop
5.4.6
Installation source
Static binary from official website
Crash ID
No response
Logs
No response
I'm going to bump this, since I assume it's a trivial issue that hasn't reached the devs. Can reproduce on beta 5.5.7
@RememberTheAir This isn't trivial, unfortunately. The reactions menu is a separate window which is above the main window, while the preview widget is part of the main window which is why there is no way for it to appear above the reactions menu without some major changes to how all this works :/
oh okay, thanks for the explanation and sorry for the bump
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!
unstale
Been seeing this in the Linux Desktop client too, currently 6.0.2.
I found a workaround tho which makes me happy again. See if it works for the Windows client?
The trick is to get the reaction menu to open a sufficiently far distance from the messages center, where the reaction preview is displayed.
I found some different ways to accomplish this. One is to maximize the Telegram Desktop app, this will put the messages on the left side of the screen. Shrink the list of your messages so they're just icons to move the chat messages even further to the left. Now right-click on the left edge of the message you want to react to, like this:
Now the popup is far enough from the center and reaction preview is fully visible:
Another way, without maximizing Telegram window, is to make sure there is suitable space between right edge of Telegram Window and your screen. Then, right-click on right edge of message you want to react to. If there's enough space, the reaction popup will open mostly outside the Telegram window, leaving room for the reaction preview:
Here is a nightly build with changes related to this issue.
https://github.com/telegramdesktop/tdesktop/actions/runs/17574832191
The reaction preview is shown above the panel as expected, so yeah it behaves correctly. Not sure if it is expected but from this build, the reactions panel interaction is laggy, especially when you right-click on a message or preview an emoji for the first time
@RememberTheAir This isn't trivial, unfortunately. The reactions menu is a separate window which is above the main window, while the preview widget is part of the main window which is why there is no way for it to appear above the reactions menu without some major changes to how all this works :/
this is super mega old bug which is annoying..
OK, no worries about reimplementation, but could you at least add offset(margin) from that reaction menu (separate window), e.g. show it on top coordinates + offset required for "preview" while reaction menu (as case) is located right now somewhere in the middle or bottom, do the same for other scenarios (always checking boundaries and show it on corresponding place), just don't put it in center and make it visible in any case. (Possible positions : 4x, at each side of rectangle, depends on condition of boundaries)
@VetaLioSTV https://github.com/telegramdesktop/tdesktop/actions/runs/17574832191