Tdesktop: Fonts become monospaced when pages are opened from Telegram

Created on 21 Mar 2019  路  8Comments  路  Source: telegramdesktop/tdesktop

Steps to reproduce

  1. Open Telegram Desktop
  2. Click link

Expected behaviour

The default browser opens the page rendered correctly. (see attached screenshot below)

Actual behaviour

The default browser opens the page with monospaced fonts. (see attached screenshot below)

Configuration

Ubuntu 18.10 and 19.04 running in several different computers.
Browsers tested: Mozilla Firefox 66.0 (64 bits) and Google Chrome 73.0.3683.86 (Official Version) 64 bits.
Telegram Desktop 1.6.1.
Default theme.

Screenshots

Link opened in Telegram
Link opened in Telegram

Link opened directly
Link opened directly

bug linux

Most helpful comment

it's probably because telegram has it's own font config files and xdg stuff just passes FONTCONFIG related enviroment variables as is.

All 8 comments

OS: Ubuntu 19.04 5.0.0-13-generic #14-Ubuntu SMP Mon Apr 15 14:59:14 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Telegram Desktop: v 1.6.7 binary distribution from https://desktop.telegram.org/

Issue persists on several other apps launched from Telegram Desktop: Sublime Text, Nautilus File Manager and few more. Google Chrome even crashes if I open a link from Telegram app.

it's probably because telegram has it's own font config files and xdg stuff just passes FONTCONFIG related enviroment variables as is.

Yep, can confirm. This happens on Fedora 29 using KDE Plasma desktop as well.

I am able to reproduce this, too. I use i3 on Ubuntu.

If you already have opened the browser, a new tab is added. But if the browser isn鈥檛 opened, it opens with monospace fonts. So as long as it isn鈥檛 fixed, you can just open the browser and then click on links.

Still happens on Fedora 30 with KDE Plasma Desktop. As a bonus, Telegram takes very long to boot the first time (2-5 minutes at least, 100% CPU load on one core).

@JochemKuijpers Exactly, first boot is very long.

It鈥檚 OK though, but UX would be a lot better if it displayed something on screen.

fixed already.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  3Comments

TotalKrill picture TotalKrill  路  3Comments

ArmeF97 picture ArmeF97  路  3Comments

Yanrishatum picture Yanrishatum  路  3Comments

beppe9000 picture beppe9000  路  3Comments