[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: VLC hat in Datei-Dialogen keine oder 0-Punkt-Schrift



Am 2011-11-23 02:12, schrieb SchmiTTT:
Am 2011-11-23 01:42, schrieb Jakobus Schürz:
Am 2011-11-23 01:32, schrieb Jakobus Schürz:
Am 2011-11-22 07:38, schrieb Jakobus Schürz:
Hi Leute!

Seit der Umstellung auf Gnome 3 zeigt VLC ein seltsames Verhalten. In
allen Dialogen, wo es darum geht, eine Datei auszuwählen und zu öffnen
sehe ich zwar das Dialogfenster, sehe alle Icons, aber keine Schrift.
Auch in der Adresszeile ist keine Schrift zu sehen, wenngleich ich aber
offensichtlich etwas schreiben kann dort.

Starte ich VLC aus der Konsole dann bekomm ich dort eine verdächtige
Meldung:

So, hier die genauen Fehlermelungen

$ vlc
VLC media player 1.1.12 The Luggage (revision exported)
Warning: call to srand(-1170663685)
Warning: call to rand()
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
[0x1858120] main libvlc: VLC wird mit dem Standard-Interface
ausgeführt. Benutzen Sie 'cvlc', um VLC ohne Interface zu verwenden.
Blocked: call to setlocale(6, "")
Warning: call to srand(1321548827)
Warning: call to rand()
Blocked: call to setlocale(6, "")

(process:15120): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Blocked: call to setlocale(1, "C")
Blocked: call to setlocale(1, "de_AT.utf8")
Gtk-Message: Failed to load module "pk-gtk-module"
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0

Mich hat jetzt die "Blocked: call to setlocale..." Fehlermeldung auf
eine Idee gebracht.

Mit
export LANG=C
die locales auf C gesetzt und vlc gestartet bringt:

$ vlc
VLC media player 1.1.12 The Luggage (revision exported)
Blocked: call to setlocale(6, "")
Blocked: call to setlocale(6, "")
Blocked: call to setlocale(6, "")
Blocked: call to setlocale(6, "")
Blocked: call to setlocale(6, "")
Warning: call to srand(-79413942)
Warning: call to rand()
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
[0x2341150] main libvlc: Running vlc with the default interface. Use
'cvlc' to use vlc without interface.
Warning: call to srand(1322193007)
Warning: call to rand()

(process:14981): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Gtk-Message: Failed to load module "pk-gtk-module"
Warning: call to rand()
Warning: call to rand()
Warning: call to rand()

Keine Warnung mehr, dass QFont::Size: auf 0 und damit zu klein wäre.
Und siehe da: Im Browse-Dialog passt nun wieder die Schrift.

Ich werde mal einen Bugreport verfassen. Hat trotzdem vielleicht
jemand von euch eine Idee?

lg jakob
Frage: Da ist die Meldung zu sehen "Failed to load module
'pk-gtk-module' ".
Hast Du gtk installiert oder gtk+ ? Gnome laeuft zwar, aber gtk muss
nicht automatisch dabei sein.

Das ist ein Bug, der bekannt ist und bei Fedora auch gelöst wurde.
Ich bin dem auch nachgegangen. gedit z.B. löst den auch aus. Hab mir mit strace mal angeschaut, was da los ist und hab festgestellt, dass gedit zuerst im Home-Verzeichnis unter .gtk-3.0/module die datei libpk-gtk-module.so sucht, dann die Fehlermeldung ausspukt und dann aber unter /usr/lib/gtk-3.0/module fündig wird. VLC hab ich dahingehend noch nicht untersucht, aber das sucht die Datei vielleicht unter ~/.gtk-2.0. Denn ich hab das Verzeichnis ~/.gtk-3.0/module/ angelegt und darin dann einen link auf die Datei abgelegt, dann verschwand der Fehler bei gedit...

Witzigerweise läuft VLC unter FVWM auch mit der locale de_AT.utf8 ohne Probleme...

lg jakob


--
"Die Zuweisung erfolgt mit hoher Priorität und schläft nicht. Dies ist die Flagge, um Einsatz in Interrupt-Handler, unten Hälften und andere Situationen, in denen Sie kann nicht schlafen."
(aus http://de.how-to.mobi/index.php?id=116343)


Reply to: