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

Bug#803423: marked as done (libqt5gui5: Ugly GUI (no icons) when using some desktop environments (such as XFCE))



Your message dated Fri, 22 Apr 2016 00:35:45 -0300
with message-id <5281412.e2QOjUvZEQ@luna>
and subject line Re: Bug#803423: #803423 libqt5gui5: Ugly GUI (no icons) / Weird interpretation of XDG_CURRENT_DESKTOP and GNOME_DESKTOP_SESSION_ID
has caused the Debian Bug report #803423,
regarding libqt5gui5: Ugly GUI (no icons) when using some desktop environments (such as XFCE)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
803423: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803423
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
On Tuesday 19 April 2016 19:51:28 Dmitry Smirnov wrote:
> Through rather unpleasant and time consuming experience I've learned that
> QT5 applications like "kwrite" start with limited GUI without icons when
> the following environment variables are not set:
> 
> 	XDG_CURRENT_DESKTOP
> 	GNOME_DESKTOP_SESSION_ID
> 
> IMHO there should be sensible fallback defaults for GUI applications to
> function properly without depending on those environment variables.

I have seen this question asked before on Qt mailing lists' and the answer is: 
which would be a sane default on Linux? DEs need to set XDG_CURRENT_DESKTOP.

So basically this is not a bug in Qt5 "per-se", but the lack of something that 
creates a platform theme to use "by default".

Upstream said it will not provide such a thing because it's up to the DE to 
set the appropiate value. I have two choices here: close the bug or mark it as 
wontfix. As I consider upstream's choice a valid one (even if I might not 
fully agree) I'm opting to close it.

But thanks to Arch's [wiki] I've learnt about [qt5ct] "which provides a DE 
independent Qt5 QPA and a configuration utility". So basically we need someone 
to package it.

[wiki] 
<https://wiki.archlinux.org/index.php/qt#Configuration_of_Qt_apps_under_environments_other_than_KDE>
[qt5ct] <https://sourceforge.net/projects/qt5ct/>

Kinds regards, Lisandro.

-- 
Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---

Reply to: