NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.01k stars 13.36k forks source link

Black titlebars on all GTK3 applications #137077

Open cawilliamson opened 2 years ago

cawilliamson commented 2 years ago

Describe the bug

I've just performed a clean reinstall of NixOS and am using Plasma5 (KDE.) This used to pull in the necessary changes to make GTK3 (I believe) applications like Lutris, Tilix, etc all "fit in" with the Plasma5 theme. However, right now - all of the titlebars are jet black which isn't ideal at all.

I have managed to workaround this by installing this theme https://store.kde.org/p/1197982 in the System Settings => Application Style => GNOME/GTK Application Style. Doesn't quite match the system but no more black bars. This does appear to show that the issue appears to be with the theme or the way it's being applied from NixOS's side though since a manually installed theme works proprly.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Install plasma5
  2. Install tilix
  3. Check titlebar of application - in my case it's completely black (which is a problem particularly because the icons are also black until hovered.)

Expected behavior

The Plasma5 Breeze GTK theme (which is selected in preferences) should be followed and this should not result in black titlebars.

Notify maintainers

@ttuegel @nyanloutre

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

# nix-shell -p nix-info --run "nix-info -m"
this path will be fetched (0.05 MiB download, 0.28 MiB unpacked):
  /nix/store/xq77wmzk8d306anyk9rsvl4i4h7ihchw-bash-interactive-4.4-p23-dev
copying path '/nix/store/xq77wmzk8d306anyk9rsvl4i4h7ihchw-bash-interactive-4.4-p23-dev' from 'https://cache.nixos.org'...
 - system: `"x86_64-linux"`
 - host os: `Linux 5.13.9-lqx1, NixOS, 21.11 (Porcupine)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.4pre20210802_47e96bb`
 - channels(root): `"nixos-21.11pre313120.23d5823337f, nixos-small-21.11pre313235.330aeaff794"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
stale[bot] commented 2 years ago

I marked this as stale due to inactivity. → More info

patka-123 commented 9 months ago

Hello @cawilliamson :wave:

Is this still a problem you are experiencing? If this issue has been resolved by now, would you be able to close this issue?

(I'm going through issues marked as stale to see what can be resolved. If this is still an issue then don't mind me).