Bug 6136 - Ugly artifact closing csd window when compositor is present
Status: RESOLVED INVALID
Alias: None
Product: Openbox
Classification: Unclassified
Component: general
Version: 3.5.2
Hardware: PC Linux
: P3 major
Assignee: Dana Jansens
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2014-04-17 13:17 EDT by carlosjosepita
Modified: 2014-10-27 20:42:45 EDT
2 users (show)

See Also:



Description carlosjosepita 2014-04-17 13:17:22 EDT
Despite being just a visual annoyance and happening only when using the composite extension, I consider this to be a major issue because of the pervasiveness that the artifact (a black rectangle expanding the client area immediately upon closing) will show in a near future (which is taken place as we speak, indeed), now that client side decorations are part of gtk3 and, even worse, of gtk3 standard dialogs (open file, print, etc.) [1], [2].

v.g. Adwaita, the most standard theme that is known to work with both gtk2 and gtk3 (the only one REALLY working with both?), puts rounded corners around these dialogs. This signals that the use of a compositor will be less optional than it was before. It will be less of an eye candy whim and more of and eye health issue. 

This was discussed some time ago at compton's and at crunchbang's and was diagnosed to be openbox specific [3], [4]. 

[1] http://blogs.gnome.org/mclasen/2014/01/13/client-side-decorations-continued/
[2] http://crunchbang.org/forums/viewtopic.php?id=33988
[3] https://github.com/chjj/compton/issues/131
[4] http://crunchbang.org/forums/viewtopic.php?pid=314159#p314159
Comment 1 carlosjosepita 2014-04-19 00:20:03 EDT
Despite what people are saying at crunchbang's and at least for gtk3 CSD stock dialogs I've intensively and extensively tested this and debugged openbox related code. The culprit is not compton nor openbox. The artifact takes place even without a compositor (but too fast, so you need to pause execution to appreciate it). The artifact also appears under pekwm, awesome and fluxbox, but the default light background makes it less noticeable that the black background openbox sets.

I guess gtk3 is the one to blame for clearing the window too quickly.
Comment 2 Mikachu 2014-10-27 20:42:45 EDT
closing since there's nothing to do for us. note that the frame background is set in your theme, not hardcoded in openbox.