deltachat / deltachat-desktop

Email-based instant messaging for Desktop.
GNU General Public License v3.0
915 stars 166 forks source link

Reactions are not displayed #4149

Open Raiden-GH opened 4 days ago

Raiden-GH commented 4 days ago

Expected behavior:

Reactions are displayed normally.

Actual behavior:

Instead of a reaction, two question marks were displayed.

This emoji "😂" was actually supposed to be displayed as a reaction. I replaced another one with it. It was displayed correctly at first. I noticed the bug days later when scrolling through the chat in DC-Desktop. The reaction was visible in DC-iOS 1.46.10. Then I removed the reaction and reacted to the message again with the same emoji in DC-Desktop 1.46.8. The reaction was initially displayed correctly. But after restarting it, the two question marks were there again. I removed the reaction in DC-Desktop and reacted to the message in DC-iOS. Since then, the reaction has also been displayed correctly in DC-Desktop. Unfortunately, I was unable to reproduce the bug afterwards.

macOS 15 DC-Desktop 1.46.8

Screenshot:

Reaktionen Bug

r10s commented 3 days ago

ftr, i've seen a similar issue for received messages on macos 14.5 with Delta Chat 1.46.3 - the message display the black question mark instead of emoji:

Screenshot 2024-09-28 at 21 40 27

on reloading, the position of the back question mark change.

in contrast to the initial issue, however, on 1.46.8, this is fixed. maybe this hint help to hunt for the bug :)

nicodh commented 1 day ago

Can't reproduce this. Tested with DC-iOs and Desktop 1.46.8

Simon-Laux commented 18 hours ago

Also haven't seen this yet and I'm on macOS. we need more info to hunt this issue. This seems to be either a font rendering bug or some memory but that destroys unicode strings.

maybe next time this happens you could open the electrons dev tools (view->developer->devtools) and select/find the element that holds the buggy emojis in the html/dom-tree? Then try to copy the text there/check if it's also displayed broken in the html-tree?

Bildschirmfoto 2024-10-01 um 06 31 43

the tool in highlighted with the red circle can help you find the element by clicking on it.