compton
compton copied to clipboard
opacity rule 100 applies wrong opacity
Platform:
Ubuntu amd64
GPU, drivers, and screen setup:
Vendor: X.Org (0x1002)
Device: AMD HAWAII (DRM 2.49.0 / 4.11.0_1, LLVM 4.0.0) (0x67b1)
Version: 17.1.1
Accelerated: yes
Video memory: 4096MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 4.5
Max compat profile version: 3.0
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.1
Compton version:
0.1~beta3~3.gitb7f43ee-kk1+16.10
Compton configuration: https://pastebin.com/raw/UCUjVShA
Steps of reproduction
# with `active-opacity = 0.98`
compton-trans -c 99 # notice opacity increased
compton-trans -c 98
compton-trans -c 100 # opacity stays the same
compton-trans -c 99 # opacity is increased
compton-trans -c 100 # opacity goes to 0.98
Expected behavior
A value of 100 should make the window fully opaque.
Current Behavior & Other details
opacity-rule and compton-trans set 100 to the value of active-opacity.
#367 #260 #182
I had the same problem, but starting compton with dbus-launch fixed it:
dbus-launch compton
dbus-launch compton did not resolve this for me.
@untoreh Hello, I had an attempt at fixing this problem. If you could give yshui/compton@30c14c06d2eef008a7eeb3c0e23d8a08c8ba37e1 (i.e. the opacity branch) a try, and report back, that will be much appreciated.