0.88 Linux. system theme not adhered

*** Please report new bugs here! ***

Moderators: XnTriq, helmut, xnview, Dreamer

jooch
Posts: 8
Joined: Mon Nov 06, 2017 5:59 pm

0.88 Linux. system theme not adhered

Post by jooch »

XnView: MP 0.88 / 64 bit
OS: Manjaro Linux 64bit

After upgrading to version 0.88 (needed to fix fontconfig issue) the system theme is not applied to XnView. All other QT apps work fine with the system theme. Qt5ct is set up.

Effect: Xnview will only apply Qt's default theme.

To reproduce:
1. Install version 0.88
2. Start XnView

Actual behaviour (bug): Fails to apply system theme :bug:
User avatar
xnview
Author of XnView
Posts: 43328
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.88 Linux. system theme not adhered

Post by xnview »

i use lastest version of QT now (Qt 5.9), so perhaps a problem here
Pierre.
jooch
Posts: 8
Joined: Mon Nov 06, 2017 5:59 pm

Re: 0.88 Linux. system theme not adhered

Post by jooch »

I have qt 5.9.2 installed, so your version is older? I might have a system that was not updated recently, i'll test tomorrow.
jooch
Posts: 8
Joined: Mon Nov 06, 2017 5:59 pm

Re: 0.88 Linux. system theme not adhered

Post by jooch »

I found a laptop which still used qt 5.9.0, it also has the same problem with the XnViewmp 0.88, but not with 0.87.
QT 5.9.1 was known to have problems with theming from what i could find on the Manjaro forums, but that was back in July this year and solved with 5.9.2.
User avatar
xnview
Author of XnView
Posts: 43328
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.88 Linux. system theme not adhered

Post by xnview »

jooch wrote:I found a laptop which still used qt 5.9.0, it also has the same problem with the XnViewmp 0.88, but not with 0.87.
QT 5.9.1 was known to have problems with theming from what i could find on the Manjaro forums, but that was back in July this year and solved with 5.9.2.
strange i use 5.9.2
Pierre.
sissou
Posts: 20
Joined: Wed Nov 08, 2017 9:24 pm

Re: 0.88 Linux. system theme not adhered

Post by sissou »

Same on my debian system, qt 5.9.2 : XNView will only apply Qt's default theme.
Theme was fine with XNView 0.87.
User avatar
xnview
Author of XnView
Posts: 43328
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.88 Linux. system theme not adhered

Post by xnview »

sissou wrote:Same on my debian system, qt 5.9.2 : XNView will only apply Qt's default theme.
Theme was fine with XNView 0.87.
i ask QT team
Pierre.
User avatar
xnview
Author of XnView
Posts: 43328
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.88 Linux. system theme not adhered

Post by xnview »

sissou wrote:Same on my debian system, qt 5.9.2 : XNView will only apply Qt's default theme.
Theme was fine with XNView 0.87.
is it GTK2, GTK3, KDE theme?
Pierre.
sissou
Posts: 20
Joined: Wed Nov 08, 2017 9:24 pm

Re: 0.88 Linux. system theme not adhered

Post by sissou »

It's Arc GTK Theme, so GTK3 !
I use XFCE so I think it is GTK2 too ?
jooch
Posts: 8
Joined: Mon Nov 06, 2017 5:59 pm

Re: 0.88 Linux. system theme not adhered

Post by jooch »

xnview wrote:
sissou wrote:Same on my debian system, qt 5.9.2 : XNView will only apply Qt's default theme.
Theme was fine with XNView 0.87.
is it GTK2, GTK3, KDE theme?
Tested on XFCE system and Openbox, both configured for GTK2 and GTK3.
However, as far as i know QT5ct can only handle GTK2 themes.
roland65
Posts: 38
Joined: Wed Apr 19, 2017 11:53 am

Re: 0.88 Linux. system theme not adhered

Post by roland65 »

I tested on the latest Ubuntu 17.10. There, I used the adwaita-qt package to match the adwaita gtk3 theme (I think there is no other way to match gtk3 themes). This worked with VirtualBox (that also uses Qt 5.9.2) but not with XnView MP 0.88, where the default Qt theme is always used.
User avatar
xnview
Author of XnView
Posts: 43328
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.88 Linux. system theme not adhered

Post by xnview »

on your system, which version of Qt do you have?
Pierre.
sissou
Posts: 20
Joined: Wed Nov 08, 2017 9:24 pm

Re: 0.88 Linux. system theme not adhered

Post by sissou »

Same with qt 5.7.1 and 5.9.2
roland65
Posts: 38
Joined: Wed Apr 19, 2017 11:53 am

Re: 0.88 Linux. system theme not adhered

Post by roland65 »

xnview wrote:on your system, which version of Qt do you have?
This is Qt 5.9.1.
User avatar
xnview
Author of XnView
Posts: 43328
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.88 Linux. system theme not adhered

Post by xnview »

roland65 wrote:
xnview wrote:on your system, which version of Qt do you have?
This is Qt 5.9.1.
and if you try XnView not xnview.sh to use system libraries?
Pierre.
Post Reply