telegramdesktop / tdesktop

Telegram Desktop messaging app
https://desktop.telegram.org/
Other
26.37k stars 5.24k forks source link

TD ignores the fact that I have already downloaded the video, and ignorantly tries to get the video again. #28679

Open victorxstc opened 1 day ago

victorxstc commented 1 day ago

Steps to reproduce

  1. On a popular Telegram channel, find a video that has both a triangle on its center (meaning "play") and a vertical arrow on the upper left corner (meaning "download"). Note: some Telegram videos don't have the "play" triangle and only have a vertical arrow. Do not choose one of them. Chose a video with both "play" and "download" features.
  2. Do NOT play the video. Do not click on the center of the video.
  3. Just download it by clicking the vertical arrow on the top left corner of the movie.
  4. Once the download is finished, now click on the center of the video to play the video on Telegram.

Expected behaviour

Telegram Desktop should play the video immediately from the hard disk. The video is ALREADY downloaded and available locally to play instantly. This correct behavior used to happen until last month (there was no such a bug before this server-side resolution adjustment).

Actual behaviour

Instead, Telegram Desktop doesn't understand that it has already downloaded the movie to the disk. Instead, it connects again to the server, trying to stream the video from the server from scratch (a video that is already available locally).

This behavior started after Telegram started to adjust the video resolution server-side based on the user's connection speed. Now, Telegram Android doesn't even allow the user to "download" movies. It only allows them to "play" movies by opening the movies. There is no more an arrow on the top left corner of videos, allowing the user to download them.

However, T Desktop has not caught up yet, and has both features of "download" and "play" with the latter being incomplete and buggy.

Solution:

Please either delete the "download" feature forcing all users to only stream videos by clicking the center of video and playing it; or fix the bug of the "play" feature so that it first checks whether or not the video is downloaded and available locally, before even wanting to connect to the server and request streaming.

Operating system

Windows 10

Version of Telegram Desktop

5.8.2 x64 (the problem existed in ALL previous versions since a couple of months ago)

Installation source

Static binary from official website

Crash ID

No response

Logs

No response

FlossyMaze commented 21 hours ago

I was unable to reproduce this, does the downloaded file show up in Telegram Downloads? (Settings > Advanced > Downloads)

Tested on: Telegram Desktop 5.8.2 x64 OS Name: Microsoft Windows 10 Home Single Language OS Version: 10.0.19045 N/A Build 19045