Bug#803423: libqt5gui5: Ugly GUI (no icons) when using some desktop environments (such as XFCE)
Package: libqt5gui5
Version: 5.4.2+dfsg-9
Severity: normal
Dear maintainer,
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.
[1] https://wiki.archlinux.org/index.php/Qt#Native_KDE_look_for_Qt_apps_under_environments_other_than_KDE
--
Gabriel Corona
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable'), (90, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.2.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages libqt5gui5 depends on:
ii fontconfig 2.11.0-6.3
ii libc6 2.19-22
ii libdrm2 2.4.64-1
ii libegl1-mesa [libegl1-x11] 10.6.8-1
ii libfontconfig1 2.11.0-6.3
ii libfreetype6 2.6-2
ii libgbm1 10.6.8-1
ii libgl1-mesa-glx [libgl1] 10.6.8-1
ii libglib2.0-0 2.46.1-1
ii libharfbuzz0b 1.0.1-1+b1
ii libice6 2:1.0.9-1+b1
ii libjpeg62-turbo 1:1.4.1-2
ii libmtdev1 1.1.5-1
ii libpng12-0 1.2.50-2+b2
ii libqt5core5a [qtbase-abi-5-4-2] 5.4.2+dfsg-9
ii libqt5dbus5 5.4.2+dfsg-9
ii libsm6 2:1.2.2-1+b1
ii libstdc++6 5.2.1-22
ii libudev1 227-2
ii libx11-6 2:1.6.3-1
ii libx11-xcb1 2:1.6.3-1
ii libxcb-glx0 1.10-3+b1
ii libxcb-icccm4 0.4.1-1
ii libxcb-image0 0.4.0-1
ii libxcb-keysyms1 0.4.0-1
ii libxcb-randr0 1.10-3+b1
ii libxcb-render-util0 0.3.9-1
ii libxcb-render0 1.10-3+b1
ii libxcb-shape0 1.10-3+b1
ii libxcb-shm0 1.10-3+b1
ii libxcb-sync1 1.10-3+b1
ii libxcb-xfixes0 1.10-3+b1
ii libxcb-xkb1 1.10-3+b1
ii libxcb1 1.10-3+b1
ii libxi6 2:1.7.5-1
ii libxkbcommon-x11-0 0.5.0-1
ii libxkbcommon0 0.5.0-1
ii libxrender1 1:0.9.8-1+b1
ii zlib1g 1:1.2.8.dfsg-2+b1
libqt5gui5 recommends no packages.
Versions of packages libqt5gui5 suggests:
pn libqt5libqgtk2 <none>
-- no debconf information
Reply to: