Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opacity rule 100 applies wrong opacity #433

Open
untoreh opened this issue May 28, 2017 · 3 comments
Open

opacity rule 100 applies wrong opacity #433

untoreh opened this issue May 28, 2017 · 3 comments

Comments

@untoreh
Copy link

untoreh commented May 28, 2017

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

@slackhead
Copy link

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

dbus-launch compton

@HactarCE
Copy link

dbus-launch compton did not resolve this for me.

llitz added a commit to llitz/compton that referenced this issue Aug 10, 2018
When inactive-opacity is enabled, you can override the opacity by using opacity-rule.

By default, all windows have 100 opacity and, if it is still at 100,
inactive-opacity will be applied when the window loses focus. This
patch adds a new bool opacity_disabled to win struct and verify this
variable before deciding if it should be excluded from inactive-opacity

Fix 99% transparency problems on chjj/compton#450 chjj/compton#433
chjj/compton#403 chjj/compton#367 chjj/compton#260 chjj/compton#182
chjj/compton#158
llitz added a commit to llitz/compton that referenced this issue Aug 10, 2018
When inactive-opacity is enabled, you can override the opacity by using opacity-rule.

By default, all windows have 100 opacity and, if it is still at 100,
inactive-opacity will be applied when the window loses focus. This
patch adds a new bool opacity_disabled to win struct and verify this
variable before deciding if it should be excluded from inactive-opacity

Fix 99% transparency problems on chjj/compton#450 chjj/compton#433
chjj/compton#403 chjj/compton#367 chjj/compton#260 chjj/compton#182
chjj/compton#158
@yshui
Copy link

yshui commented Aug 11, 2018

@untoreh Hello, I had an attempt at fixing this problem. If you could give yshui/picom@30c14c0 (i.e. the opacity branch) a try, and report back, that will be much appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants