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

mate-panel --replace must be invoked after compiz to work properly #249

Closed
tamer-hassan opened this issue Oct 24, 2014 · 18 comments
Closed

Comments

@tamer-hassan
Copy link

tamer-hassan commented Oct 24, 2014

same or similar to what is described here: http://forums.linuxmint.com/viewtopic.php?f=206&t=169308 (Compiz mucks with mate-panel on startup)

In my case/setup, the top panel is clickable, the bottom panel isn't. Even right clicking the bottom panel brings up the right click menu of the desktop, as if it was invisible.

This happens even when using gtk-window-decorator in place of marco, and happens even if compiz is set as the window-manager in dconf.

Tested on Linux Mint 17 Qiana, Compiz 1:0.9.11.2+14.04.20140714-0ubuntu1, mate-panel 1.8.0-0+qiana

@monsta
Copy link
Contributor

monsta commented Jan 3, 2015

@thassan: how's the situation in Mint 17.1 Rebecca? I know Clem did some work to make compiz work better in Mint, so maybe the issue is already fixed.

@raveit65
Copy link
Member

@thassan
Did you try out the 'force GLX to X' in ccsm workaround plugin?
This fixes the issue here in fedora.

@tamer-hassan
Copy link
Author

i believe the issue has been fixed in Mint 17.1 Rebecca.

@raveit65
Copy link
Member

@thassan
can you please close the report if it is fixed, i don't have the rights to do that.
Thank you

@lukefromdc
Copy link
Member

I can confirm this is still an issue, I've never had compiz and mate-panel NOT act like this, and in my setup for compiz added to Debian have to play timing games to get everything working on a session start. I normally use "killall mate-panel" and let it restart to avoid busy cursor issues.

This is with or without the workarounds. OpenGL is Mesa/r600 AMD, mate-panel is all recent versions, all of them built with GTK3, currently on mate-panel 1.17.0 built with GTK 3.22.2

@lukefromdc lukefromdc reopened this Nov 5, 2016
@ghost
Copy link

ghost commented Apr 19, 2017

This is still an issue 3 years after being reported, fix it by

compiz --replace &

and then directly afterwards calling

mate-panel --replace

@alexarnaud
Copy link
Member

alexarnaud commented Apr 19, 2017 via email

@ghost
Copy link

ghost commented Apr 19, 2017

@alexarnaud

My environment is so

uname -r

4.9.0-kali3-amd64

mate-about

Mate Desktop Environment 1.16.1

compiz --version

Compiz 0.9.13.0

@lukefromdc
Copy link
Member

I can assure you this is still an issue in my Debian Unstable setup, probably Mint is using some kind of startup script to ensure the panel always restarts after compiz, just as I include in my locally compiled compiz packages. Proof of the issue is that compiz --replace must always be followed by killlall mate-panel(to avoid busy cursor issue) or mate-panel --replace.

This has literally been an issue since compiz first came out as far as I can recall. Compiz itself is extremely complex, and is known for acting in a number of ways differently than any other window manager. I have no idea at all how to fix this other than restarting the panel after compiz at every session start-which is exactly how it had to work in the old days. In my locally compiled compiz packages I also had to

@monsta
Copy link
Contributor

monsta commented Apr 19, 2017

Calling @clefebvre and @flexiondotorg for help, since Mint and Ubuntu MATE have some helper script(s) to work around this, as I understand it.

@muktupavels
Copy link
Contributor

Is there open bug for compiz in launchpad.net?

@monsta
Copy link
Contributor

monsta commented Apr 25, 2017

I found two bug reports that might be related to this one:
https://bugs.launchpad.net/bugs/1390157
https://bugs.launchpad.net/bugs/1579421

The last report is also mirrored here at #495.
I'm not sure if it's exactly the same as what happens for reporters here. I only know that the workaround (restarting the panel) is the same.

Do you have these problems with gnome-panel as well?

@muktupavels
Copy link
Contributor

lukefromdc added a commit to lukefromdc/compiz-0.9 that referenced this issue Apr 25, 2017
Alberts Muktupāvels

I was not able to find bug for this on launchpad, but there is one for MATE:
mate-desktop/mate-panel#249

This happens not only with mate-panel or gnome-panel, but also CSD windows. serverFrame is put at 0x0 position and must be clicked to be moved to correct position.

Same as https://code.launchpad.net/%7Emuktupavels/compiz/fix-initial-server-frame-position/+merge/322817
@lukefromdc
Copy link
Member

I can confirm that
https://code.launchpad.net/~muktupavels/compiz/fix-initial-server-frame-position/+merge/322817
Fixes the unresponsive panel after starting or restarting compiz. I still have a Debian-specific issue where compiz itself won't properly start if specified in org>mate>desktop>session>required-components>windowmanager so I can't quite say for sure how a default startup will work in Ubuntu. Still, in Debian this fixes the panel issue, so once Ubuntu merges the fix this can be closed. Ubuntu hasn't updated compiz since Jan 9, this will remain a problem until they do.

For my part I've added the fix to my own compiz branch on Github.
https://github.com/lukefromdc/compiz
Since I don't know how to pull and merge anything from bzr to git, that's all done by hand. Any way to edit the author fields in git commits to reflect credit to Albert?

@muktupavels
Copy link
Contributor

It will be merged soon - https://bileto.ubuntu.com/#/ticket/2730...

P.S. In git you have --author and --date options... git commit --author '...' --date='...' ...

@lukefromdc
Copy link
Member

Most of my git work is done in git-gui except for rebases and merges, I can't find options there for resetting authorship so for now the author gets mentioned in the commit message

@muktupavels
Copy link
Contributor

Oh, I dont use GUI for that... Anyway, don't worry - I don't care if commit has my name or not...

@monsta
Copy link
Contributor

monsta commented May 26, 2017

Ok, the fix landed in Compiz, according to https://bugs.launchpad.net/bugs/1579421, so closing this one.

@monsta monsta closed this as completed May 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants