Chatterino / chatterino2

Chat client for https://twitch.tv
MIT License
2.02k stars 445 forks source link

Link previews with thumbnails jumping #1945

Open gempir opened 4 years ago

gempir commented 4 years ago

Describe the bug Links that have a thumbnail have very "jumpy" behaviour when hovering over them where sometimes the thumbnail itself disappears for a few moments.

To reproduce Have chatterino in the bottom right of a screen and hover of a link that's at the very bottom of the chat.

Screenshots

https://user-images.githubusercontent.com/41973452/233731612-4da37540-60a6-4be2-aeba-9e13d88a6d2d.mp4

Chatterino version Chatterino 2.2.2 (commit cbcd5f386)

Operating system Ubuntu 20.04 with i3

gempir commented 3 years ago

I investigated this closer. Tried rewriting the tooltip movement code quite a lot, but that part seems to be fine.

The issue is it's losing the image in a few frames, but I have no Idea why, it doesn't seem related to the actual moving code.