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

Bug#803423: #803423 libqt5gui5: Ugly GUI (no icons) / Weird interpretation of XDG_CURRENT_DESKTOP and GNOME_DESKTOP_SESSION_ID



reopen 803423
tag 803423 moreinfo
thanks

On Friday 22 April 2016 19:31:34 Dmitry Smirnov wrote:
> On Friday, 22 April 2016 12:35:45 AM AEST Lisandro Damián Nicanor Pérez
> Meyer
> wrote:
> > 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.
> 
> My use case does not involve DE. At least not directly. I run applications
> on virtual X screen and export using Xpra to another machine.

Well thanks for insisting. Indeed this is a valid use case but in this point I 
want to check another thing: is this a Qt bug or a KDE one?

For what I read on the web everyone seems to complain about KDE apps in non-
Plasma desktops. What happens with pure Qt5 apps?

Maybe the real "default" should be in KDE apps.

Can you test what happens with pure Qt5 apps?
 
> > 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".
> 
> I think this is a bug and it should be forwarded. I insist that lack of
> sensible defaults is a bug if application starts crippled without certain
> environment variables set. I wonder how did they even arrive on such sick
> idea??
>
> Another problem is such defaults selected silently without any warnings
> printed to console... QT5 should really say something when expected
> essential environment variables not set...

*Maybe* the problem is KDE apps assuming something which is not always true. 
But if pure Qt 5 apps also show this behavior I'll raise the problem in 
upstream's mailing list to get it discussed first (I think filing a bug would 
simply get it closed).

So let's first try to rule out if it's a Qt or KDE assumption the one we are 
fighting now.

[snip]
> We could consider patching the problem and set up defaults according to
> relevant recommended packages (if any). I understand if you don't want to do
> that with contradiction to upstream decision in which case it should be OK
> to close this bug.

Right, we do as much as possible to avoid non upstream-ACKed patches, except 
in very precise Debian-only cases.

[snip]
> I'm already contemplating packaging "qt5ct" but I feel that would not be an
> ideal solution. According to principle of least surprise, application should
> behave predictably. Before this mis-innovation of QT5 most GUI applications
> behaved normally when started on plain X.
> Now, much like myself, one can spend hours trying to find out what's wrong
> and even bug innocent projects that inherited this misfeature from QT5... :(

Or KDE. Please check if this also applies to pure Qt5 apps (maybe using 
upstream's examples might be enough).


Kinds regards, Lisandro.

-- 
Mi experiencia me dice que lo que la gente quiere y necesita -en Indonesia, en
Turquía, en Italia, en los Estados Unidos, en Brasil, en la Argentina o donde
sea- es básicamente lo mismo. La gente quiere comida en la mesa, una vivienda
básica, un gobierno que funcione, que en las fuerzas de seguridad haya
personas confiables, a las que no tengan que tenerles miedo, educación y
salud. ¡La gente de todo el mundo quiere lo mismo!
  Padre Thomas Michel, jesuita, especialista en diálogo interreligioso,
  en una entrevista de Elisabetta Piqué para La Nación, 27/09/2006.
  http://www.lanacion.com.ar/844069

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.


Reply to: