diff --git a/backlogs/short_term_backlog.md b/backlogs/short_term_backlog.md index 6213166..787997d 100644 --- a/backlogs/short_term_backlog.md +++ b/backlogs/short_term_backlog.md @@ -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 @@ -188,6 +189,7 @@ Selection and pointing text detalization
on word tapping places at the end of the word
zoom-in cursor placing on long tap
Instructions.ts in AI
+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
Abandoned:
Placeholder refactor
diff --git a/docs/telegram-upstream/animated-emoji-fullscreen-blurry.png b/docs/telegram-upstream/animated-emoji-fullscreen-blurry.png new file mode 100644 index 0000000..e171b62 Binary files /dev/null and b/docs/telegram-upstream/animated-emoji-fullscreen-blurry.png differ diff --git a/docs/telegram-upstream/animated-emoji-fullscreen-quality.md b/docs/telegram-upstream/animated-emoji-fullscreen-quality.md new file mode 100644 index 0000000..aa10433 --- /dev/null +++ b/docs/telegram-upstream/animated-emoji-fullscreen-quality.md @@ -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).