overtake / TelegramSwift

Source code of Telegram for macos on Swift 5.0
https://macos.telegram.org
GNU General Public License v2.0
5.05k stars 856 forks source link

Animated stickers are unusable in sidebar #329

Open AuroraWright opened 5 years ago

AuroraWright commented 5 years ago

If the sticker sidebar is enabled and you have a few (I have 3) packs of animated stickers, as soon as you open the sidebar they start stuttering and freezing and you can't even preview them, making them unusable. Disabling the sidebar fixes the issue.

AuroraWright commented 5 years ago

It seems the CPU can't keep up with rendering all animated stickers at once, maybe as Telegram only uses a single thread? (just a guess). It's also dependent on resolution, a friend told me it doesn't happen on a 1080p screen while I have a 2016 15" Macbook Pro.

overtake commented 5 years ago

Yes stickers uses 1 thread. I can add more threads but i'm not sure is good idea because all your desktop resources will be spend for stickers.

qmmp123 commented 1 year ago

Can you make option to disable animation in side bar and show animation if mouse cursor over?