Tdesktop: High CPU usage on video thumbnail loading

Created on 23 Jan 2019  Â·  6Comments  Â·  Source: telegramdesktop/tdesktop

Steps to reproduce

  1. Post a video link in chat (link to youtube, for exaple)

Expected behaviour

Video thumbnail should be downloaded without issues

Actual behaviour

Thumbnail loading is not happening. And CPU usage goes up to 50-60%.

Configuration

Operating system:
Arch linux

Version of Telegram Desktop:
1.5.7 beta

Used theme:
Night theme

Logs:
Insert log.txt here (if necessary)

bug stale

Most helpful comment

а как какать

All 6 comments

Well, I just realized that this bug actually happens with ANY image loading, not only video thumbnails. Not cool

а как какать

this bug is still valid?

this bug is still valid?

Yep. CPU usage goes up to ~60% on one core

Yep. CPU usage goes up to ~60% on one core

Well, if you profile this, maybe the issue will be solved
https://stackoverflow.com/questions/2229336/linux-application-profiling

Hey there!

This issue will be automatically closed in 7 days if there would be no 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!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

qwitriy picture qwitriy  Â·  3Comments

slowaways picture slowaways  Â·  3Comments

beppe9000 picture beppe9000  Â·  3Comments

whywhyy picture whywhyy  Â·  3Comments

abhyrz picture abhyrz  Â·  3Comments