lanoxx / tilda

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

Tilda getting stuck with solid black background color when trying to toggle transparency #372

Closed toorandomenvi closed 5 years ago

toorandomenvi commented 5 years ago

When this happens i get this error : (tilda:4706): Vte-CRITICAL *: 20:34:19.752: void vte_terminal_set_color_background(VteTerminal, const GdkRGBA*): assertion 'valid_color(background)' failed

this problem might also be linked to settings for transparency not being saved when i restart Tilda. If i force the transparency level from 100 to another value and then back it works again until i toggle it again

I have already tried reinstalling Tilda few times with no success

OS: Xubuntu 18.04 (fresh installation)

toorandomenvi commented 5 years ago

update: Tried recreating this in VM (OS: Mint 19 XFCE, Xubuntu 18.04) and on Kubuntu 18.04 and the problem persisted across all of them thankfully managed to fix this by manually editing /.config/tilda/config_0

changing lines: transparency=0 Back_alpha=-68

to: transparency=1 Back_alpha=0

this has resolved the problem after saving the settings and restarting Tilda but it would still be nice that i wouldnt have to do this to get transparency toggling working

toorandomenvi commented 5 years ago

After restarting my laptop the config was edited back to the wrong value by tilda so a temporary work around is to set the config_0 file to read only after fixing the Back_alpha value

lanoxx commented 5 years ago

Thanks for reporting this bug, I think I recently fixed a bug concerning negative back_alpha values in the configuration (see commit b504ea0177cd91ed42cc326e684d702ed021e28d).

This should be fixed in the next release.