telegramdesktop/tdesktop/public-canary • 499b1bb • 2 files, +30/-6 Fixed stack overflow typing a dat

Telegram github commits and releases

Telegram github commits and releases

@tgappsupdates

Broadcast from the most important Telegram clients' repositories

4,538 subscribers
Open in Telegram
telegramdesktop/tdesktop/public-canary499b1bb2 files, +30/-6
Fixed stack overflow typing a date with an IME.

Same cycle the phone field fix closed: putNext() ends in setFocus(), and
on Windows a focus change with an open IME composition makes
QWindowsInputContext::reset() re-send the commit to the field we came
from, whose correctValue() fires putNext() again. Focus the next field
asynchronously, the way Ui::TimeInput already breaks this exact loop - a
re-entrancy flag would instead swallow a chained overflow digit, since
correctValue() can hand one straight on to the field after next.

telegramdesktop/tdesktop/public-canarye1b410e1 files, +6/-0
Fixed crash painting an info layer with no content.

parentResized() can move the content out into a MoveMemento and only
queue hideSpecialLayer(), and LayerStackWidget renders the layer
synchronously through Ui::Shadow::grab() during transitions, so
paintEvent could run in the same window showFinished() was guarded for.

telegramdesktop/tdesktop/public-canaryf827ef81 files, +7/-1
Fixed crash in the media viewer with no monitors left.

telegramdesktop/tdesktop/public-canaryf0125561 files, +11/-3
Fixed huge allocation blurring a video preview.

The frame was blurred at full resolution and only then scaled down to the
preview width, which both allocates by the source pixel count and washes
the blur out in proportion to how much is scaled away - a 4K video got a
noticeably sharper preview than a small one.

telegramdesktop/tdesktop/public-canary1a5921f1 files, +7/-1
Don't leak a background subscription per font family tap.

telegramdesktop/tdesktop/public-canary07d30961 files, +1/-1
Don't abort on E_OUTOFMEMORY building media controls.

telegramdesktop/tdesktop/public-canary7d5492e1 files, +45/-26
Fixed acting on the wrong sticker in a mixed set.

Hit testing yields an index into _elements, which skips the premium
stickers an account that cannot get premium must not see, while preview,
sending, the context menu, deletion and reordering all looked that index
up in _pack - which keeps them. With one skipped sticker before a visible
one, clicking a sticker sent a different one.

Everything driven by a visible position now reads _elements, and the
reorder translates both positions through the documents so the full pack
and the server still get the position in the whole set.

telegramdesktop/tdesktop/public-canary7caa13c1 files, +1/-1
Fixed reentrancy destroying the last menu separator.

#tdesktop
Open post in Telegram