protonscr

Steam client opening links in Google Chrome causes Chrome's UI fonts to break.

steamclosed High priorityreviewedSteam client
ValveSoftware/steam-for-linux#1141 · opened 2013-02-01 by DerRidda · updated 2013-02-06 · 11 comments · github
DDerRidda 2013-02-01 github

googlechromeuifonts_cut

Well, this one is akward: The current combination of Steam (Built Jan 30 2013, at 13.02:19) and Chrome ( Version 25.0.1364.58 beta from the official Google Debian/Ubuntu repositories) causes me some trouble. Whenever the Steam client opens a link ( like the link to the old forums on top of the discussions page) in a fresh instance of Chrome the abomination shown in the picture above happens. Opening a link on an already running instance, thus creating a new tab, is totally fine and if i change my default browser to Firefox it works as it should in both cases.
Having other programs open Chrome such as Empathy and Thunderbird works so I really can't say if Steam or Chrome is at fault.
It seems this misbehavior coincides with the Chrome beta having received an update earlier this Thursday ( UTC+1), though.

I will try wiping Chrome's cache now and see if that does anything.

EDIT: Wiping cache and deleting the profile does nothing, in fact I just noticed that this behavior also corrupts Chrome's current user profile every time!

EDIT2: Profile corruption was unrelated to this issue and thus has been removed from the title.

Sys Info:

Processor Information:
Vendor: AuthenticAMD
Speed: 3000 Mhz
4 logical processors
4 physical processors
HyperThreading: Unsupported
FCMOV: Supported
SSE2: Supported
SSE3: Supported
SSSE3: Supported
SSE4a: Supported
SSE41: Unsupported
SSE42: Unsupported

Network Information:
Network Speed:

Operating System Version:
Ubuntu 12.10 (64 bit)
Kernel Name: Linux
Kernel Version: 3.5.0-23-generic
X Server vendor: The X.Org Foundation
X Server release: 11300000

Video Card:
Driver: NVIDIA Corporation GeForce GTX 650 Ti/PCIe/SSE2

