[Bug 464214] New: Yast2 missing font dependency
https://bugzilla.novell.com/show_bug.cgi?id=464214
Summary: Yast2 missing font dependency
Product: openSUSE 11.1
Version: Final
Platform: Other
OS/Version: openSUSE 11.1
Status: NEW
Severity: Normal
Priority: P5 - None
Component: YaST2
AssignedTo: bnc-team-screening@forge.provo.novell.com
ReportedBy: volker3204@paradise.net.nz
QAContact: jsrain@novell.com
Found By: ---
I installed a system without desktop but with minimal X, so GUI programs can be
run, but as the system will only ever be used remotely an X server would be
pointless.
Yast2 then does not start. First xauth is missing for ssh. Then IIRC it crashes
until some missing X stuff is installed, and then it's unusable because the
header font is 10 metres wide and off the screen, and the normal text font
isn't right either.
On another system with desktop I get
# grep -i font strace-yast | grep -i open | grep -i pfb
24044 open("/usr/share/fonts/URW/n019003l.pfb", O_RDONLY) = 14
24044 open("/usr/share/fonts/URW/n019004l.pfb", O_RDONLY) = 15
24125 open("/usr/share/fonts/URW/n019003l.pfb", O_RDONLY) = 14
24125 open("/usr/share/fonts/URW/n019004l.pfb", O_RDONLY) = 14
# grep -i font strace-yast | grep -i open | grep -i ttf
23981 open("/usr/share/fonts/truetype/DejaVuSans.ttf", O_RDONLY) = 4
24044 open("/usr/share/fonts/truetype/LiberationSans-Bold.ttf", O_RDONLY) = 14
24125 open("/usr/share/fonts/truetype/LiberationSans-Bold.ttf", O_RDONLY) = 14
24125 open("/usr/share/fonts/truetype/DejaVuSans.ttf", O_RDONLY
https://bugzilla.novell.com/show_bug.cgi?id=464214
Cyril Hrubis
https://bugzilla.novell.com/show_bug.cgi?id=464214
User tgoettlicher@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=464214#c1
Thomas Göttlicher
https://bugzilla.novell.com/show_bug.cgi?id=464214
User volker3204@paradise.net.nz added comment
https://bugzilla.novell.com/show_bug.cgi?id=464214#c2
Volker Kuhlmann
https://bugzilla.novell.com/show_bug.cgi?id=464214
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=464214#c3
Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=464214
Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=464214
User volker3204@paradise.net.nz added comment
https://bugzilla.novell.com/show_bug.cgi?id=464214#c4
Volker Kuhlmann
https://bugzilla.novell.com/show_bug.cgi?id=464214
User volker3204@paradise.net.nz added comment
https://bugzilla.novell.com/show_bug.cgi?id=464214#c5
--- Comment #5 from Volker Kuhlmann
https://bugzilla.novell.com/show_bug.cgi?id=464214
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=464214#c6
--- Comment #6 from Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=464214
Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=464214
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=464214#c7
Stefan Hundhammer
From the package installation history of attachment #264846 (from comment #5) I don't see anything obviously suspicious.
Even though xorg-x11.rpm was missing, that should not be a problem AFAICS (Mike?). I am not sure why xorg-x11-fonts would change anything as long as there is no X font server running: X11 fonts are X server resources. The X server has to provide them. AFAIK, if it doesn't, then having the fonts on the machine where the X client (the application) is running won't have any effect. Unless, of course, that machine provides an X font server, and the X server gets the fonts from that server. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=464214
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=464214#c8
--- Comment #8 from Mike Fabian
From "bar" ssh to "foo" with X-forwarding, start the graphical YaST2 (Qt 3/4) there, display is on "bar".
Is this correct? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=464214
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=464214#c9
--- Comment #9 from Mike Fabian
https://bugzilla.novell.com/show_bug.cgi?id=464214
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=464214#c10
--- Comment #10 from Mike Fabian
https://bugzilla.novell.com/show_bug.cgi?id=464214
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=464214#c11
--- Comment #11 from Mike Fabian
https://bugzilla.novell.com/show_bug.cgi?id=464214
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=464214#c12
--- Comment #12 from Stefan Hundhammer
X11 fonts are X server resources. The X server has to provide them. AFAIK, if it doesn't, then having the fonts on the machine where the X client (the application) is running won't have any effect.
Disregard this. This is outdated information; Mike explained it to me. These days, modern toolkits like Qt do client-side font rendering, i.e. the fonts are loaded from the machine the X client (the application) runs on. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=464214
User volker3204@paradise.net.nz added comment
https://bugzilla.novell.com/show_bug.cgi?id=464214#c13
--- Comment #13 from Volker Kuhlmann
https://bugzilla.novell.com/show_bug.cgi?id=464214
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=464214#c14
Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=464214
Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=464214
User volker3204@paradise.net.nz added comment
https://bugzilla.novell.com/show_bug.cgi?id=464214#c15
Volker Kuhlmann
https://bugzilla.novell.com/show_bug.cgi?id=464214
User volker3204@paradise.net.nz added comment
https://bugzilla.novell.com/show_bug.cgi?id=464214#c16
--- Comment #16 from Volker Kuhlmann
https://bugzilla.novell.com/show_bug.cgi?id=464214
User volker3204@paradise.net.nz added comment
https://bugzilla.novell.com/show_bug.cgi?id=464214#c17
--- Comment #17 from Volker Kuhlmann
https://bugzilla.novell.com/show_bug.cgi?id=464214
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=464214#c18
Stefan Hundhammer
From the backtraces:
Frame 3: /usr/lib/libQtGui.so.4 QFontDatabase::load(QFontPrivate const*, int) Frame 4: /usr/lib/libQtGui.so.4 QFontPrivate::engineForScript(int) const Frame 5: /usr/lib/libQtGui.so.4 QFontMetricsF::leading() const Frame 6: /usr/lib/libQtGui.so.4 [0x41303973] Frame 7: /usr/lib/libQtGui.so.4 [0x41304031] Frame 8: /usr/lib/libQtGui.so.4 QFontMetrics::boundingRect(QRect const&, int, QString const&, int, int*) const Frame 9: /usr/lib/libQtGui.so.4 [0x4158d884] Frame 10: /usr/lib/libQtGui.so.4 QLabel::minimumSizeHint() const Frame 11: /usr/lib/libQtGui.so.4 QLabel::sizeHint() const Frame 12: /usr/lib/YaST2/plugin/libpy2qt.so.2 YQLabel::preferredHeight() Frame 13: /usr/lib/libyui.so.3 YWidget::preferredSize(YUIDimension) Frame 3: /usr/lib/libQtGui.so.4 QFontDatabase::load(QFontPrivate const*, int) Frame 4: /usr/lib/libQtGui.so.4 QFontPrivate::engineForScript(int) const Frame 5: /usr/lib/libQtGui.so.4 QFontMetricsF::leading() const Frame 6: /usr/lib/libQtGui.so.4 [0x4133a973] Frame 7: /usr/lib/libQtGui.so.4 [0x4133b031] Frame 8: /usr/lib/libQtGui.so.4 QFontMetrics::boundingRect(QRect const&, int, QString const&, int, int*) const Frame 9: /usr/lib/libQtGui.so.4 [0x415c4884] Frame 10: /usr/lib/libQtGui.so.4 QLabel::minimumSizeHint() const Frame 11: /usr/lib/libQtGui.so.4 QLabel::sizeHint() const Frame 12: /usr/lib/YaST2/plugin/libpy2qt.so.2 YQLabel::preferredHeight() Frame 13: /usr/lib/libyui.so.3 YWidget::preferredSize(YUIDimension) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=464214
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=464214#c19
Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=464214
User tgoettlicher@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=464214#c20
--- Comment #20 from Thomas Göttlicher
https://bugzilla.novell.com/show_bug.cgi?id=464214
User david.casson@ntlworld.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=464214#c21
David Casson
From a user perspective I've been able to try a few tests today that led to some more info. Don't know if it will help but it concerns the Repositories
https://bugzilla.novell.com/show_bug.cgi?id=464214
User david.casson@ntlworld.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=464214#c22
--- Comment #22 from David Casson
From a user perspective I've been able to try a few tests today that led to some more info. Don't know if it will help but it concerns the Repositories
https://bugzilla.novell.com/show_bug.cgi?id=464214
User david.casson@ntlworld.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=464214#c23
--- Comment #23 from David Casson
From a user perspective I've been able to try a few tests today that led to some more info. Don't know if it will help but it concerns the Repositories
https://bugzilla.novell.com/show_bug.cgi?id=464214
User david.casson@ntlworld.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=464214#c24
--- Comment #24 from David Casson
https://bugzilla.novell.com/show_bug.cgi?id=464214
User david.casson@ntlworld.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=464214#c25
--- Comment #25 from David Casson
https://bugzilla.novell.com/show_bug.cgi?id=464214
User teuniz@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=464214#c26
T. van Beelen
https://bugzilla.novell.com/show_bug.cgi?id=464214
User david.casson@ntlworld.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=464214#c27
--- Comment #27 from David Casson
https://bugzilla.novell.com/show_bug.cgi?id=464214
User teuniz@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=464214#c28
--- Comment #28 from T. van Beelen
https://bugzilla.novell.com/show_bug.cgi?id=464214
User david.casson@ntlworld.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=464214#c29
--- Comment #29 from David Casson
participants (1)
-
bugzilla_noreply@novell.com