mate-desktop / mate-terminal

The MATE Terminal Emulator
http://www.mate-desktop.org
GNU General Public License v3.0
134 stars 73 forks source link

Transparency broken in 1.16 with gnome-shell #143

Open Mar01 opened 8 years ago

Mar01 commented 8 years ago

I am using the Gnome desktop environment on Arch Linux. The package is installed from the Arch community repository. All other packages are up to date.

After updating mate-terminal from 1.14 to 1.16 the ability to make the mate terminal window transparent does not work. The slider is there and functions but has no effect on the window; the window remains completely opaque. After downgrading back to 1.14 transparency returns just as I set it in my profile.

I apologize if this is a bug introduced by Arch and I'm in the wrong place, but I wouldn't know how to tell. This is actually my first bug report and I'm still getting a grasp on how the upstream/distribution stuff works.

I like my MATE terminal...

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/38276478-transparency-broken-in-1-16-with-gnome-shell?utm_campaign=plugin&utm_content=tracker%2F757836&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F757836&utm_medium=issues&utm_source=github).
raveit65 commented 8 years ago

With mate-terminal-1.16 we switched to use gtk3. But i can't confirmed the issue with fedora 25 (gtk+-3.22.0) and f24 (gtk+-3.20) Transparency works well here. Which gtk3 version use rolling ArchLinux currently? Is there a reason why you don't file a report at your distro first? This is important to preclude that the issue isn't distro related :P

Mar01 commented 8 years ago

As far as I can tell, my Arch is using gtk3 version 3.20.9. (Actually, looking closer at it like I should have in the first place, it's marked out of date. That's probably why I having this problem. Duh.)

And as for why I didn't report it to Arch first: Because I'm inexperienced and uneducated in these matters, and a stupid idiot. All I know is I like the other changes 1.16 made and I still want my transparency durr!

I was reading the Arch wiki on reporting bugs and got the impression that they encourage upstream reporting, but I guess I should have thought about it more and bugged them in the forums instead of bugging you first huh? :)

Well thanks for wasting your time on me anyway, I do appreciate the reply. I'll come back when I'm not being a pest.

Erm, is this where I close the issue or should I leave it open for some reason?

raveit65 commented 8 years ago

Leave this report open until we know what causes the issue. Don't understand me wrong, first someone from us needs to confirm the issue otherwise it is impossible to fix it, if it is really a issue. And i'm using fedora , so i can't test it for ArchLinux. So a downstream report where the package maintainer can confirm it is helpful.

monsta commented 8 years ago

Works for me in LMDE 2 (GTK+ 3.14.5), Ubuntu 16.10 (GTK+ 3.20.9) and Debian Testing (GTK+ 3.21.5). Just in case - check whether you have compositing enabled in your window manager...

sc0w commented 8 years ago

In the past I had same problem

Since I installed mate-tweak it works

raveit65 commented 8 years ago

Confirmed, with GTK3 we use RGBA Colors, so we need a compositor for the alpha channel. @Mar01 Please enable compositor with

gsettings set org.mate.Marco.general compositing-manager true

Than transparency should work.

Mar01 commented 8 years ago

"No such schema 'org.mate.Marco.general'" ?

Also installed mate-tweak from the Arch User Repository, still does not work.

"Just in case - check whether you have compositing enabled in your window manager..." I don't think it's possible to disable compositing in gnome 3...

sc0w commented 8 years ago

on the preferences of mate tweak, go to windows, and choose marco (composition gpu with compton)

with this option, it works for me

If I choose marco (without composition), it doesn't works

Mar01 commented 8 years ago

on the preferences of mate tweak, go to windows, and choose marco (composition gpu with compton)

"You are currently using an unknown and unsupported window manager. Thus we cannot guarantee that changes made here will be effective."

The drop down is not clickable.

I think you're assuming I'm using the mate desktop. Just to clarify, I am using gnome shell 3.20.4.

raveit65 commented 8 years ago

"No such schema 'org.mate.Marco.general'" ?

This schema is from our window manager

I am using gnome shell 3.20.4.

