telegramdesktop / tdesktop

Telegram Desktop messaging app
https://desktop.telegram.org/
Other
25.85k stars 5.11k forks source link

Telegram doesn't catch Papirus theme monochrome icon #24584

Closed ghost closed 2 years ago

ghost commented 2 years ago

Steps to reproduce

  1. Install Papirus (dark or light) theme pack
  2. Install tdesktop
  3. Install AppIndication and KStatusNotifierIterm Gnome extention

Expected behaviour

Telegram icon in the tray should be monochrome. As such: https://user-images.githubusercontent.com/17829319/172622537-f853e8b4-f4bc-4a1f-8e37-98b65280ad51.png

Actual behaviour

The icon is still full-color. As such: https://user-images.githubusercontent.com/65567823/172621873-24f84641-147b-4c6d-a254-5309e5a9cc8c.png

Operating system

Manjaro Gnome (latest updates)

Version of Telegram Desktop

3.7.3

Installation source

Other (unofficial) source

Logs

No response

ilya-fedin commented 2 years ago

No response

This is not filled

Other (unofficial) source

Please test on official binary.

ilya-fedin commented 2 years ago
  1. Install Papyrus

Is this a typo? I was talking about Papirus, are you sure Papyrus has monochrome icon for tdesktop?

ghost commented 2 years ago

Yeah, my typo. I meant Papirus.

ghost commented 2 years ago

Tried with the Flatpak version. This worked. But can you still help me with the Manjaro package version? Or should I open a bug report on Manjaro website?

ghost commented 2 years ago

log.txt is this it? (from ~/.local/TelegramDesktop)

ilya-fedin commented 2 years ago

Maybe Manjaro uses qt5ct/qt6ct and you haven't changed its settings?

ghost commented 2 years ago

How do I change qt5ct/qt6ct settings?

ilya-fedin commented 2 years ago

Well, open the configurator and change the settings?

ghost commented 2 years ago

I checked the configurator, and the 'Icon theme' is set to Papirus-Dark, just like everything else.

ilya-fedin commented 2 years ago

echo $QT_QPA_PLATFORMTHEME

ghost commented 2 years ago

qt5ct

ilya-fedin commented 2 years ago

Well, it's weird, qt5ct shouldn't work with qt6 applications, so qt should fallback to gtk settings just like official binary, but that doesn't happen with Manjaro build for some reason...

ghost commented 2 years ago

Yeah, I tried reinstalling it, tried reinstalling Papirus, tried reinstalling AppIndicator, still the same.

ilya-fedin commented 2 years ago

There's some problem with Manjaro's Qt build apparently, it doesn't detect that you're running GNOME and doesn't think it should get theme from gtk. I suggest to just use official build.

ghost commented 2 years ago

Oh! I actually had qt6ct installed as well. I changed the icon theme there, and now it works! Thanks a bunch.