FS#62327 - [telegram-desktop] underlined text in the chat

Attached to Project: Community Packages
Opened by Gustavo Alvarez (sl1pkn07) - Friday, 12 April 2019, 19:20 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Monday, 13 May 2019, 14:48 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Jiachen Yang (farseerfc)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

the text in the all chats is undelined

install official binary client like [aur] telegram-desktop-bin and [aur] telegram-desktop-dev-bin the undelined text is gone


[community]: https://i.ibb.co/rMLV2qT/Screenshot-20190412-211556.png
[aur]: https://i.ibb.co/JxnQRV4/Screenshot-20190412-211939.png

greetings
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Monday, 13 May 2019, 14:48 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Closing as it's got nothing to do with how we provide telegram by default. I'm not sure what the problem with the kde-unstable qt is but it's not for this issue.
Comment by Jiachen Yang (farseerfc) - Saturday, 13 April 2019, 23:32 GMT
Can you please provide the output of `fc-match -s "Open Sans"`? I am suspecting the font fallback rules for your user profile.
Comment by Gustavo Alvarez (sl1pkn07) - Saturday, 13 April 2019, 23:50 GMT
└───╼ fc-match -s "Open Sans"
OpenSans-Regular.ttf: "Open Sans" "Regular"
DejaVuSans.ttf: "DejaVu Sans" "Book"
DejaVuSans-Bold.ttf: "DejaVu Sans" "Bold"
DejaVuSans-Oblique.ttf: "DejaVu Sans" "Oblique"
DejaVuSans-BoldOblique.ttf: "DejaVu Sans" "Bold Oblique"
verdana.ttf: "Verdana" "Regular"
arial.ttf: "Arial" "Regular"
l_10646.ttf: "Lucida Sans Unicode" "Regular"
tahoma.ttf: "Tahoma" "Regular"
msgothic.ttc: "MS Gothic" "Regular"
msyh.ttc: "Microsoft YaHei" "Regular"
msjh.ttc: "Microsoft JhengHei" "Normal"
ARIALUNI.TTF: "Arial Unicode MS" "Regular"
mingliub.ttc: "MingLiU-ExtB" "Regular"
consola.ttf: "Consolas" "Regular"
micross.ttf: "Microsoft Sans Serif" "Regular"
cambria.ttc: "Cambria" "Regular"
cambria.ttc: "Cambria Math" "Regular"
mvboli.ttf: "MV Boli" "Regular"
malgun.ttf: "Malgun Gothic" "Regular"
seguisym.ttf: "Segoe UI Symbol" "Regular"
calibri.ttf: "Calibri" "Regular"
msyi.ttf: "Microsoft Yi Baiti" "Regular"
phagspa.ttf: "Microsoft PhagsPa" "Regular"
taile.ttf: "Microsoft Tai Le" "Regular"
ntailu.ttf: "Microsoft New Tai Lue" "Regular"
segoeui.ttf: "Segoe UI" "Regular"
monbaiti.ttf: "Mongolian Baiti" "Regular"
himalaya.ttf: "Microsoft Himalaya" "Regular"
simsun.ttc: "SimSun" "Regular"
ebrima.ttf: "Ebrima" "Regular"
LeelawUI.ttf: "Leelawadee UI" "Regular"
simsunb.ttf: "SimSun-ExtB" "Regular"
DejaVuSerif.ttf: "DejaVu Serif" "Book"
holomdl2.ttf: "HoloLens MDL2 Assets" "Regular"
YuGothM.ttc: "Yu Gothic UI" "Regular"
segmdl2.ttf: "Segoe MDL2 Assets" "Regular"
Nirmala.ttf: "Nirmala UI" "Regular"
mmrtext.ttf: "Myanmar Text" "Regular"
gadugi.ttf: "Gadugi" "Regular"
javatext.ttf: "Javanese Text" "Regular"
seguihis.ttf: "Segoe UI Historic" "Regular"
seguiemj.ttf: "Segoe UI Emoji" "Regular"
Ubuntu-C.ttf: "Ubuntu Condensed" "Regular"
Ubuntu-R.ttf: "Ubuntu" "Regular"
impact.ttf: "Impact" "Regular"
DejaVuSerif-Italic.ttf: "DejaVu Serif" "Italic"
ter-x28n.pcf.gz: "xos4 Terminus" "Regular"
NotoColorEmoji.ttf: "Noto Color Emoji" "Regular"
symbol.ttf: "Symbol" "Regular"
webdings.ttf: "Webdings" "Regular"
mtextra.ttf: "MT Extra" "Regular"
Comment by Sven-Hendrik Haase (Svenstaro) - Monday, 15 April 2019, 03:45 GMT
Well, I can't reproduce.
Comment by Gustavo Alvarez (sl1pkn07) - Monday, 15 April 2019, 13:52 GMT
removing ~/.local/share/TelegramDesktop and clean the fontconfig cache: same issue [1]

