Comments (4)
MATE supports running under multiple window managers. We ship Marco, and Compiz is a widely used replacement as it was in the GNOME 2 days. Gnome-shell is simply a combined window manager and panel replacement. A rendering artifact in gnome-shell implies a similar problem may be possible under other window managers too, I suspect Mutter would be affected if nothing else. Since Cinnamon is a gnome-shell fork, it too could be affected though since that fork was long ago there could be different behavior.
I just tested this, and found that on my setup (Debian Unstable) transparency did not work at all in gnome-shell, and in Cinnamon was composited to the desktop background, ignoring all windows between. Both tests were with
gnome-shell --replace
and cinnamon --replace
respectively, leaving caja managing the desktop
from mate-terminal.
One observation that I want to call out: the code currently does not make use of gtk_widget_app_set_paintable
to effect background transparency for the screen widget. Based on discussion in #240, the upshot of the discussion seems to have been that
- solving this issue while preserving the current approach to transparency would require loading-in a CSS fix on startup for the menubar (using either a flat CSS file or gresource)
- using CSS to solve this specific issue would be a hack
I understand the reasoning and agree, but I want to note that gtk_widget_set_app_paintable
is the common solution employed by a few of the major GTK3/VTE apps, including tilix
, xfce4-terminal
, and previously gnome-terminal
*, and at least based on my own repeated testing over the past few days, transparency appears to behave as expected for all such applications under GNOME Shell. xfce4-terminal
makes use of this approach without needing to load in any resources to ensure menubar opacity.
I suspect it would not be terribly difficult to re-implement this approach without needing a CSS fix for the menubar, but as an interim fix and to ensure consistent behavior, I'm not sure it's the worst possible solution.
* I use a patched gnome-terminal which restores this specific implementation to enable transparency, and I can confirm that it does not display any unusual behavior when running with transparency enabled under GNOME Shell.
from mate-terminal.
@lukefromdc Thanks very much for testing on your setup, especially confirming Cinnamon behavior.
I've pushed up #434 and am seeing desired behavior when applied to latest master
. Not much to it, but any feedback regarding style, implementation, etc. is highly appreciated.
from mate-terminal.
Closing as apparently fixed by #434.
Happy to contribute further if additional/related transparency issues are surfaced.
from mate-terminal.
Related Issues (20)
- mate-terminal on Wayland improperly sets $DISPLAY="wayland-0" HOT 8
- [Feature Request] Search all tabs and windows HOT 2
- Enabling / disabling the scrollbar in the profile causes column numbers to be off
- The cursor is not displayed while moving in the terminal HOT 1
- [Feature Request] Enable Resizing Exactly According to User-Specified Geometry
- [Feature Request] Set Title dialog: Accept input with Enter key HOT 5
- [Feature Request] double-click a tab to change its title HOT 1
- [Feature request]: Reload the settings when they are applied from the interactive shell like gnome-terminal
- [Feature request]: Increase the font-size from 10 to 12 HOT 6
- [Feature request]: Use bright background HOT 1
- [feature request]: Setting to always maximize the window
- Set Title dialog box appears when double-clicking in "tui" apps HOT 10
- Crash
- RFE: make a sound when a new line appears
- File URIs are wrongly entered when a file is pasted HOT 9
- in the "Define title" window, there is no default action when you press enter. HOT 2
- Copy coloured text and backgrounds to clipboard
- PR "terminal-window: Factor CSDs into geometry hints #452" seems to break some things for me HOT 10
- meson.build files are not in released 1.28 tarball generated with distcheck HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mate-terminal.