lassekongo83 / adw-gtk3

The theme from libadwaita ported to GTK-3
GNU Lesser General Public License v2.1
1.48k stars 55 forks source link

Adw-gtk3 not applied to some application's titlebars under Wayland #213

Open stpnwf opened 1 year ago

stpnwf commented 1 year ago

Prerequisites

Checklist to make sure the issue is not on your end

Description

The titlebars of applications like Jellyfin-Media and Nextcloud Desktop don't pick up on the adw-gtk3 theme under Wayland, but they pick it up under Xorg. Other applications like Joplin, GIMP and Audacity all work fine on both Wayland and Xorg. All those apps have been installed via Flatpak and I have both adw-gtk and adw-gtk-dark in ~/.local/share/icons.

Screenshot from 2023-02-05 17-11-03

How can I make it so they work under Wayland as well?

OS and version [e.g Fedora 37]

Vanilla OS

Adw-gtk3 version. Also specify your installation source. [e.g tar.xz, AUR, git main branch]

4.3 - Git main branch

GNOME version

43.1

Application name and version (If the issue is with an app.)

Jellyfin and Nextcloud

lassekongo83 commented 1 year ago

I guess this is the issue: https://wiki.archlinux.org/title/Uniform_look_for_Qt_and_GTK_applications#Qt_applications_run_on_GNOME_Wayland_have_a_non-matching_window_decoration_look,_even_after_setting_a_Qt_theme

I can't do anything to fix this on my end.

It also seems that jellyfin flatpak comes with org.kde.WaylandDecoration.QGnomePlatform-decoration, so try: flatpak run com.github.iwalton3.jellyfin-media-player QT_QPA_PLATFORMTHEME='gnome'

stpnwf commented 1 year ago

Thank you, I will give it a try and update here if it works!

s1m-e0n commented 1 year ago

I too have had this problem among quite a few applications, including Jellyfin. I fixed it by disabling the Wayland socket for those applications (e.g. in Flatseal).

SamuelBorn commented 1 year ago

disabling the Wayland socket

I am using x11 and this is disabled by default.

For me the problem persists