lanoxx / tilda

A Gtk based drop down terminal for Linux and Unix
GNU General Public License v2.0
1.28k stars 161 forks source link

Tilda tabs are is transparent in Ubuntu 16.04 #257

Open Defcon0 opened 8 years ago

Defcon0 commented 8 years ago

Hello,

in Ubuntu 16.04, the tab bar is transparent and I cannot remove that. Is it a bug?

tilda

Bye Defcon0

joshbenner commented 8 years ago

IMO, it's a bug. I've worked around it by setting a stylesheet as demonstrated in the wiki.

moisadoru commented 8 years ago

In Ubuntu 16.10 (tilda 1.3.1), the stylesheet workaround no longer works.

moisadoru commented 8 years ago

I managed to make the custom stylesheet work by using other css selectors than the ones in the wiki:

notebook > header {
  background-color: rgba(51,51,51,.9);
  border: none;
}

notebook > header > tabs > tab {
  background-color: rgba(80,80,80,.9);
  border-radius: 0;
  color: #ccc;
  border: 0;
  margin: 0 1px;
  border-width: 0 1px;
  min-width: 100px;
  box-shadow: none;
}

notebook > header > tabs > tab:checked {
  background: rgba(0,0,0,.8);
  color: orange;
}
ghost commented 8 years ago

Hi @moisadoru, thank you, it works! Shouldn't the wiki page be updated?

PS. This bug affects the scrollbar also - the background is translucent :( Maybe somebody know proper CSS selectors for it? (my setup has tilda-1.3.3 and gtk3-ubuntu-3.20.8)

yura121 commented 8 years ago

confirm on ubuntu 16.04 x64, tilda v1.3.1-1

lanoxx commented 7 years ago

I had this bug today on my notebook, while this has never been a problem on my Desktop. I solved it on my notebook with the following CSS rule:

GtkBox {
    background-color: #000;
}

This is probably a theming issue and as of now I am not convinced that I can and or should fix this in tilda. If someone can suggest a fix I will be happy to consider it, but I need to be convinced that this is really a problem in tilda.

ghost commented 7 years ago

hi @lanoxx, did you put this into ~/config/tilda/style.css? If so, it doesn't worked for me :(

lanoxx commented 7 years ago

Hi, yes I did. If you are on Gtk+ 3.20 then you might need a different rule. The CSS styling has changed quite abit in 3.20.

bekharsky commented 7 years ago

@moisadoru solution works for me in Ubuntu 16.10, and @lanoxx — partially works in Ubuntu 16.04.

ghost commented 7 years ago

Has this problem been fixed? I just tried out Tilda and I like everything so far except for this bug.

rkrzr commented 6 years ago

The problem still exists on stock Ubuntu 17.10. It can be fixed by putting the stylesheet given by @moisadoru above into ~/.config/tilda/style.css.

ivan-preocanin commented 6 years ago

@moisadoru thank you for your stylesheet! Is there a way to fix the scrollbar background too?

rziman commented 6 years ago

Confirmed that adding "GtkBox { background-color: #000; }" to ~/.config/tilda/style.css fixes the issue. Ubuntu 16.04.2 LTS, MATE Desktop Environment 1.12.1, tilda 1.3.1-1.

tony-cox commented 6 years ago

I found that using

GtkBox {
    background-color: #000;
}

makes the tabs fairly unreadable and the affects the settings UI to also be unreadable. Setting it to #FFF was much more appropriate.

klausi commented 6 years ago

Same problem on Ubuntu 18.04, the style sheet from comment https://github.com/lanoxx/tilda/issues/257#issuecomment-252756656 fixes the issue.

moisadoru commented 6 years ago

Hi all,

Here's an update version of the style.css file I use, which also fixes the scrollbar:

https://gist.github.com/moisadoru/5fd9ee1584ed4022958cfa40c90064e9

diskin commented 5 years ago

Thanks for sharing the workaround. Does this problem affect only Ubuntu? What is needed for a fix to be included into package?

lopesrodriguesn commented 5 years ago

thanks, it solved my problem !

frederickjh commented 5 years ago

I was not happy with black:

GtkBox {
    background-color: #000;
}

image

nor white

GtkBox {
    background-color: #164;
}

image

I found that using the color of a window title bar and lighten it a bit gave me the best results of readability without being too dark or too bright for either the active or non-active tabs.

GtkBox {
    background-color: #A8A392;
}

image

Murat0zer commented 4 years ago

in ubuntu 20.04, i have encountered same problem. solve it adding css to ~/.config/tilda/style.css.

julianbarg commented 4 years ago

Thanks @Murat0zer , that workaround worked for me, too in 20.04. :+1:

howels commented 3 years ago

Discovered this isssue @Murat0zer 's fix worked on MATE 20.04 for me as well - otherwise the tab name is illegible if there is text behind the transparent tab bar. Hopefully Ubuntu MATE can pick up this fix @flexiondotorg

dfg31197 commented 3 years ago

@julianbarg on ubuntu 20.04 as well, no style.css in ~/.config/tilda for me. only got a "config_0".

CHKDSK88 commented 2 years ago

hahahaha

Six years later it's still unfixed in Ubuntu 22.04. I created ~/.config/tilda/style.css and put code from https://github.com/lanoxx/tilda/issues/257#issuecomment-395018964. Fix still work.