adw-gtk3 icon indicating copy to clipboard operation
adw-gtk3 copied to clipboard

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

Open stpnwf opened this issue 2 years ago • 4 comments

Prerequisites

Checklist to make sure the issue is not on your end

  • [X] I have made sure that I do not have multiple versions of the theme installed. Only one version should be installed in either ~/.local/share/themes or /usr/share/themes or ~/.themes
  • [X] The file ~/.config/gtk-3.0/gtk.css does not exist. (If it does, backup and remove it.)
  • [X] I have logged out and in again.
  • [ ] Dark theme only. I have enabled adw-gtk3-dark in gnome-tweaks AND set the appearance to dark in gnome-control-center
  • [X] The flatpak theme is installed org.gtk.Gtk3theme.adw-gtk3 and org.gtk.Gtk3theme.adw-gtk3-dark
  • [ ] The app I'm having an issue with is an actual GTK3 app and is not coded using another toolkit like GTK2, GTK4, QT, etc.
  • [ ] I have created a new user profile without any modifications except adw-gtk3.

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

stpnwf avatar Feb 05 '23 20:02 stpnwf

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'

lassekongo83 avatar Feb 06 '23 07:02 lassekongo83

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

stpnwf avatar Feb 09 '23 15:02 stpnwf

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).

s1m-e0n avatar Apr 21 '23 14:04 s1m-e0n

disabling the Wayland socket

I am using x11 and this is disabled by default.

For me the problem persists

SamuelBorn avatar Apr 21 '23 17:04 SamuelBorn