Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange tabs in Yaru #1546

Closed
kcohar opened this issue Sep 26, 2019 · 16 comments
Closed

Strange tabs in Yaru #1546

kcohar opened this issue Sep 26, 2019 · 16 comments

Comments

@kcohar
Copy link

kcohar commented Sep 26, 2019

Hey guys, so first off, thank you so much for bringing back the mixed Yaru theme to eoan and providing it alongside yaru-dark and yaru-light, it's one of my favorites! That said, there's a problem with tab bars (terminal, chrome etc.). I'm not entirely sure that it is a problem though, might just be a matter of taste?

Expected Behavior

image

Actual Behavior

(What happened instead)
image

Steps to Reproduce the Problem

  1. Run the terminal and open up a new tab

Specifications

Software that presents the issue:

  • Name: Ubuntu Eoan Ermine (development branch)
  • Version: 19.10

I'm sorry I'm totally new to this and didn't know how to put it into words.

@clobrano
Copy link
Member

Hi @kcohar,

thanks for the report, it's actually pretty accurate 👍

This is an outcome of our rebase onto Adwaita trying to keep the difference at a minimum, so it is kind of expected behavior. However, I'd try to work on this because I do like the previous version more.
It won't be ready for 19.10 release unfortunately

@clobrano clobrano added this to To do in Yaru via automation Sep 26, 2019
@clobrano clobrano self-assigned this Sep 26, 2019
@Feichtmeier
Copy link
Member

Feichtmeier commented Sep 26, 2019

I know we talked about this before, but wouldn't it make more sense to default the terminal to dark in gsettings?

That's the kind of problems you get when you (you, not you... English.... Is so limited...) overwrite what's not intended to be possible :(

@clobrano
Copy link
Member

I have no strong opinion here, both options have pros and cons. Using gsetting seems easier ofc (we don't need to do anything), but we'll force dark terminal even on people that use Yaru-light for example.

@kcohar
Copy link
Author

kcohar commented Sep 26, 2019

@Feichtmeier that would fix the Terminal, but not Chrome (or any other application that decides to do this),

image

@clobrano thanks!

Great job with the themes you guys, they're good but I'm really fond of the mixed theme and I'm hoping it's not going to be ditched (it's very distinguished). As far as it not being ready in time for 19.10, oh well.

There is another problem the rebase caused actually,
https://www.reddit.com/r/gnome/comments/buj4u5/is_this_a_bug_adwaita_menu_choppier_than_yarus/

The original Yaru didn't suffer from this issue (it's an Adwaita problem - the GNOME devs probably don't pay much attention to it seeing as GNOME's focus is on Wayland).

Should I open up another github issue thread? I mean it's technically not a Yaru issue...

@clobrano
Copy link
Member

@Feichtmeier that would fix the Terminal, but not Chrome (or any other application that decides to do this),

Not sure I understood. What do you mean? (consider that Chrome is a special case in GTK stylesheet)

Honestly, I am not sure to see the difference in smoothness for that animation on my machine 🤔

@kcohar
Copy link
Author

kcohar commented Sep 26, 2019

I meant that if an application decided to behave like the terminal (although I can't think of one atm 😅 ) it would have to be defaulted to dark too - this would have to be done on a case-by-case basis.

Haha I can see the difference because I have a really old/slow computer (that's why I'm so excited about the performance enhancements in 19.10 😆 )

In fact, Yaru's so much faster it made me switch from Arch to Ubuntu, because prior to the performance enhancements, Adwaita would stutter at times (it drove me nuts).

@Feichtmeier
Copy link
Member

@Feichtmeier that would fix the Terminal, but not Chrome (or any other application that decides to do this),

image

@clobrano thanks!

Great job with the themes you guys, they're good but I'm really fond of the mixed theme and I'm hoping it's not going to be ditched (it's very distinguished). As far as it not being ready in time for 19.10, oh well.

There is another problem the rebase caused actually,
https://www.reddit.com/r/gnome/comments/buj4u5/is_this_a_bug_adwaita_menu_choppier_than_yarus/

The original Yaru didn't suffer from this issue (it's an Adwaita problem - the GNOME devs probably don't pay much attention to it seeing as GNOME's focus is on Wayland).

Should I open up another github issue thread? I mean it's technically not a Yaru issue...

Chrome tabs can't be changed from our side. It sucks up the base color of the theme and then they do their own stuff with it
But you could disable "use system borders" or whatever it's on english :) sorry for the german
grafik

@clobrano

but we'll force dark terminal even on people that use Yaru-light for example.

If the headerbar is dark and the tab is dark, what's left to be light? :) The context menu :D I mean, you need to do all the dedicated terminal styling again like in the previous yaru. I would rather ping the desktop team and ask them for the gsetting

@kcohar
Copy link
Author

kcohar commented Sep 26, 2019

Haha no worries

Chrome looking weird (both here and in Plasma) is a Chrome problem I agree. I use system borders because I find that black border that surrounds the window kinda weird. But it's really not that big an issue.

The "tab" thing does occur elsewhere, Transmission for example.

old
image
vs new
image

It's not that big an issue here though, just a matter of taste.

@memeplex
Copy link

Setting terminal theme to dark is not ideal since it turns dark not only tabs but also preferences dialog, confirm dialog, etc.

@marius311
Copy link

I see the same after an upgrade Ubuntu 19.10. Both gnome-terminal and google-chrome tabs are light, while before they used to be a much more readable and consistent dark color.

I understand that how google-chrome uses the system theme is out of the control of Yaru, but at the very least it used to give a better results (ie the tabs were dark), is it not possible to revert back to that behavior without altering other new aspects of Yaru?

@Feichtmeier
Copy link
Member

Setting terminal theme to dark is not ideal since it turns dark not only tabs but also preferences dialog, confirm dialog, etc.

I understand the problem.
On the other side we would like to keep the maintenance of the "mixed" theme, which is in fact the light theme, with a dedicated headerbar file, as small as possible.

In the old yaru theme at some point there were made so many little aesthetic additions for either some parts of the UI to match the dark headerbar in the light theme (which is still very much unsupported by gtk) but also for specific apps.

For the latter I would like to promote to stop this, because all UI elements should look the same throughout the toolkit.
For the first I would promote to stop this until there is enough "backbone" for this in GTK (at least more than 0).

So, those tabs come directly from upstream, as anything else, except colors.
I would rather close this issue - don't know what @clobrano thinks about this, though

@clobrano
Copy link
Member

I agree. The only move I can suggest is to default to dark mode for this app only, but it would be a gsetting change, and not in Yaru.

Yaru automation moved this from To do to Done Oct 21, 2019
@marius311
Copy link

Fyi I filed this with gnome-terminal: https://gitlab.gnome.org/GNOME/gnome-terminal/issues/178

For now gsettings set org.gnome.Terminal.Legacy.Settings theme-variant 'dark' is an ok workaround for me, although not ideal since it affects the dialog boxes as well, as mentioned above.

@clobrano
Copy link
Member

Fyi I filed this with gnome-terminal: https://gitlab.gnome.org/GNOME/gnome-terminal/issues/178

I don't think this will live long and please try to be more careful when interpreting our replies :|

@marius311
Copy link

Yes, sorry, I didn't mean to misrepresent what you said. In any case, so that I understand, if the solution is not in gnome-terminal and its not in Yaru, where is it supposed to go?

@clobrano
Copy link
Member

clobrano commented Oct 23, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Yaru
  
Done
Development

No branches or pull requests

5 participants