On Friday 30 October 2015 01:01:40 Gabriel Corona wrote: [snip] > When running kf5 applications under some Desktop Environments > (apparently anything but GNOME and Plasma), the GUI is quite broken: > most (but not all) of the icons are missing. > > Example of packages applications include marble, dolphin. > > The applications generate this kind of messages: > > QPixmap::scaled: Pixmap is a null pixmap > > Apparently, this is because [1]: > > Unlike Qt4, Qt5 doesn't ship a qtconfig utility to configure fonts, > > icons or styles. Instead, it will try to use the settings from the > > running DE. In KDE or GNOME this works well, but in other less > > popular DEs or WM it can lead to missing icons in Qt5 > > applications. One way to solve this is to fake the running desktop > > environment by setting XDG_CURRENT_DESKTOP=KDE or GNOME, and then > > using the corresponding configuration application to set the desired > > icon set. > > Indeed, this is solved by setting any of: > > QT_STYLE_OVERRIDE=Fusion > XDG_CURRENT_DESKTOP=KDE > XDG_CURRENT_DESKTOP=GNOME > > It'd be nice to have a "sane" behaviour by default without having to > hack some initialisation shell scripts in order to set an environment > variable.
Indeed this is like this by design. If your environment wants an specific qt5 behavior it should set the right environment variables. As far as I understand there is no way to have a default without forcing it on desktops which have this present like KDE or Gnome. I would rater think this is a wishlist bug for those other environments, but I'll leave this open to see if anyone else has other ideas. Kinds regards, Lisandro. -- No hay preguntas tontas, solo tontos que no preguntan. personaje, en un mail del LugFi. Lisandro Damián Nicanor Pérez Meyer http://perezmeyer.com.ar/ http://perezmeyer.blogspot.com/
signature.asc
Description: This is a digitally signed message part.