chjj / compton

A compositor for X11.
Other
2.25k stars 500 forks source link

Odd transparency konsole buttons #171

Open tekwyzrd opened 10 years ago

tekwyzrd commented 10 years ago

Distribution Arch compton built from git today via aur. 2014.01.21.gaeda148-1 kde 4.12.1-1 kernel 3.12.9-1 nvidia 331.38-1 kde crystal window decoration

Problem: using any of the button choices offered this windeco the title bar buttons of the konsole window are semi-transparent. Whether the window is focused or unfocused, they are lighter than the title bar buttons of any other window. When the title bar of the konsole window is covering another window the portion of the covered window below the buttons is displayed rather than the buttons. This happens with all styles I try.

tekwyzrd commented 10 years ago

Maybe I should add that I have all kwin effects disabled. Compton uses significantly less resources than the effects provided by kwin. I currently have compton configured to provide transparency but no other effects.

richardgv commented 10 years ago

Thanks for reporting, tekwyzrd.

  1. I don't quite understand the situation you described. Could you please attach a few screenshots?
  2. Do you have frame-opacity enabled? Does it occur with compton --config /dev/null?
  3. Does it only happen on Konsole? The opacity of the window usually affect the titlebar as well, so please check if you have something related to transparency enabled in Konsole settings.
  4. If you have xcompmgr, cairo-compmgr, or other standalone compositors installed, does the problem appear with them?
tekwyzrd commented 10 years ago

No, frame opacity is not enabled. No transparency settings in konsole settings. cap1 In the first image the konsole titlebar is covering the firefox titlebar and the layer below is visible. This is the same for all apps below konsole and applies to any portion of a window below. cap2 This is the normal behavior exhibited by all other apps. In this case konqueror file browser over firefox.

In the first image you can see the text of the firefox titlebar below the konqueror titlebar.

tekwyzrd commented 10 years ago

Yes, it also happens using compton --config /dev/null and only konsole is affected. No other stand-alone compositors installed.

richardgv commented 10 years ago

It feels like, either the decoration itself is transparent and the window has an RGBA visual, or compton, with infinite wisdom, detects the region your buttons reside in a window and automagically breaks it. That is to say, this does not look like what a bug in compton could cause. I would recommend you to install xcompmgr (which is very tiny) and check if it exhibits the same problem. And please check if another window with RGBA visual (for example, a terminal with true transparency on) triggers it as well.

tekwyzrd commented 10 years ago

same behavior with xcompmgr. time to dig around and try to figure out why I'm only seeing this on konsole's buttons.

richardgv commented 10 years ago

Seemingly Konsole uses a RGBA visual regardless of whether true transparency is enabled. I'm still suspecting it's a problem related to windows with RGBA visuals. Again, I recommend testing with another application creating RGBA windows.