TGViewer
Channel Public Channel
Telegram github commits and releases

Telegram github commits and releases

@tgappsupdates

Broadcast from the most important Telegram clients' repositories
Subscribers
4.52K
Photos
0
Videos
0
Links
20.7K

Showing posts older than #20497 · Back to latest

Older Posts 20 shown
Post #20496 121
UnigramDev/Unigram/crash-message-selector-null-content-root • 15b9841 • 1 files, +49/-5
Fix crash when MessageSelector loads before its content is set

MessageSelector.OnLoaded built the TextSelectionManager unconditionally:

_textSelectionManager ??= new TextSelectionManager(this, ContentTemplateRoot);

TextSelectionManager's constructor rejects a null root, so whenever a
container was connected before it had been given content, the constructor
threw ArgumentNullException out of a Loaded handler, which is unhandled and
takes the app down.

Reported by crash telemetry on 12.8.2 ("Value cannot be null. Parameter
name: root"). The reported log tails show it under heavy UI churn — chat
navigation with popups opening — which is when layout is most likely to lag
behind connection.

Attach whenever a content element is actually present instead: on load, and
again from OnContentChanged whenever the content itself changes. The control
is always handed a UIElement directly and is never initialized through a
ContentTemplate, so Content is the element to attach to and ContentTemplateRoot
was the wrong property to read in the first place.

OnContentChanged detaches first. The manager's pointer handlers live on the
previous content element, so they have to come off before attaching to the
new one, or they outlive the element they were added to and the manager keeps
reporting selection for content that is no longer displayed.

EnsureTextSelectionManager also checks IsConnected. Only OnUnloaded and
OnContentChanged detach the manager, so attaching while disconnected would
leave the pointer handlers on the content permanently and, through them, root
the control for the rest of the session.

The four selection accessors dereferenced the manager unconditionally, which
would have turned this window into a NullReferenceException instead; they are
now null-safe.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

#unigram
  • 🫡 2
Post #20495 135
UnigramDev/Unigram/crash-message-selector-null-content-root • abd63ce • 1 files, +40/-5
Fix crash when MessageSelector loads before its content is realized

MessageSelector.OnLoaded built the TextSelectionManager unconditionally:

_textSelectionManager ??= new TextSelectionManager(this, ContentTemplateRoot);

TextSelectionManager's constructor rejects a null root, so whenever a
container was connected before its ContentPresenter had realized the content,
ContentTemplateRoot was still null and the constructor threw
ArgumentNullException out of a Loaded handler, which is unhandled and takes
the app down.

Reported by crash telemetry on 12.8.2 ("Value cannot be null. Parameter
name: root"). The reported log tails show it under heavy UI churn — chat
navigation with popups opening — which is when layout is most likely to lag
behind connection.

Attach as soon as a root is actually available instead: on load when the
content is already realized, otherwise on the first arrange, by which point
the presenter has always produced one. Selection is therefore attached within
the same layout pass and nothing is lost.

The arrange path is guarded by a field null check, so once attached it costs
one comparison and never allocates.

EnsureTextSelectionManager also checks IsConnected. Only OnUnloaded detaches
the manager, so attaching while disconnected would leave the pointer handlers
on the content root permanently and, through them, root the control for the
rest of the session.

The four selection accessors dereferenced the manager unconditionally, which
would have turned this window into a NullReferenceException instead; they are
now null-safe.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

#unigram
  • 🫡 2
  • 💅 1
Post #20494 154
UnigramDev/Unigram/develop • ebe5e84 • 1 files, +16/-8
fix: Update Shortcuts.md (#3193)

* fix: Update shortcuts

- Add missing formatting options;
- Reordered shortcuts to be in the same order, as they appear in the application;
- Add consistency (spaces between keys and `+` symbols) for shortcuts;

* increase rowspan

#unigram
  • 🫡 2
Post #20492 171
telegramdesktop/tdesktop/dev • a1e89e1 • 6 files, +22/-15
Version 7.0.9.

- Add saving rich messages to HTML and importing them back.
- Add custom prompt tab to AI editing in the article editor.
- Add experimental Vulkan rendering option on Linux.
- Crash fixes.

#tdesktop
  • 🫡 3
Post #20491 166
telegramdesktop/tdesktop/dev • 90ca232 • 8 files, +304/-18
Added external task entries to downloads manager.

telegramdesktop/tdesktop/dev • 2e457a8 • 11 files, +2440/-0
Added rich message saving to HTML.

telegramdesktop/tdesktop/dev • e177d7f • 8 files, +603/-31
Added rich message import from exported HTML.

telegramdesktop/tdesktop/dev • 3a03bd7 • 1 files, +59/-28
Added regrouping of mixed media selections in rich message editor.

telegramdesktop/tdesktop/dev • 8b54d62 • 1 files, +10/-0
Added group type switch to grouped media context menu.

telegramdesktop/tdesktop/dev • 5f50566 • 3 files, +89/-0
Added ungrouping of grouped media to selection context menu.

telegramdesktop/tdesktop/dev • 580a6e5 • 1 files, +5/-1
Fixed userpic flicker in mentions autocomplete on every typed character.

telegramdesktop/tdesktop/dev • 33f38da • 2 files, +13/-2
Fixed clipped collapsed badge for large counts in emoji list widget.

telegramdesktop/tdesktop/dev • 9e2ff91 • 8 files, +173/-17
Added keep aspect ratio toggle to sticker creation editor.

telegramdesktop/tdesktop/dev • 40751b4 • 1 files, +1/-1
Fix libvpx build with nasm.

telegramdesktop/tdesktop/dev • 91303da • 6 files, +89/-44
Fix possible crash in miniapps.

telegramdesktop/tdesktop/dev • f931072 • 2 files, +3/-1
Fix build with MSVC.

telegramdesktop/tdesktop/dev • e45d60d • 6 files, +105/-30
Add some hardenings to blocking popups.

telegramdesktop/tdesktop/dev • 3ec91b5 • 2 files, +0/-14
Fix build with GCC.

#tdesktop
  • 🫡 3
Post #20490 202
New telegramdesktop/tdesktop release: v7.0.9 (stable)

- Add saving rich messages to HTML and importing them back.
- Add custom prompt tab to AI editing in the article editor.
- Add experimental Vulkan rendering option on Linux.
- Crash fixes.

#tdesktop
  • 🫡 3
Post #20488 180
telegramdesktop/tdesktop/dev • 97fe436 • 1 files, +11/-2
Preserve video progress clipping in slideshows

Task: 2026/08/04/clip-slideshow-video-progress-during-transitions

telegramdesktop/tdesktop/dev • 49d0922 • 1 files, +1/-1
[ai] Correct style built-in type documentation

Task: 2026/08/04/correct-style-builtin-type-docs

telegramdesktop/tdesktop/dev • 92877af • 1 files, +18/-10
[ai] Default test interface scale per run

Task: 2026/08/04/default-test-interface-scale-per-run

telegramdesktop/tdesktop/dev • 058b9fe • 1 files, +1/-1
Document hidden RpWidget geometry event deferral

Task: 2026/08/04/mark-hidden-widget-width-trap

telegramdesktop/tdesktop/dev • 194d4b2 • 1 files, +1/-1
Track generated and third-party header dependencies

Task: 2026/08/04/track-headers-at-three-system-include-sites

telegramdesktop/tdesktop/dev • f56f7f7 • 1 files, +9/-0
Suppress MicroTeX reorder warnings in td_iv builds

Task: 2026/08/04/track-headers-at-three-system-include-sites

telegramdesktop/tdesktop/dev • 8e921d1 • 2 files, +13/-1
Order MicroTeX suppressions after MSVC enablers

Task: 2026/08/05/order-microtex-msvc-suppressions-after-enablers

#tdesktop
  • 🫡 4
Post #20486 159
telegramdesktop/tdesktop/dev • deb3677 • 4 files, +48/-30
Extracted rich draft clearing from rich editor migration.

telegramdesktop/tdesktop/dev • 96d58e6 • 6 files, +146/-0
Added discard button to rich message draft in composer.

telegramdesktop/tdesktop/dev • 684017e • 2 files, +36/-12
Added wrapping of size limit label in export settings.

telegramdesktop/tdesktop/dev • 654b6d1 • 3 files, +19/-1
Added extra export panel height for wrapped size limit label.

telegramdesktop/tdesktop/dev • fd7052e • 1 files, +3/-1
Added layer guard for context menu in media view overlay widget.

telegramdesktop/tdesktop/dev • dbf47a6 • 2 files, +5/-0
Added context menu propagation guard to tabbed selector.

telegramdesktop/tdesktop/dev • e444d5a • 3 files, +9/-1
Added effects panel style override to send menu details.

telegramdesktop/tdesktop/dev • fb08f95 • 3 files, +4/-1
Added contextual icon for gif caption item in gifs list menu.

telegramdesktop/tdesktop/dev • 90736a7 • 5 files, +39/-13
Added contextual styles to sticker set and emoji list menus.

telegramdesktop/tdesktop/dev • deb6b61 • 4 files, +5/-2
Added contextual ripple to search shortcut packs in tabbed panel.

telegramdesktop/tdesktop/dev • 66a7790 • 3 files, +19/-6
Added contextual style to reset recents item in emoji menu.

telegramdesktop/tdesktop/dev • 5c0660e • 2 files, +4/-3
Added open sets feature guard to sticker set creator badge.

telegramdesktop/tdesktop/dev • 8f30928 • 2 files, +4/-3
Fixed voice record bar shape in stories compose controls.

#tdesktop
  • 🫡 3
Post #20485 108
telegramdesktop/tdesktop/dev • eeb3e7c • 2 files, +66/-0
Added separated toggle helper for settings buttons.

telegramdesktop/tdesktop/dev • 009ae7d • 1 files, +74/-28
Added master toggles to auto-download rows in advanced settings.

telegramdesktop/tdesktop/dev • 175b900 • 1 files, +35/-4
Fixed rounding of top corners in scrolled cocoon box.

telegramdesktop/tdesktop/dev • 6a90ccd • 2 files, +22/-5
Added community userpic to chats list top bar.

telegramdesktop/tdesktop/dev • 852d968 • 3 files, +17/-2
Decreased size in style for userpic from community top bar.

telegramdesktop/tdesktop/dev • 2002c1c • 6 files, +214/-66
Added pasting of rich HTML blocks into article editor.

telegramdesktop/tdesktop/dev • bc7b646 • 2 files, +4/-1
Added anchors and quote captions to article editor HTML import.

telegramdesktop/tdesktop/dev • d018ef9 • 3 files, +36/-39
Allowed AI creation without premium in article editor.

telegramdesktop/tdesktop/dev • 732e48a • 1 files, +8/-1
Added submit way support to prompt field in AI creation box.

telegramdesktop/tdesktop/dev • 44e2551 • 3 files, +41/-3
Added showing of error popup service notifications in article window.

telegramdesktop/tdesktop/dev • 8677d91 • 2 files, +14/-2
Added bottom outer corners painting toggle to labeled emoji tabs.

telegramdesktop/tdesktop/dev • c459690 • 2 files, +23/-8
Added single use tone api support to AI compose requests.

telegramdesktop/tdesktop/dev • 58e1eb7 • 6 files, +325/-52
Added prompt tab with custom prompt field to AI editor.

#tdesktop
  • 🫡 3
Post #20484 111
telegramdesktop/tdesktop/dev • cd43bca • 2 files, +38/-9
Fixed losing active profile tab on message edit.

telegramdesktop/tdesktop/dev • 2139ef0 • 1 files, +2/-0
Added restoring of chosen profile tab after it hides.

telegramdesktop/tdesktop/dev • d32499d • 1 files, +9/-2
Disabled unsupported formatting in poll question and answers.

telegramdesktop/tdesktop/dev • 5fe465b • 7 files, +90/-40
Fixed reverse focus order on Shift+Tab in input fields.

telegramdesktop/tdesktop/dev • 2bc48fb • 11 files, +391/-5
Added pasting of spreadsheet tables into article editor.

telegramdesktop/tdesktop/dev • 199c039 • 1 files, +1/-1
Fixed clipped caret at end of long line in input fields.

telegramdesktop/tdesktop/dev • 6af3039 • 1 files, +23/-12
Replaced pill tabs with profile tabs strip in peer color box.

telegramdesktop/tdesktop/dev • a4bca94 • 1 files, +6/-3
Fixed ripple shape of forum userpic buttons.

telegramdesktop/tdesktop/dev • c92d390 • 1 files, +6/-4
Fixed open photo action display for peers without photo.

telegramdesktop/tdesktop/dev • 5e90a11 • 3 files, +6/-5
[img-editor] Fixed userpic crop shape for communities.

telegramdesktop/tdesktop/dev • 51185c4 • 3 files, +6/-1
Added icon for remove from community button in edit peer community box.

telegramdesktop/tdesktop/dev • 2dda1fd • 1 files, +15/-0
Added arrow to linked community row in edit peer info box.

telegramdesktop/tdesktop/dev • 804d610 • 2 files, +33/-16
Added helpers for enabling and disabling auto-download by source.

#tdesktop
  • 🫡 2
  • 🤨 1
Post #20483 134
telegramdesktop/tdesktop/dev • 906f9c9 • 2 files, +7/-3
Add some more formula-gen hardening.

telegramdesktop/tdesktop/dev • c17c56a • 2 files, +48/-2
Added support of callback buttons in notifications on Linux.

telegramdesktop/tdesktop/dev • bb240d6 • 1 files, +31/-34
Added single source of boosts count in giveaway creation box.

telegramdesktop/tdesktop/dev • 1e61d7e • 2 files, +2/-2
Fixed inconsistent mouse wheel scroll step on macOS.

telegramdesktop/tdesktop/dev • b3c68dc • 2 files, +2/-1
Added experimental option for Vulkan rendering on Linux.

telegramdesktop/tdesktop/dev • ec753a3 • 2 files, +1/-0
Added swipe ungroup animation for community rows in dialogs.

telegramdesktop/tdesktop/dev • 26a6365 • 3 files, +26/-11
Fixed quick action mark as read on collapsed community rows in dialogs.

telegramdesktop/tdesktop/dev • 05edce5 • 4 files, +48/-13
Added ungroup quick action as fallback for community rows in dialogs.

telegramdesktop/tdesktop/dev • ce089ee • 1 files, +4/-1
Fixed saving notify settings of communities to server.

telegramdesktop/tdesktop/dev • abc4e36 • 4 files, +47/-5
Fixed restoring pinned community dialogs on launch.

telegramdesktop/tdesktop/dev • 8ad4407 • 3 files, +28/-0
[img-editor] Added drag threshold to item transforms.

telegramdesktop/tdesktop/dev • 7eaf253 • 1 files, +1/-1
[img-editor] Added empty stroke guard for brush items.

telegramdesktop/tdesktop/dev • 13ebd8c • 2 files, +12/-0
[img-editor] Added drag threshold to brush strokes.

#tdesktop
  • 🫡 3
Post #20479 164
telegramdesktop/tdesktop/dev • aa964e3 • 3 files, +7/-4
Allow GIFs in GroupedMedia grids.

telegramdesktop/tdesktop/dev • 7d42ef4 • 5 files, +152/-81
Allow slideshows more than 10.

telegramdesktop/tdesktop/dev • f7c00e6 • 5 files, +93/-7
Make harness synthetic input settle postponed fix-ups

Task: 2026/07/31/make-harness-input-drive-postponed-fixups

telegramdesktop/tdesktop/dev • e65ea19 • 5 files, +77/-30
Defer postponed calls during harness synthetic input

Task: 2026/07/31/make-harness-input-drive-postponed-fixups

telegramdesktop/tdesktop/dev • cbc6f8c • 10 files, +210/-13
Correct rich-message voice controls in both views

Task: 2026/07/31/correct-rich-message-voice-controls

telegramdesktop/tdesktop/dev • 52f5af1 • 2 files, +24/-9
Center scaled community hidden badge

Task: 2026/08/03/center-scaled-community-hidden-badge

telegramdesktop/tdesktop/dev • 4d85908 • 4 files, +127/-75
Group copied forum messages by topic ranges

Task: 2026/08/03/group-batch-copies-by-forum-topic

telegramdesktop/tdesktop/dev • 15e1313 • 2 files, +14/-0
Guard GIF layout against empty decoded frames

Task: 2026/08/03/guard-gif-layout-against-empty-frames

telegramdesktop/tdesktop/dev • 175f7fc • 1 files, +3/-2
Populate community hashtag search on first click

Task: 2026/08/03/populate-community-hashtag-search-on-first-click

telegramdesktop/tdesktop/dev • 4a8d7fc • 5 files, +421/-88
Make test recovery more direct

Escalate repeated setup failures through direct production seams and preserve disposable submodule probes.

telegramdesktop/tdesktop/dev • ab20eb8 • 2 files, +5/-1
Scope setup-email gate to auxiliary windows and URLs

Task: 2026/08/03/establish-setup-email-gate-window-scope

telegramdesktop/tdesktop/dev • cd8f3b8 • 5 files, +59/-19
Slide to the next unread forum topic from bottom

Task: 2026/07/29/animate-pull-to-next-forum-topic

#tdesktop
  • 🫡 3
Post #20478 186
telegramdesktop/tdesktop/dev • cea59cf • 1 files, +1/-1
Bump actions/stale from 10 to 11

Bumps [actions/stale](https://github.com/actions/stale) from 10 to 11.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v10...v11)

---
updated-dependencies:
- dependency-name: actions/stale
dependency-version: '11'
dependency-type: direct:production
update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

telegramdesktop/tdesktop/dev • dfaef0f • 1 files, +1/-1
Update User-Agent for DNS to Chrome 150.0.0.0.

telegramdesktop/tdesktop/dev • d17f5a1 • 2 files, +15/-16
Update dav1d, libavif, libde265, libheif, libjxl

and brotli, highway on Linux

#tdesktop
  • 🫡 3
Older posts →
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →