1.4.0 Linux: Wrong default (gtk) theme appearance on XFCE

Reported bugs that have been closed and/or resolved

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
User avatar
juozas
Posts: 37
Joined: Sun Sep 27, 2009 11:42 am
Location: Lithuania
Contact:

1.4.0 Linux: Wrong default (gtk) theme appearance on XFCE

Post by juozas »

XnView: MP 1.4.0 - 64 bit
OS: Ubuntu Linux 22.04 LTS - 64bit, XFCE 4.18 (packages from xubuntu-dev ppa, ppa:xubuntu-dev/staging), Greybird gtk theme

After opening XnView there's a wrong background/color on some ui elements of program. E.g. unreadable tooltips, wrong background in places, etc.

Effect: Some ui elements appears incorrect after program has been launched. Quickly changing theme and returning to previous solves the problem until restart of application. Screenshots:
Image
Image

To reproduce:
1. (optionally) set another user, log in to it
2. Start XnView while using XFCE 4.18 environment, making sure QT_QPA_PLATFORMTHEME env. variable is set to gtk2 (xubuntu has it on /etc/X11/Xsession.d/56xubuntu-session), complete initial setup if prompted, make sure theme selected during setup is default
3. Observe incorrect appearance of the program, notice appearance returns to normal after changing theme and returning to the previous one.

Actual behaviour (bug): Incorrect gtk theme appearance :bug:

Expected behaviour: Gtk theme appearing correctly, no wrong backgrounds and/or colors in places.
Last edited by juozas on Sat Jan 21, 2023 12:24 pm, edited 5 times in total.
Сделано в СССР
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.4.0 Linux: Wrong gtk theme appearance on XFCE

Post by xnview »

no such problem with previous version?
Pierre.
User avatar
juozas
Posts: 37
Joined: Sun Sep 27, 2009 11:42 am
Location: Lithuania
Contact:

Re: 1.4.0 Linux: Wrong gtk theme appearance on XFCE

Post by juozas »

Haven't noticed a problem in previous version, only recent version broke. Could reproduce on a clean user profile where the default Xubuntu theme is Greybird, display server is Xorg.
Сделано в СССР
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.4.0 Linux: Wrong gtk theme appearance on XFCE

Post by xnview »

juozas wrote: Mon Jan 02, 2023 8:39 pm Haven't noticed a problem in previous version, only recent version broke. Could reproduce on a clean user profile where the default Xubuntu theme is Greybird, display server is Xorg.
with 1.3.1 no problem?
Pierre.
User avatar
juozas
Posts: 37
Joined: Sun Sep 27, 2009 11:42 am
Location: Lithuania
Contact:

Re: 1.4.0 Linux: Wrong gtk theme appearance on XFCE

Post by juozas »

xnview wrote: Sat Jan 21, 2023 10:28 am
juozas wrote: Mon Jan 02, 2023 8:39 pm Haven't noticed a problem in previous version, only recent version broke. Could reproduce on a clean user profile where the default Xubuntu theme is Greybird, display server is Xorg.
with 1.3.1 no problem?
1.3.1 works fine, after downgrading tested in a clean user profile with no xnview config files present, can confirm 1.4.0 and newer are broken.
Сделано в СССР
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.4.0 Linux: Wrong default (gtk) theme appearance on XFCE

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.4.0 Linux: Wrong default (gtk) theme appearance on XFCE

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.4.2. Please check and confirm the bug fix here.
Pierre.
User avatar
juozas
Posts: 37
Joined: Sun Sep 27, 2009 11:42 am
Location: Lithuania
Contact:

Re: 1.4.0 Linux: Wrong default (gtk) theme appearance on XFCE

Post by juozas »

Home page still says 1.4.1, though linked deb is 1.4.2. Tested, no theming issues so far, theme appears ok upon load, tooltips readable.
Сделано в СССР
mindbound
Posts: 1
Joined: Mon Jan 30, 2023 7:19 am
Location: Latvia

Re: 1.4.0 Linux: Wrong default (gtk) theme appearance on XFCE

Post by mindbound »

Still happens on 1.4.2 on Arch Linux (xnviewmp-system-libs 1.4.2-1).
2023-01-30_09-18.png
Post Reply