Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions backlogs/short_term_backlog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Fullsize avatar and gradient positions...
Main screen scrolling on mobile
Swiping down stick "Feed..." header
Coins in the coins section including those from TON Connect
Expand Down Expand Up @@ -188,6 +189,7 @@ Selection and pointing text detalization<br>
on word tapping places at the end of the word<br>
zoom-in cursor placing on long tap<br>
Instructions.ts in AI<br>
Upstream Telegram: fullscreen animated/custom emoji opens blurry (low-res thumbnail upscaled) — track in docs/telegram-upstream/ + GitHub issues on Desktop/iOS/Web; Android GitHub issues disabled<br>

Abandoned:<br>
Placeholder refactor<br>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
50 changes: 50 additions & 0 deletions docs/telegram-upstream/animated-emoji-fullscreen-quality.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Telegram: fullscreen / enlarged animated emoji is blurry

## Summary

When opening a Telegram **animated / custom emoji** in the full-size media viewer, Telegram often shows a **low-resolution raster thumbnail** scaled up. The result looks blurry and pixelated, even though the emoji itself is vector/Lottie (`.tgs`) or has a higher-quality asset available.

This is a **Telegram client UX/rendering issue**, not a Hyperlinks Space Program bug. We are tracking it here and reporting it upstream for every official open-source client that accepts GitHub issues.

## Expected

Opening an animated/custom emoji full-size should either:

1. Play the **full Lottie / `.tgs` animation** at a crisp large size, or
2. Show a **high-resolution still** (or retina-scale preview) instead of upscaling the small inline thumbnail.

## Actual

The media viewer enlarges the **small inline preview** (often ~100×100 or similar). Edges become jagged and the image looks soft/blurry.

## Evidence

![Blurry fullscreen animated emoji in Telegram media viewer](./animated-emoji-fullscreen-blurry.png)

Observed on Telegram Desktop (Windows): media viewer titled like a photo (“Photo 1 of 3”), showing a custom emoji pack asset at full size with visible pixelation.

## Platforms

| Platform | Upstream issue | Notes |
|----------|----------------|-------|
| Desktop (Windows / Linux / macOS) | [tdesktop#31158](https://github.com/telegramdesktop/tdesktop/issues/31158) | Primary repro in screenshot |
| iOS | [Telegram-iOS#2296](https://github.com/TelegramMessenger/Telegram-iOS/issues/2296) | Related: large emoji Retina blur ([#2292](https://github.com/TelegramMessenger/Telegram-iOS/issues/2292)) |
| Android | — | [DrKLO/Telegram](https://github.com/DrKLO/Telegram) has **GitHub Issues disabled** — report via in-app / Telegram support |
| Telegram Web K | [telegram-tt#538](https://github.com/Ajaxy/telegram-tt/issues/538) | Same media-viewer thumbnail-upscale report |
| Telegram Web A | [tweb#701](https://github.com/morethanwords/tweb/issues/701) | Same media-viewer thumbnail-upscale report |

Hyperlinks Space tracking: [#92](https://github.com/HyperlinksSpace/HyperlinksSpaceProgram/issues/92)

## Suggested fix (for client engineers)

When the user opens an animated/custom emoji in the media viewer:

- Prefer the **document / Lottie animation** (or largest available preview) over the **inline emoji cache thumbnail**.
- On HiDPI screens, request / paint **2× (or devicePixelRatio) sized** previews so upscaling is not required.
- Do not treat custom emoji open-in-viewer as a generic photo open that sticks to the smallest cached bitmap.

## Hyperlinks Space

Filed from [HyperlinksSpace](https://github.com/HyperlinksSpace) / [HyperlinksSpaceProgram](https://github.com/HyperlinksSpace/HyperlinksSpaceProgram) so our Telegram messaging UX work can link official client bugs.

Client forks (for future fix PRs): [`tdesktop`](https://github.com/HyperlinksSpace/tdesktop), [`Telegram-iOS-1`](https://github.com/HyperlinksSpace/Telegram-iOS-1), [`telegram-tt`](https://github.com/HyperlinksSpace/telegram-tt), [`tweb`](https://github.com/HyperlinksSpace/tweb).
Loading