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

black backgrounds with CSD apps if turning the compositor off #165

Open
raveit65 opened this issue Jan 14, 2015 · 6 comments
Open

black backgrounds with CSD apps if turning the compositor off #165

raveit65 opened this issue Jan 14, 2015 · 6 comments

Comments

@raveit65
Copy link
Member

raveit65 commented Jan 14, 2015

marco displays a black background behind CSD applications if turning the compositor off.
This is reproducable since windows-frame (csd) settings are enable in traditional themes.
mate-desktop/mate-themes@190c119
If you restart the client-side-decoration application the black background is gone.
But it sounds uggly to me to tell the users 'please restart your app'.
In other themes, ie. menta themes, i've disable csd theming to avoid that bad experience.
traditionalok-black-background-csd
It's possible that it also happens with mate-panel menu in a GTK3 enviroment.
In the beginning of GTK3-3.14 the issue has occurred also with other applications in other desktops (xfce), ie. nm-applet menu, but this is now fixed by GTK3 itself.
It seems that marco ignore some hints for client-side-decorations and maybe it has the same reason than #163 .

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/7758032-black-backgrounds-with-csd-apps-if-turning-the-compositor-off?utm_campaign=plugin&utm_content=tracker%2F841233&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F841233&utm_medium=issues&utm_source=github).
@raveit65
Copy link
Member Author

PS: this is independent from marco version, here it is 1.8.x

@dnk
Copy link
Contributor

dnk commented Jan 14, 2015

this is gtk-3 bug, not marco's.
CSD uses additional space to render shadow. Shadow became black when compositor is disabled.
only gtk-3 (as CSD owner) can invalidate shadow.

@infirit
Copy link
Contributor

infirit commented Jan 14, 2015

@infirit infirit closed this as completed Jan 14, 2015
@raveit65
Copy link
Member Author

so, someone should file out a bug against gtk+
I would do that but my knowledge in C is zero, for dicussing this with gtk guys.
@infirit
closing this is not very helpful...
without to solve the issue it is imposible to support csd apps and i won't enable this settings in themes.

@infirit
Copy link
Contributor

infirit commented Jan 14, 2015

The bug is in Gtk. We can not fix this as all of this is drawn by gtk.

@stefano-k stefano-k reopened this May 5, 2015
@raveit65
Copy link
Member Author

This issue affects also all menus. Her e pannel-menus with GreenLaguna
gtk3-black-frame-panel
Reason for that is is the GTK3 widget selector csd.popup is bundled to GTkMenuItem
You see that with gtk3-inspector.
gtk-inspector-panel
Disabling csd.popup settings in themes is not a solution because this disables the shadow for all menus if compositor is on.
Note, this affects all gtk3 apps if the run in mate-session.
I know this is a bug in gtk3, but ignoring that is not a solution.

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