#28316·tdesktop

Frame timing on gifs is one frame early

Author: omgitsravenCreated Aug 25, 2024Updated Sep 12, 2026
Labelsbug

Steps to reproduce

  1. Look at the following gif in your browser: https://ravenworks.ca/temp/timingtest.gif
  2. Note that "1" and "5" stay on screen for longer
  3. Drag the gif into telegram, to send it "in a quick way"
  4. Look at the animation in telegram; it will likely show the numbers "4" and "8" for longer instead! (Sometimes it displays correctly at first, until you've clicked to zoom in, and then it will be broken from then on.)

Expected behaviour

The frames that are set to display for longer should display for longer.

Actual behaviour

The frame BEFORE the frame that is meant to show for longer, shows for longer instead.

Operating system

Windows 10, 19045

Version of Telegram Desktop

5.4.1

Installation source

Static binary from official website

Crash ID

No response

Logs

No response

Source: telegramdesktop/tdesktop