in log.txt

[2019.04.15 15:36:08] Launched version: 1006007, install beta: [FALSE], alpha: 0, debug mode: [FALSE], test dc: [FALSE]
[2019.04.15 15:36:08] Executable dir: /usr/bin/, name: telegram-desktop
[2019.04.15 15:36:08] Initial working dir: /etc/fonts/conf.avail/
[2019.04.15 15:36:08] Working dir: /home/sl1pkn07/.local/share/TelegramDesktop/
[2019.04.15 15:36:08] Command line: telegram-desktop
[2019.04.15 15:36:08] Executable path before check: /usr/bin/telegram-desktop
[2019.04.15 15:36:08] Logs started
[2019.04.15 15:36:08] Connecting local socket to /tmp/2de0c053765c718669683a79b4ecb2e4-{87A94AB0-E370-4cde-98D3-ACC110C5967D}...
[2019.04.15 15:36:08] This is the only instance of Telegram, starting server and app...
[2019.04.15 15:36:08] Moved logging from '/home/sl1pkn07/.local/share/TelegramDesktop/log_start0.txt' to '/home/sl1pkn07/.local/share/TelegramDesktop/log.txt'!
[2019.04.15 15:36:08] Primary screen DPI: 158.977
[2019.04.15 15:36:08] Could not load 'ayatana-appindicator3' with version 1 :(
[2019.04.15 15:36:08] Could not load 'appindicator3' with version 1 :(
[2019.04.15 15:36:08] Error: failed to load 'gdk_x11_drawable_get_xdisplay' function!
[2019.04.15 15:36:08] Getting DE, XDG_CURRENT_DESKTOP: 'KDE'
[2019.04.15 15:36:08] Getting DE, DESKTOP_SESSION: ''
[2019.04.15 15:36:08] Getting DE, KDE_SESSION_VERSION: '5'
[2019.04.15 15:36:08] DE: KDE5
[2019.04.15 15:36:08] Tray Icon: Try Qt = [TRUE], Prefer appindicator = [FALSE]
[2019.04.15 15:36:09] OpenAL Logging Level: (not set)
[2019.04.15 15:36:09] Audio Playback Devices: OpenAL Soft
[2019.04.15 15:36:09] Audio Playback Default Device: OpenAL Soft
[2019.04.15 15:36:09] Audio Capture Devices: Audio Interno Estéreo Analógico;Monitor of Audio Interno Estéreo Analógico
[2019.04.15 15:36:09] Audio Capture Default Device: Audio Interno Estéreo Analógico

my /etc/fonts/conf.avail/

└───╼ LC_ALL=C pacman -Qo /etc/fonts/conf.avail/*
/etc/fonts/conf.avail/09-texlive-fonts.conf is owned by texlive-core 2018.50036-1
/etc/fonts/conf.avail/10-autohint.conf is owned by fontconfig 2:2.13.1+12+g5f5ec56-1
/etc/fonts/conf.avail/10-hinting-full.conf is owned by fontconfig 2:2.13.1+12+g5f5ec56-1
/etc/fonts/conf.avail/10-hinting-medium.conf is owned by fontconfig 2:2.13.1+12+g5f5ec56-1
/etc/fonts/conf.avail/10-hinting-none.conf is owned by fontconfig 2:2.13.1+12+g5f5ec56-1
/etc/fonts/conf.avail/10-hinting-slight.conf is owned by fontconfig 2:2.13.1+12+g5f5ec56-1
/etc/fonts/conf.avail/10-no-sub-pixel.conf is owned by fontconfig 2:2.13.1+12+g5f5ec56-1
/etc/fonts/conf.avail/10-scale-bitmap-fonts.conf is owned by fontconfig 2:2.13.1+12+g5f5ec56-1
/etc/fonts/conf.avail/10-sub-pixel-bgr.conf is owned by fontconfig 2:2.13.1+12+g5f5ec56-1
/etc/fonts/conf.avail/10-sub-pixel-rgb.conf is owned by fontconfig 2:2.13.1+12+g5f5ec56-1
/etc/fonts/conf.avail/10-sub-pixel-vbgr.conf is owned by fontconfig 2:2.13.1+12+g5f5ec56-1
/etc/fonts/conf.avail/10-sub-pixel-vrgb.conf is owned by fontconfig 2:2.13.1+12+g5f5ec56-1
/etc/fonts/conf.avail/10-unhinted.conf is owned by fontconfig 2:2.13.1+12+g5f5ec56-1
/etc/fonts/conf.avail/11-lcdfilter-default.conf is owned by fontconfig 2:2.13.1+12+g5f5ec56-1
/etc/fonts/conf.avail/11-lcdfilter-legacy.conf is owned by fontconfig 2:2.13.1+12+g5f5ec56-1
/etc/fonts/conf.avail/11-lcdfilter-light.conf is owned by fontconfig 2:2.13.1+12+g5f5ec56-1
/etc/fonts/conf.avail/20-unhint-small-dejavu-sans.conf is owned by ttf-dejavu 2.37-2
/etc/fonts/conf.avail/20-unhint-small-dejavu-sans-mono.conf is owned by ttf-dejavu 2.37-2
/etc/fonts/conf.avail/20-unhint-small-dejavu-serif.conf is owned by ttf-dejavu 2.37-2
/etc/fonts/conf.avail/20-unhint-small-vera.conf is owned by fontconfig 2:2.13.1+12+g5f5ec56-1
/etc/fonts/conf.avail/25-unhint-nonlatin.conf is owned by fontconfig 2:2.13.1+12+g5f5ec56-1
/etc/fonts/conf.avail/30-metric-aliases.conf is owned by fontconfig 2:2.13.1+12+g5f5ec56-1
/etc/fonts/conf.avail/40-nonlatin.conf is owned by fontconfig 2:2.13.1+12+g5f5ec56-1
/etc/fonts/conf.avail/45-generic.conf is owned by fontconfig 2:2.13.1+12+g5f5ec56-1
/etc/fonts/conf.avail/45-latin.conf is owned by fontconfig 2:2.13.1+12+g5f5ec56-1
/etc/fonts/conf.avail/49-sansserif.conf is owned by fontconfig 2:2.13.1+12+g5f5ec56-1
/etc/fonts/conf.avail/50-user.conf is owned by fontconfig 2:2.13.1+12+g5f5ec56-1
/etc/fonts/conf.avail/51-local.conf is owned by fontconfig 2:2.13.1+12+g5f5ec56-1
/etc/fonts/conf.avail/57-dejavu-sans.conf is owned by ttf-dejavu 2.37-2
/etc/fonts/conf.avail/57-dejavu-sans-mono.conf is owned by ttf-dejavu 2.37-2
/etc/fonts/conf.avail/57-dejavu-serif.conf is owned by ttf-dejavu 2.37-2
/etc/fonts/conf.avail/60-generic.conf is owned by fontconfig 2:2.13.1+12+g5f5ec56-1
/etc/fonts/conf.avail/60-latin.conf is owned by fontconfig 2:2.13.1+12+g5f5ec56-1
/etc/fonts/conf.avail/65-fonts-persian.conf is owned by fontconfig 2:2.13.1+12+g5f5ec56-1
/etc/fonts/conf.avail/65-khmer.conf is owned by fontconfig 2:2.13.1+12+g5f5ec56-1
/etc/fonts/conf.avail/65-nonlatin.conf is owned by fontconfig 2:2.13.1+12+g5f5ec56-1
/etc/fonts/conf.avail/69-unifont.conf is owned by fontconfig 2:2.13.1+12+g5f5ec56-1
/etc/fonts/conf.avail/70-no-bitmaps.conf is owned by fontconfig 2:2.13.1+12+g5f5ec56-1
/etc/fonts/conf.avail/70-yes-bitmaps.conf is owned by fontconfig 2:2.13.1+12+g5f5ec56-1
/etc/fonts/conf.avail/75-yes-terminus.conf is owned by terminus-font 4.47-2
/etc/fonts/conf.avail/80-delicious.conf is owned by fontconfig 2:2.13.1+12+g5f5ec56-1
/etc/fonts/conf.avail/81-ubuntu.conf is owned by ttf-ubuntu-font-family 0.83-4
/etc/fonts/conf.avail/90-synthetic.conf is owned by fontconfig 2:2.13.1+12+g5f5ec56-1

cheksum cheker

└───╼ LC_ALL=C pacman -Qkk fontconfig texlive-core ttf-dejavu terminus-font ttf-ubuntu-font-family
fontconfig: 560 total files, 0 altered files
backup file: texlive-core: /etc/texmf/web2c/fmtutil.cnf (Modification time mismatch)
backup file: texlive-core: /etc/texmf/web2c/fmtutil.cnf (Size mismatch)
texlive-core: 26198 total files, 0 altered files
ttf-dejavu: 45 total files, 0 altered files
terminus-font: 254 total files, 0 altered files
ttf-ubuntu-font-family: 26 total files, 0 altered files

my ~/.config/fontconfig/fonts.conf

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<!-- created by lxqt-config-appearance (DO NOT EDIT!) -->
<fontconfig>
<match target="font">
<edit name="lcdfilter" mode="assign">
<const>lcddefault</const>
</edit>
</match>
<match target="font">
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
</match>
<match target="pattern">
<edit name="dpi" mode="assign">
<double>157</double>
</edit>
</match>
<dir>~/.fonts</dir>
<match target="font">
<edit name="hinting" mode="assign">
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit name="hintstyle" mode="assign">
<const>hintslight</const>
</edit>
</match>
<match target="font">
<edit name="rgba" mode="assign">
<const>rgb</const>
</edit>
</match>
<match target="font">
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
</match>
</fontconfig>

any other file i need check?

[1] https://i.ibb.co/CsBXKPm/Screenshot-20190415-155044.png

greetings
Comment by Sven-Hendrik Haase (Svenstaro) - Monday, 15 April 2019, 14:54 GMT
Do other qt applications look fine?
Comment by Gustavo Alvarez (sl1pkn07) - Monday, 15 April 2019, 15:06 GMT
any of them that I use daily

example: https://i.ibb.co/CQ662qH/Screenshot-20190415-170709.png

i have save in cache a lot of older versions of telegram-desktop. i can "bisect" which one is starting to have problems

EDIT: the older version i have is telegram-desktop-1.5.4-1-x86_64.pkg.tar.xz and have the same issue :S
Comment by Sven-Hendrik Haase (Svenstaro) - Monday, 15 April 2019, 16:00 GMT
Not sure what to do here. I have never seen this particular issue on my systems and if we don't get a good hint as to what might be causing it, I'm not sure there's merit to tracking this bug.
Comment by Gustavo Alvarez (sl1pkn07) - Monday, 15 April 2019, 16:25 GMT
Building the package in local machine(downloaded with asp, builded with makepkg), without chroot, and the issue is gone :/

the one thing i have Qt from kde-unstable (5.13.0beta1). maybe is this the culprit?

greetings
Comment by Sven-Hendrik Haase (Svenstaro) - Wednesday, 17 April 2019, 13:14 GMT
That can definitely be a cause. Please try this against stable Qt and report results.
Comment by Gustavo Alvarez (sl1pkn07) - Tuesday, 23 April 2019, 01:55 GMT
sorry the late

downgrade to extra/qt5-foo, build telegram desktop and install, update all qt5-foo again, launch telegramn, and back to have the same issue

it's definitely Qt's problem

seems needs rebuild if use Qt from [kde-unstable] repo

greetings

Loading...