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

Unable to activate Modal/Dialog Windows shadows #457

Open
jEsuSdA opened this issue Nov 5, 2017 · 4 comments
Open

Unable to activate Modal/Dialog Windows shadows #457

jEsuSdA opened this issue Nov 5, 2017 · 4 comments

Comments

@jEsuSdA
Copy link

jEsuSdA commented Nov 5, 2017

Hi!

I'm trying to add shadows to several modal/dialog windows for GTK3 apps and I can't.
What I'm doing wrong?
Is there any "force shadow" option for compton.conf?
Could you help me?

imagen

Platform: Debian Testing 64bits (Compton installed from official repos)

GPU, drivers, and screen setup: Intel GPU with two monitors and glx backend for compton

Compton version: 0.1~beta2+20150922-1 from the Debian official repository.

Compton configuration:
http://pasteall.org/653099

Thank you!

@jEsuSdA
Copy link
Author

jEsuSdA commented Nov 5, 2017

I noticed that removing the line

"! name~=''",

The shadow appears in modal/dialog windows!!! yeah!

But... Could this have unexpected consecuences?
Do you know?

@jEsuSdA
Copy link
Author

jEsuSdA commented Nov 11, 2017

I can confirm that the shadow in modal windows does not appears in all case.

e.g. Firefox-esr modal "save file" has no shadow.

:(

@jEsuSdA
Copy link
Author

jEsuSdA commented Nov 11, 2017

News:

The exclude condition:

"class_g = 'Firefox-esr' && argb",

Disables shadows under popup menus but ALSO under it's modal windows.

Disabling this condition the shadows appears under the Firefox modal windows, but the popup menus looks ugly.

Is there any way to disable shadows ONLY in popup menu but modal windows?

@jEsuSdA
Copy link
Author

jEsuSdA commented Nov 11, 2017

And finally I found a perfect solution:

  1. Remove the "! name~=''", line

  2. Remove the "class_g = 'Firefox' && argb", lines

  3. Add these lines:

    "class_g = 'Firefox-esr' && class_i = 'Popup' && argb",
    "class_g = 'Firefox' && class_i = 'Popup' && argb",
    "class_g = 'Thunderbird' && class_i = 'Popup' && argb",

You'll have shadows on Firefox/Thunderbird modal and drop downs and popup but the "special" popup from Firefox/Thunderbird do not have any shadow.

Great!!!

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

1 participant