0.88 Linux. system theme not adhered

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

Moderator: Dreamer

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

0.88 Linux. system theme not adhered

Postby jooch » Mon Nov 06, 2017 6:13 pm

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: 28298
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.88 Linux. system theme not adhered

Postby xnview » Tue Nov 07, 2017 8:42 am

i use lastest version of QT now (Qt 5.9), so perhaps a problem here
Pierre.

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

Re: 0.88 Linux. system theme not adhered

Postby jooch » Tue Nov 07, 2017 6:34 pm

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: 4
Joined: Mon Nov 06, 2017 5:59 pm

Re: 0.88 Linux. system theme not adhered

Postby jooch » Tue Nov 07, 2017 11:09 pm

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: 28298
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.88 Linux. system theme not adhered

Postby xnview » Wed Nov 08, 2017 7:58 am

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: 3
Joined: Wed Nov 08, 2017 9:24 pm

Re: 0.88 Linux. system theme not adhered

Postby sissou » Wed Nov 08, 2017 9:30 pm

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: 28298
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.88 Linux. system theme not adhered

Postby xnview » Thu Nov 09, 2017 12:31 pm

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: 28298
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.88 Linux. system theme not adhered

Postby xnview » Fri Nov 10, 2017 8:03 am

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: 3
Joined: Wed Nov 08, 2017 9:24 pm

Re: 0.88 Linux. system theme not adhered

Postby sissou » Fri Nov 10, 2017 11:57 am

It's Arc GTK Theme, so GTK3 !
I use XFCE so I think it is GTK2 too ?

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

Re: 0.88 Linux. system theme not adhered

Postby jooch » Fri Nov 10, 2017 2:12 pm

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: 4
Joined: Wed Apr 19, 2017 11:53 am

Re: 0.88 Linux. system theme not adhered

Postby roland65 » Sat Nov 11, 2017 2:37 pm

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: 28298
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.88 Linux. system theme not adhered

Postby xnview » Mon Nov 13, 2017 7:47 pm

on your system, which version of Qt do you have?
Pierre.

sissou
Posts: 3
Joined: Wed Nov 08, 2017 9:24 pm

Re: 0.88 Linux. system theme not adhered

Postby sissou » Mon Nov 13, 2017 10:56 pm

Same with qt 5.7.1 and 5.9.2

roland65
Posts: 4
Joined: Wed Apr 19, 2017 11:53 am

Re: 0.88 Linux. system theme not adhered

Postby roland65 » Tue Nov 14, 2017 1:46 pm

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: 28298
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.88 Linux. system theme not adhered

Postby xnview » Tue Nov 14, 2017 3:51 pm

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.


Return to “New”

Who is online

Users browsing this forum: No registered users and 1 guest