Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
5 of 8 tasks
stpnwf opened this issue Feb 5, 2023 · 4 comments
Open
5 of 8 tasks

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

stpnwf opened this issue Feb 5, 2023 · 4 comments
Labels
external When it's not an issue with the theme

Comments

@stpnwf
Copy link

stpnwf commented Feb 5, 2023

Prerequisites

Checklist to make sure the issue is not on your end

  • 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
  • The file ~/.config/gtk-3.0/gtk.css does not exist. (If it does, backup and remove it.)
  • 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
  • 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

@lassekongo83
Copy link
Owner

lassekongo83 commented Feb 6, 2023

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 lassekongo83 added the external When it's not an issue with the theme label Feb 6, 2023
@stpnwf
Copy link
Author

stpnwf commented Feb 9, 2023

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

@s1m-e0n
Copy link

s1m-e0n commented Apr 21, 2023

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
Copy link
Contributor

disabling the Wayland socket

I am using x11 and this is disabled by default.

For me the problem persists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external When it's not an issue with the theme
Projects
None yet
Development

No branches or pull requests

4 participants