dino icon indicating copy to clipboard operation
dino copied to clipboard

Dark color scheme not supported if Adwaita:dark is set

Open ekaitz-zarraga opened this issue 3 years ago • 15 comments

Hi, I'm getting this error using dino. Other apps are using the dark theme with no issues.

(dino:3328): Adwaita-WARNING **: 18:07:05.799: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.

If I export GTK_THEME=Adwaita:dark and then run dino it does use the dark color scheme.

ekaitz-zarraga avatar Apr 01 '23 16:04 ekaitz-zarraga

https://github.com/dino/dino/wiki/Frequently-asked-questions-(FAQ)#how-to-set-a-dark-theme

licaon-kter avatar Apr 01 '23 18:04 licaon-kter

@licaon-kter thanks for the answer but that doesn't work. That's why I'm opening the issue here :smile:

ekaitz-zarraga avatar Apr 01 '23 20:04 ekaitz-zarraga

Right, so the last solution is to set GTK_THEME as you said.

Which Dino version?

Which OS?

Which WM/DE?

licaon-kter avatar Apr 01 '23 20:04 licaon-kter

  • Dino 0.4.2
  • Guix System (Linux)
  • WM/DE: tested in:
    • i3 window manager
    • GNOME

ekaitz-zarraga avatar Apr 01 '23 20:04 ekaitz-zarraga

I'm not sure if this might somehow be related to Steam Deck not being able to Dark-theme Dino in gamescope mode. Desktop mode is fine. Flatpak.

OdinVex avatar Jul 28 '23 00:07 OdinVex

Since a couple of days dino have stopped respecting the setting gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark' for me. I'm running version 0.4.3 - Ilulissat on arch with sway as my window manager.

Here is the exact pacman information:

[capitol@batia ripasso]$ LANG=C pacman -Q --info dino
Name            : dino
Version         : 0.4.3-2
Description     : Modern XMPP (Jabber) chat client written in Vala
Architecture    : x86_64
URL             : https://dino.im
Licenses        : GPL3
Groups          : None
Provides        : None
Depends On      : glib2  glib-networking  gtk4  libadwaita  gpgme  libgee  libgcrypt  libsignal-protocol-c  libsoup  sqlite  qrencode  gspell  libnice  gstreamer  gst-plugin-gtk
                  gst-plugins-base  gst-plugins-good  libsrtp  webrtc-audio-processing
Optional Deps   : None
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 6.75 MiB
Packager        : Robin Candau <[email protected]>
Build Date      : Fri Sep 22 17:53:16 2023
Install Date    : Fri Oct 6 17:44:47 2023
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

alexanderkjall avatar Oct 14 '23 19:10 alexanderkjall

Something changed again, new fix is to export GTK_THEME=Adwaita:dark

licaon-kter avatar Oct 14 '23 21:10 licaon-kter

Since a couple of days dino have stopped respecting the setting gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark' for me. I'm running version 0.4.3 - Ilulissat on arch with sway as my window manager.

Same here. Arch with sway as wm and dino doesn't respect gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'. Every other app I'm using does respect it.

Running GTK_THEME=Adwaita:dark dino does run dino in dark mode. Nice workaround, but would be good to have dino just respect the org.gnome.desktop.interface settings.

ismay avatar Nov 04 '23 16:11 ismay

@ismay it's not Dino that is not respecting it, but GTK

licaon-kter avatar Nov 04 '23 19:11 licaon-kter

@ismay it's not Dino that is not respecting it, but GTK

I see. None of my other GTK apps have this problem though. Are you sure it's not something on Dino's end?

ismay avatar Nov 05 '23 09:11 ismay

@ismay it's not Dino that is not respecting it, but GTK

I see. None of my other GTK apps have this problem though. Are you sure it's not something on Dino's end?

Same. (Edit: I'm on KDE, I use Dino as a poor man's alternative to another XMPP client while testing video-chat and such.)

OdinVex avatar Nov 05 '23 15:11 OdinVex