Page 1 of 1

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

Posted: Sat Dec 31, 2022 6:52 pm
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.

Re: 1.4.0 Linux: Wrong gtk theme appearance on XFCE

Posted: Mon Jan 02, 2023 9:09 am
by xnview
no such problem with previous version?

Re: 1.4.0 Linux: Wrong gtk theme appearance on XFCE

Posted: Mon Jan 02, 2023 8:39 pm
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.

Re: 1.4.0 Linux: Wrong gtk theme appearance on XFCE

Posted: Sat Jan 21, 2023 10:28 am
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?

Re: 1.4.0 Linux: Wrong gtk theme appearance on XFCE

Posted: Sat Jan 21, 2023 11:32 am
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.

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

Posted: Mon Jan 23, 2023 9:58 am
by xnview
:bugconfirmed: Thanks to your detailed description I can reproduce the problem.

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

Posted: Thu Jan 26, 2023 12:03 pm
by xnview
This problem is supposed to be fixed in XnView MP 1.4.2. Please check and confirm the bug fix here.

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

Posted: Thu Jan 26, 2023 1:16 pm
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.

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

Posted: Mon Jan 30, 2023 7:20 am
by mindbound
Still happens on 1.4.2 on Arch Linux (xnviewmp-system-libs 1.4.2-1).
2023-01-30_09-18.png