NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.19k stars 14.2k forks source link

transmission-remote-gtk missing icons #84983

Closed Soundtoxin closed 4 years ago

Soundtoxin commented 4 years ago

Describe the bug The icons at the top part of the transmission-remote-gtk window as well as on the sidebar are nearly all generic squares. I'm just sure this is not how it's intended to look.

To Reproduce Steps to reproduce the behavior:

  1. install transmission-remote-gtk
  2. launch transmission-remote-gtk
  3. examine the interface carefully

Expected behavior Diverse and meaningful icons so that I may grok a button's function without hovering over it every time or memorizing its position.

Screenshots 2020-04-11-055639_grim 2020-04-11-055854_grim

Additional context I'm using Sway on Wayland, my GTK theme is Adwaita-dark and my icon theme is HighContrast.

Metadata

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute: transmission-remote-gtk
# a list of nixos modules affected by the problem
module:
doronbehar commented 4 years ago

I use transmission-remote-gtk and I don't have missing icons but that's because I have them installed in my system:

      gnome3.adwaita-icon-theme
      breeze-icons

There are many icon packages you can choose from and every package should be able to use icons from what the system has to offer. Could you please explain for an Xorg user what does it mean your "icon theme is HighContrast" ?

veprbl commented 4 years ago

Probably b0c2aea20b5cec3efe3441af8b26e7f2f0af76f6 is relevant. cc @worldofpeace @jtojnar

Soundtoxin commented 4 years ago

Could you please explain for an Xorg user what does it mean your "icon theme is HighContrast" ?

Nothing specific to Wayland. It's the thing displayed as my theme in neofetch, and the one I selected with lxappearance. Also the one my file manager will use.

worldofpeace commented 4 years ago

@Soundtoxin As @doronbehar mentioned, this isn't a bug, you need to have an icon theme installed. Do you have one?

Soundtoxin commented 4 years ago

@Soundtoxin As @doronbehar mentioned, this isn't a bug, you need to have an icon theme installed. Do you have one?

I'm not sure what the misunderstanding is. My icon theme is highcontrast, that is its name, I manually installed and selected it as my primary icon theme...

doronbehar commented 4 years ago

It's just that there is no "package" with the name "high contrast" that's an icon theme. nix search icon theme gives you some packages that do provide icon themes.

jtojnar commented 4 years ago

HighContrast icon theme comes from gnome3.gnome-themes-extra and it falls back to Adwaita for missing icons so you should have gnome3.adwaita-icon-theme installed as well (actually we should propagate it).

Another thing that could be possibly causing this is missing librsvg gdk-pixbuf loader but transmission-remote-gtk does contain wrapGAppsHook which ensures the loader is present.

Do you see any warnings when you run the program from console?

Soundtoxin commented 4 years ago

It's just that there is no "package" with the name "high contrast" that's an icon theme.

Yeah, my bad for saying I manually installed it. It came in from something else, but it's a common theme I've had on a lot of distros for sure.

2020-04-12-025241_grim

Do you see any warnings when you run the program from console?

Tons! I've just gone through hell trying to show you. I copied the lines from my terminal, the paste was too big for paste.debian.net. I started pasting it into emacs thinking maybe I could run "uniq" on it or something to take out duplicate lines. I got a little red watch loading symbol. I try wl-paste | less to take a look at the paste quick and then my entire machine seems to hang, mouse won't move. I gave it 3-5 minutes (confirmed by the clock in my panel no longer updating) and then had to hold in the power button. Now I've rebooted, had to rewrite a portion of this post, take the errors again (saved to a text file this time), and worse yet Firefox crashed shortly after launch (maybe worthy of another report, seems to happen on first launch after every reboot). I've also realized that the little timestamps in the errors mean uniq wouldn't help me here unless I removed them all.

I closed transmission-remote-gtk sooner after opening it since it probably spits errors out forever, so I was able to fit it on the debian paste site now it looks like. https://paste.debian.net/plainh/f5f4c223

edit: some errors came on there own, but I also made sure to hover my cursor over the buttons missing their icons which generated more specific errors I believe

Soundtoxin commented 4 years ago

you should have gnome3.adwaita-icon-theme installed as well

I've just gone and done this and it seems to both show icons now and remove the error output when launching from a terminal! I suppose then as you said this should just be handled automatically somehow.

2020-04-12-032509_grim 2020-04-12-032513_grim

Thank you for the help. I'll leave this open so the bug can be treated as these icons not being pulled in for me and then you can close it at your leisure.

minemax-ua commented 4 years ago

I have a similar issue. transmission-gtk

Package: transmission-gtk Version: 3.00-1 Priority: optional Section: net Source: transmission Maintainer: Sandro Tosi <morph@debian.org> Installed-Size: 3,683 kB Depends: transmission-common (= 3.00-1), libayatana-appindicator3-1 (>= 0.4.90), libc6 (>= 2.29), libcurl4 (>= 7.18.0), libevent-2.1-7 (>= 2.1.8-stable), libgdk-pixbuf2.0-0 (>= 2.25.2), libglib2.0-0 (>= 2.37.3), libgtk-3-0 (>= 3.21.5), libminiupnpc17 (>= 1.9.20140610), libnatpmp1 (>= 20150609), libpango-1.0-0 (>= 1.14.0), libssl1.1 (>= 1.1.0), zlib1g (>= 1:1.1.4) Recommends: xdg-utils Homepage: https://transmissionbt.com/ Tag: implemented-in::c, interface::graphical, interface::x11, network::client, protocol::bittorrent, role::program, scope::application, uitoolkit::gtk, use::downloading, x11::application Download-Size: 741 kB APT-Manual-Installed: yes APT-Sources: http://deb.debian.org/debian bullseye/main amd64 Packages Description: lightweight BitTorrent client (GTK+ interface)