After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 742040 - gnome-terminal-3.14.2 does not respect global dark theme
gnome-terminal-3.14.2 does not respect global dark theme
Status: RESOLVED DUPLICATE of bug 707206
Product: gnome-terminal
Classification: Core
Component: general
3.14.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Terminal Maintainers
GNOME Terminal Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-12-27 23:15 UTC by Henry Gebhardt
Modified: 2015-04-09 15:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Henry Gebhardt 2014-12-27 23:15:33 UTC
Hi,

I am using gnome-terminal-3.14.2 on a newly installed Arch Linux system. When selecting the "Global Dark Theme" in gnome-tweak-tool, most applications use that, but gnome-terminal does not. It remains with a white background and a light titlebar, eventhough the "Use colors from system theme" checkbox is checked in the profile preferences.

I would expect gnome-terminal to respect the global dark theme set in gnome-tweak-tool.

Thanks,
Henry
Comment 1 Rastus Vernon 2014-12-29 12:23:12 UTC
I believe you can configure gnome-terminal to use the dark theme by enabling the dark-theme setting, like this:

gsettings set org.gnome.Terminal.Legacy.Settings dark-theme true

You can also do it by clicking on a checkbox in the preferences window[1]. The help page says you have to open the profile preferences, but it was in the normal preferences window in my case.

There might be a reason I am unaware of that explains why it is this way, but if that is not the case, I naturally agree that gnome-terminal should use the dark theme if it is globally enabled, without being specifically asked to do so.

[1] https://help.gnome.org/users/gnome-terminal/stable/pref-theme.html
Comment 2 Henry Gebhardt 2014-12-29 13:31:34 UTC
(In reply to comment #1)
> ...
> You can also do it by clicking on a checkbox in the preferences window[1]. The
> help page says you have to open the profile preferences, but it was in the
> normal preferences window in my case.

Indeed, that works. And it points to a bug in the documentation. I didn't see that option, as I have the "Show menubar" option disabled.

> There might be a reason I am unaware of that explains why it is this way, but
> if that is not the case, I naturally agree that gnome-terminal should use the
> dark theme if it is globally enabled, without being specifically asked to do
> so.

Agreed.
Comment 3 Egmont Koblinger 2015-01-04 09:00:15 UTC
(In reply to comment #0)

> eventhough the "Use colors from system theme" checkbox is checked in the
> profile preferences.

That one refers to the inside area of the terminal, not the Gtk+ chrome (menu and stuff).

(In reply to comment #2)
> And it points to a bug in the documentation. I didn't see
> that option, as I have the "Show menubar" option disabled.

Sure, it's under Preferences instead of Profile preferences. Fixed.
Comment 4 Egmont Koblinger 2015-01-04 09:08:00 UTC
(In reply to comment #0)

> I would expect gnome-terminal to respect the global dark theme set in
> gnome-tweak-tool.

Gnome-terminal has its own setting instead of the global one, because some users (and the Fedora distro) chooses to make an exception from the global Gtk setting and override it to be dark. That's the reason it has a separate setting.

On the other hand, if you have the light theme everywhere and want to switch to dark globally, changing the global setting doesn't effect g-t, it stays bright. This is indeed undesired, one would expect that gnome-terminal also changes.

I can see two possible approaches to fix this situation:

1. Have a three-state setting in g-t: use the default, force light, or force dark. Not sure if transitioning from the current boolean setting would be problematic or not, but it's sure doable. The Prefs dialog would look a bit uglier.

2. Use dark theme if either the global or the g-t setting says so. This breaks symmetry between light and dark: you can have a setup where g-t is dark and everything else is light, but not the other way around. It's probably okay, since the rationale behind this checkbox is that many people prefer the traditional black background for terminals; noone's likely to go the other way around. The "Use dark theme variant" checkbox would be renamed to "Force dark theme variant".

ChPe, any preference which one to go for?
Comment 5 Debarshi Ray 2015-01-06 18:10:03 UTC
This was recently discussed in bug 707206

*** This bug has been marked as a duplicate of bug 707206 ***
Comment 6 Leonardo Ferreira Fontenelle 2015-04-09 03:02:09 UTC
Maybe this could be resolved by using the dark theme by default, like eog. There would be an option to force white, or maybe follow the global theme, but the default would be the dark theme. I never met anyone who disliked a dark terminal.

Right now I searched the Web and found a rant by Linus Torvalds (on Fedora), plus some comments in a forum (again Fedora) about fonts being too dark. This could probably be prevented by using Tango as the default color palette.

(I'm using GNOME 3.16 on Arch Linux.)
Comment 7 Egmont Koblinger 2015-04-09 08:43:54 UTC
Please see bug 721932 - that's where the main discussion happened.
Comment 8 Christian Persch 2015-04-09 15:57:36 UTC
Note that a tristate is unimplementable due to missing gtk+ API (bug 507398).