Confirmed, no transparency with running 'mutter' in Mate session (f24). Weird, that it doesn't work with mutter as it is a WM with Compositor, as far i know. But gnome-terminal-3.20.2 have transparancy with mutter.

Anyway, i am not really sure if this will ever fixed, as no one use gnome-shell, sounds like a 'Can't Fix' for me.

PS: mate-tweak is only a gui for gsettings keys ;)

Mar01 commented 8 years ago

Blast! Guess I'm boned. Actually the reason I use the mate terminal over the gnome terminal is the gnome terminal won't do transparency, but you say it does? Maybe it's an Arch thing.

Guess I have to hang on to 1.14 for as long as I can.

sc0w commented 8 years ago

the question is, why it works with gtk2, and it doesn't work with gtk3 ?

ghost commented 7 years ago

It's not only gnome shell. I am running both xfce4 and i3 on the same Arch system with mate-terminal as my preferred terminal emulator. While transparency works well in xfce4, it doesn't work with i3. Downgrading to 1.14 fixed it. I guess It's sort of a deeper-lying problem than just gnome-shell after all.

You can find the dependencies for i3-wm here. (I got those by running pacman -lu i3-wm.) The dependencies of xfce4 as installed on my system can be found here. Finally here's what's used by i3 but not by xfce4:

I guess this means the problem lies with one of the above. Maybe @Mar01 could check whether gnome-shell relies on any of these packages in his setup, so we can narrow it down further.

monsta commented 7 years ago

I don't know if you have this setting enabled or not in your WM(s), but currently the transparency in mate-terminal needs a compositing window manager. The issue with gnome-shell is that while Mutter is a compositing WM, mate-terminal has no transparency for some reason.

ghost commented 7 years ago

Well, I guess that was it. Starting xcompmgr together with i3 I do get transparency. Why does transparency not seem to require compositing in 1.14.1?

monsta commented 7 years ago

It's a side effect of moving to GTK+3 in 1.16...

ghost commented 7 years ago

Also it's found in slackware-14.2 (gtk+ 3.18.9). I think that mate uses features from newer versions of gtk3.

monsta commented 7 years ago

I can use transparency in Mint 18.1 with GTK+ 3.18.9 just fine, provided that Marco has compositing enabled of course.

DanScharon commented 7 years ago

I'm using mate-terminal 1.16.3 with gnome-shell 3.22.3 on Debian 9. Transparency isn't working here as well, but: when I click on help -> about, suddenly transparency is working as long as that about dialog is open.

monsta commented 7 years ago

@Mar01: you probably have MATE 1.18 in Arch now. Does the problem still happen?

Mar01 commented 7 years ago

Just reinstalled gnome to check for ya...

Distro: Arch Linux gnome-shell 3.24.2-1 mutter 3.24.3-1 gtk2 2.24.31-1 gtk3 3.22.16-1 mate-terminal 1.18.1-1

Still no transparency... unless I open the about window (Help > About), then transparency magically turns on until I close it...

monsta commented 7 years ago

Ok, I guess I'll have to install gnome-shell in one of my VMs... or at least try Mutter in MATE. BTW, maybe you remember the version of gnome-shell where you first noticed it (3.20 or some earlier version)?

Mar01 commented 7 years ago

gnome shell 3.20.4

monsta commented 7 years ago

Ok, I can actually reproduce it with Mutter 3.18.3 too. It's enough to run mutter --replace in MATE to make it the current window manager and make the bug reproducible. The trick with About window doesn't work though, it's probably some gnome-shell magic :slightly_smiling_face:

monsta commented 7 years ago

I guess we'll need some help with this. Someone who knows more about window managers could probably fix it...

raveit65 commented 6 years ago

fixed https://github.com/mate-desktop/mate-terminal/commit/e1b834a2bf684ac4a7d4b33fbf216d65896889c6

monsta commented 6 years ago

The commit is now reverted (https://github.com/mate-desktop/mate-terminal/commit/c4cedf761d77f8586d067a1da34204ecb5810fa7) due to problems it caused (https://github.com/mate-desktop/mate-terminal/issues/240).