Opacity not applied on startup

Bug #1942665 reported by Nebu Pookins
6
This bug affects 1 person
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_fore=rgb(255,255,255)
colorset1_back=rgba(0,0,0,0.87)
colorset1_curs=rgb(255,255,255)
colorset1_scheme=0
colorset1_key=F1
colorset2_fore=rgb(192,192,192)
colorset2_back=rgb(0,0,0)
colorset2_curs=rgb(255,255,255)
colorset2_scheme=1
colorset2_key=F2
colorset3_fore=rgb(192,192,192)
colorset3_back=rgb(0,0,0)
colorset3_curs=rgb(255,255,255)
colorset3_scheme=1
colorset3_key=F3
colorset4_fore=rgb(192,192,192)
colorset4_back=rgb(0,0,0)
colorset4_curs=rgb(255,255,255)
colorset4_scheme=1
colorset4_key=F4
colorset5_fore=rgb(192,192,192)
colorset5_back=rgb(0,0,0)
colorset5_curs=rgb(255,255,255)
colorset5_scheme=1
colorset5_key=F5
colorset6_fore=rgb(192,192,192)
colorset6_back=rgb(0,0,0)
colorset6_curs=rgb(255,255,255)
colorset6_scheme=1
colorset6_key=F6
last_colorset=1
bold_is_bright=false
scroll_lines=4096
font=Droid Sans Mono 10
show_always_first_tab=No
scrollbar=true
closebutton=true
tabs_on_bottom=false
less_questions=false
disable_numbered_tabswitch=false
use_fading=false
scrollable_tabs=true
urgent_bell=Yes
audible_bell=Yes
blinking_cursor=Yes
cursor_type=VTE_CURSOR_SHAPE_BLOCK
word_chars=-,./?%&#_~:
palette=1
add_tab_accelerator=5
del_tab_accelerator=5
switch_tab_accelerator=8
move_tab_accelerator=9
copy_accelerator=5
scrollbar_accelerator=5
open_url_accelerator=5
font_size_accelerator=4
set_tab_name_accelerator=5
search_accelerator=5
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_font_size_key=plus
decrease_font_size_key=minus
fullscreen_key=F11
set_colorset_accelerator=5
icon_file=terminal-tango.svg
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_back=rgba(0,0,0,0.88)`.

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://bugs.launchpad.net/sakura/+bug/969294

Revision history for this message
David Gómez (dabisu) wrote :

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.

Changed in sakura:
importance: Undecided → High
status: New → Confirmed
assignee: nobody → David Gómez (dabisu)
Revision history for this message
David Gómez (dabisu) wrote :

This bug is fixed in the latest release (3.8.4). Please add a new comment in this bug if still don't work as expected.

Changed in sakura:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.