Driver Version:  4.3.0 NVIDIA 313.18
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 60 Hz
VendorID:  0x10de
DeviceID:  0x11c6
Number of Monitors:  1
Number of Logical Video Cards:  1
Primary Display Resolution:  1920 x 1080
Desktop Resolution: 1920 x 1080
Primary Display Size: 20,91" x 11,77"  (23,98" diag)
                                        53,1cm x 29,9cm  (60,9cm diag)
Primary Bus: PCI Express 16x
Primary VRAM: 1024 MB
Supported MSAA Modes:  2x 4x 8x 16x 

Sound card:
Audio device: Realtek ALC888

Memory:
RAM: 6978 Mb

Miscellaneous:
UI Language: English
LANG: de_DE.UTF-8
Microphone: Not set
Total Hard Disk Space Available: 196860 Mb
Largest Free Hard Disk Block: 63595 Mb

Installed software:

Recent Failure Reports:

MMrSchism 2013-02-01 github

I'll test this. I've done it before, but didn't have it happen.... then again, I was using Chromium, not Chrome.

Makes me lean slightly more towards it being Chrome, but definitely an issue.

Dduvholt 2013-02-01 github

Found the cause of the bug.
Steam is using it's own environment variables when launching Chrome which includes Pango.
More specifically this env:

PANGO_LIBDIR=/home/christian/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu

This can be tested easily by adding the env to a terminal and then launching chrome.

export PANGO_LIBDIR=/home/christian/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu
/usr/bin/google-chrome
Ttimjp87 2013-02-02 github

Can confirm using Chromium on Arch Linux.
http://imgur.com/G34tezv

When Chrome is already open it just opens it as a new tab.

?ghost 2013-02-02 github

Confirmed, same thing happens under Ubuntu 12.10 Gnome Remix with Chrome 24. Tho it's fine when Chrome is already open.

DDerRidda 2013-02-03 github

Can you confirm profile corruption in all or even some cases? It seems like I'm not getting any more profile corruption with this issue (Might have been caused by something else) but the core issue with the fonts still exists.

?ghost 2013-02-03 github

No profile corruption. Anyway profile bug in Chrome under Linux is known for few years now and is not Steam related.

Sslouken 2013-02-04 github

Okay, so I think I have a fix for this issue.
http://www.libsdl.org/tmp/steam-runtime-update-2.sh
http://www.libsdl.org/tmp/steam-runtime-update-2.tar.gz

Please let me know if this fixes the problem.

Thanks!

Ttimjp87 2013-02-04 github

@slouken It fixed it for me. Arch Linux x86_64 with Gnome 3.

You're awesome. :)

Sslouken 2013-02-04 github

Great, thanks!

Sswordfischer 2013-02-04 github

@slouken I tried both your steam-runtime updates, while fixing the tray icon, spawning a PCManFM (or probably other GTK Filemanager) through "Browse Local Files" temporarily breaks fonts in the filemanager
screenshot

Terminal output

START /usr/bin/pcmanfm "/home/swordfischer/.Steam/SteamApps/common/Galcon Fusion"
Generating new string page texture 153: 256x256, total string texture memory is 3.78 MB
START /usr/bin/pcmanfm "/home/swordfischer/.Steam/SteamApps/common/Galcon Fusion"

(pcmanfm:5399): Gtk-WARNING **: /home/swordfischer/.Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/gtk-2.0/2.10.0/engines/libpixmap.so: wrong ELF class: ELFCLASS32

(pcmanfm:5399): Gtk-WARNING **: /home/swordfischer/.Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/gtk-2.0/2.10.0/engines/libpixmap.so: wrong ELF class: ELFCLASS32

(pcmanfm:5399): Gtk-WARNING **: /home/swordfischer/.Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/gtk-2.0/2.10.0/engines/libpixmap.so: wrong ELF class: ELFCLASS32

(pcmanfm:5399): Gtk-WARNING **: /home/swordfischer/.Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/gtk-2.0/2.10.0/engines/libpixmap.so: wrong ELF class: ELFCLASS32

(pcmanfm:5399): Pango-WARNING **: /home/swordfischer/.Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS32

(pcmanfm:5399): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='common'

(pcmanfm:5399): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='latin'

(pcmanfm:5399): Gtk-CRITICAL **: IA__gtk_window_present_with_time: assertion `GTK_IS_WINDOW (window)' failed

Fonts

swordfischer@HELLRAiSER ~ $ fc-list  : family
Clean
Linux Biolinum Shadow
BN Internet
Century Schoolbook L
Serto Jerusalem Outline
Helvetica
Estrangelo Edessa
ProggySmall.pcf
Source Sans Pro,Source Sans Pro Light
Andale Mono
Trebuchet MS
Cubic
LucidaBright
Droid Sans Mono
Estrangelo Quenneshrin
Luxi Sans
ProggyTiny.pcf
Webdings
Anonymous Pro
Source Code Pro,Source Code Pro Light
Serto Mardin
Droid Sans Thai
DejaVu Sans Mono
Arial Black
Lucida
Luxi Mono
Estrangelo Talada
Droid Sans Mono Dotted
Estrangelo TurAbdin
IPAMincho,IPA明朝
Verdana
AR PL UKai TW MBE
URW Palladio L
Linux Libertine Initials
ProggyCleanSZ.pcf
Aerial
Estrangelo Nisibin Outline
Bitstream Vera Sans
Charter
micro.pcf
ProggyTinySZ
Bitstream Cyberbit
Terminal
Bitstream Vera Sans Mono
URW Gothic L
Source Code Pro,Source Code Pro ExtraLight
Dingbats
URW Chancery L
Times New Roman
IPAMonaUIGothic,IPA モナー UIゴシック
Estrangelo Nisibin
LucidaTypewriter
Bitstream Vera Serif
Terminus
sans,Aerial
East Syriac Ctesiphon
ProggyCleanCP.pcf
DejaVu Sans,DejaVu Sans Light
WenQuanYi Micro Hei Mono,文泉驛等寬微米黑,文泉驿等宽微米黑
IPAMonaPMincho,IPA モナー P明朝
ClearlyU PUA
ProggyTinySZ.pcf
Source Code Pro,Source Code Pro Medium
metroicons8\-3
DejaVu Sans
IPAGothic,IPAゴシック
DejaVu Serif,DejaVu Serif Condensed
Times
IPAMonaMincho,IPA モナー 明朝
ProggySquare.pcf
IPAPMincho,IPA P明朝
Utopia
Tymes
Fontin SmallCaps
Fontin
Linux Libertine Display Capitals
Source Code Pro
Linux Biolinum Capitals
ClearlyU
Bitstream Charter
ProggyClean.pcf
Ahem
AR PL UKai TW
Comic Sans MS
DejaVu Sans,DejaVu Sans Condensed
Linux Libertine Slanted
deccurs.pcf
Courier 10 Pitch
Droid Sans Japanese
AR PL UKai HK
Liberation Mono
WenQuanYi Zen Hei Mono,文泉驛等寬正黑,文泉驿等宽正黑
AR PL UKai CN
Nimbus Sans L
AR PL UMing TW MBE
Goca logotype beta
X360 by Redge
WenQuanYi Micro Hei,文泉驛微米黑,文泉驿微米黑
Serto Urhoy
ProggyCleanSZBP.pcf
Droid Serif
AR PL UMing HK
ProggyCleanSZCP.pcf
AR PL UMing CN
Droid Sans Arabic
Droid Sans Hebrew
Droid Sans Fallback
Linux Libertine Display Slanted
AR PL UMing TW
Source Sans Pro,Source Sans Pro ExtraLight
Standard Symbols L
decsess.pcf
Nimbus Mono L
Courier
Liberation Serif
Linux Biolinum
IPAMonaPGothic,IPA モナー Pゴシック
Source Sans Pro
ClearlyU Alternate Glyphs
AR PL SungtiL GB,文鼎PL简报宋
Aerial Mono
Luxi Serif
Source Sans Pro,Source Sans Pro Black
IPAPGothic,IPA Pゴシック
AR PL KaitiM Big5,文鼎PL中楷
Nimbus Roman No9 L
Estrangelo Antioch
AR PL KaitiM GB,文鼎PL简中楷
Liberation Sans
Monaco
Source Sans Pro,Source Sans Pro Semibold
AR PL Mingti2L Big5,文鼎PL細上海宋
WenQuanYi Zen Hei,文泉驛正黑,文泉驿正黑
Fixed
IPAMonaGothic,IPA モナー ゴシック
Georgia
Clockopia
Droid Sans Mono Slashed
Linux Biolinum Outline
Source Code Pro,Source Code Pro Black
cursor.pcf
Veranda
Inconsolata
Linux Libertine
East Syriac Adiabene
Serto Malankara
Source Code Pro,Source Code Pro Semibold
Arial
ProggySquareSZ.pcf
Linux Biolinum Keyboard
Serto Jerusalem
Courier New
Cursor
Serto Batnan
Linux Libertine Capitals
DejaVu Serif
Newspaper
Simple tfb
Neuropolitical
Linux Libertine Display
New Century Schoolbook
Goha\-Tibeb Zemen
Estrangelo Midyat
Impact
Serto Kharput
URW Bookman L
Secret Code,New
Linux Biolinum Slanted
Droid Sans
Sslouken 2013-02-04 github

@swordfischer, okay, the font issue should be fixed in the next update. Thanks!

Nothing extracted yet.