compton icon indicating copy to clipboard operation
compton copied to clipboard

opacity rule 100 applies wrong opacity

Open ghost opened this issue 8 years ago • 3 comments
trafficstars

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

ghost avatar May 28 '17 11:05 ghost

I had the same problem, but starting compton with dbus-launch fixed it:

dbus-launch compton

slackhead avatar Nov 05 '17 01:11 slackhead

dbus-launch compton did not resolve this for me.

HactarCE avatar Mar 27 '18 18:03 HactarCE

@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.

yshui avatar Aug 11 '18 18:08 yshui