ZaStoGram_desktop/Telegram/SourceFiles
Repository files (latest commit first)
Filename Latest commit message Latest commit date
loop-uh ac377b904a Stop breaking ordinary words apart in article text
Article paragraphs wrapped in the middle of words. The logs from the
previous dev build named the cause outright: the per-grapheme breaking
in Ui::Text kicks in once a word is wider than the string's minimum
resize width, and for article body text that width was 93px — while
"сожжённых" measures 98px, "стабильную" 100px and "контринтуитивное"
98px. Every word from nine letters up crossed it, so almost every line
broke mid-word. Chat text was fine because its threshold is 195px and
only long URLs reach it.

The number comes from ReadableTextMinWidth(), four line heights. Raise
it to thirteen, about 300px. The two meanings of the value stay
consistent that way: a word that would now overflow the block is still
narrower than the narrowest the block can get, so nothing sticks out.

Tables and code blocks compute their own minimums and are untouched.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-26 22:37:48 +03:00
..
_other Self-hosted auto-updates via GitHub releases 2026-07-05 13:25:13 +03:00
api Merge remote-tracking branch 'upstream/dev' into dev 2026-07-25 17:07:59 +03:00
boxes Open the language box instead of waiting for a list that never came 2026-07-26 22:05:01 +03:00
calls Merge remote-tracking branch 'upstream/dev' into dev 2026-07-25 17:07:59 +03:00
chat_helpers Merge remote-tracking branch 'upstream/dev' into dev 2026-07-25 17:07:59 +03:00
codegen/scheme Merge remote-tracking branch 'upstream/dev' into dev 2026-07-14 18:46:38 +03:00
core Merge remote-tracking branch 'upstream/dev' into dev 2026-07-25 17:07:59 +03:00
countries Restructure mtproto ownership 2026-07-08 00:07:46 +03:00
data Include the full MTP::Instance type in passkeys 2026-07-25 19:32:51 +03:00
dialogs Merge remote-tracking branch 'upstream/dev' into dev 2026-07-25 17:07:59 +03:00
editor Fix possible clamp contract violation. 2026-07-04 16:46:46 +04:00
export Merge remote-tracking branch 'upstream/dev' into dev 2026-07-14 18:46:38 +03:00
ffmpeg Merge remote-tracking branch 'upstream/dev' into dev 2026-07-25 17:07:59 +03:00
history Merge remote-tracking branch 'upstream/dev' into dev 2026-07-25 17:07:59 +03:00
info Merge remote-tracking branch 'upstream/dev' into dev 2026-07-25 17:07:59 +03:00
inline_bots Merge remote-tracking branch 'upstream/dev' into dev 2026-07-25 17:07:59 +03:00
intro Ask again for a login token nobody was going to answer 2026-07-26 22:04:54 +03:00
iv Stop breaking ordinary words apart in article text 2026-07-26 22:37:48 +03:00
lang Merge remote-tracking branch 'upstream/dev' into dev 2026-07-25 17:07:59 +03:00
layout Moved out highlight scroll logic from sections to single place. 2026-03-30 11:01:56 +03:00
main Merge remote-tracking branch 'upstream/dev' into dev 2026-07-25 17:07:59 +03:00
media Merge remote-tracking branch 'upstream/dev' into dev 2026-07-25 17:07:59 +03:00
menu Moved toggling of mute forever to separate helper. 2026-07-24 17:12:25 +03:00
mtproto Salt the logged SNI hash, because unsalted it named the domain 2026-07-26 19:15:13 +03:00
overview Moved video tile scaling off main thread in overview layout. 2026-07-15 13:11:47 +04:00
passport Restructure mtproto ownership 2026-07-08 00:07:46 +03:00
payments Restructure mtproto ownership 2026-07-08 00:07:46 +03:00
platform Merge remote-tracking branch 'upstream/dev' into dev 2026-07-25 17:07:59 +03:00
poll [poll-create] Extracted poll answer link box helper into shared module. 2026-06-09 14:28:12 +04:00
profile Removed 114 unused style entries. 2026-05-04 11:32:33 +07:00
settings Merge remote-tracking branch 'upstream/dev' into dev 2026-07-25 17:07:59 +03:00
statistics Fixed long chart filter labels in statistics. 2026-05-05 10:45:43 +04:00
storage Merge remote-tracking branch 'upstream/dev' into dev 2026-07-25 17:07:59 +03:00
support Restructure mtproto ownership 2026-07-08 00:07:46 +03:00
tde2e
tests Salt the logged SNI hash, because unsalted it named the domain 2026-07-26 19:15:13 +03:00
ui Merge remote-tracking branch 'upstream/dev' into dev 2026-07-25 17:07:59 +03:00
window Name the camouflage answer instead of blaming the digest 2026-07-26 00:15:27 +03:00
apiwrap.cpp Merge remote-tracking branch 'upstream/dev' into dev 2026-07-25 17:07:59 +03:00
apiwrap.h Merge remote-tracking branch 'upstream/dev' into dev 2026-07-14 18:46:38 +03:00
config.h Self-hosted auto-updates via GitHub releases 2026-07-05 13:25:13 +03:00
logs.cpp мне лень описывать всё изменения - ОНИ ОГРОМНЫ 2026-07-07 23:05:20 +03:00
logs.h Add mtproxy logs and proxy statuses; CI->Release 2026-06-28 15:36:15 +03:00
main.cpp
mainwidget.cpp Merge remote-tracking branch 'upstream/dev' into dev 2026-07-14 18:46:38 +03:00
mainwidget.h Restructure mtproto ownership 2026-07-08 00:07:46 +03:00
mainwindow.cpp Fixed settings opening under boxes without session. 2026-07-24 17:22:38 +03:00
mainwindow.h Fixed back from new account intro focusing wrong window. 2026-06-22 11:51:49 +03:00
settings.cpp [ai] Add -testagent for silent crashes. 2026-07-02 17:49:02 +04:00
settings.h Make -cleanup stop the running app on uninstall 2026-07-20 23:14:37 +04:00
stdafx.h Avoid full Telegram target rebuild on version change 2026-06-15 17:05:51 +04:00
tray.cpp
tray.h
tray_accounts_menu.cpp Added passcode lock check to Dock and Tray account menus. 2026-05-22 09:53:43 +03:00
tray_accounts_menu.h
tray_accounts_menu_dummy.cpp