Opacity not applied on startup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Sakura |
Fix Released
|
High
|
David Gómez |
Bug Description
I have opacity set in my `sakura.conf`:
```
[sakura]
colorset1_
colorset1_
colorset1_
colorset1_scheme=0
colorset1_key=F1
colorset2_
colorset2_
colorset2_
colorset2_scheme=1
colorset2_key=F2
colorset3_
colorset3_
colorset3_
colorset3_scheme=1
colorset3_key=F3
colorset4_
colorset4_
colorset4_
colorset4_scheme=1
colorset4_key=F4
colorset5_
colorset5_
colorset5_
colorset5_scheme=1
colorset5_key=F5
colorset6_
colorset6_
colorset6_
colorset6_scheme=1
colorset6_key=F6
last_colorset=1
bold_is_
scroll_lines=4096
font=Droid Sans Mono 10
show_always_
scrollbar=true
closebutton=true
tabs_on_
less_questions=
disable_
use_fading=false
scrollable_
urgent_bell=Yes
audible_bell=Yes
blinking_cursor=Yes
cursor_
word_chars=
palette=1
add_tab_
del_tab_
switch_
move_tab_
copy_accelerator=5
scrollbar_
open_url_
font_size_
set_tab_
search_
add_tab_key=T
del_tab_key=W
prev_tab_key=Left
next_tab_key=Right
copy_key=C
paste_key=V
scrollbar_key=S
set_tab_name_key=N
search_key=F
increase_
decrease_
fullscreen_key=F11
set_colorset_
icon_file=
paste_button=2
menu_button=3
```
When I start Sakura, the background is fully opaque.
If I right click on Sakura and go into "Options -> Choose Colors", I see the "Opacity level (%)" is correctly set to 87.
If I slick "Select" and go back to Sakura, the background is still fully Opaque.
If I go back into the options and change the Opacity to some other value, e.g. 88, and click "Select". The background becomes semi-transparent.
If I exit Sakura and check my `sakura.conf` file, I see the new opacity is saved, e.g. `colorset1_
If I load Sakura again, the background is fully opaque again.
If I right click on Sakura and go into the color options again, I see that the option is still set to 88%.
So it looks like Sakura is correctly reading the config file and loading the opacity into memory, but it is not actually applying that opacity level until I change it to some other value in the option menu.
Tested on Archlinux:
```
pacman -Q sakura vte3 gtk3 xmonad xcompmgr
sakura 3.8.3-1
vte3 0.64.2-2
gtk3 1:3.24.30-2
xmonad 0.15-134
xcompmgr 1.1.8-2
```
This might be related, or a regression, of https:/
Yes, I'm aware of this bug. Anyway, thanks for the report. It's not related to the old bug you mention. I added some code in 3.8.1 that caused this problem. Another user sent me a patch to fix this, so I'll apply it ASAP and release a new version.