mate-desktop / mate-panel

MATE panel
https://mate-desktop.org
GNU General Public License v2.0
185 stars 118 forks source link

Windows maximize 'under' panels #1343

Open AvanOsch opened 1 year ago

AvanOsch commented 1 year ago

When using Compiz I still have windows maximizing 'under' panels, as seen in issue #303 On Linux Mint 21.1, Using MATE Panel 1.26.2

lukefromdc commented 1 year ago

This is probably a compiz bug. Fix for it when marco is in use required https://github.com/mate-desktop/marco/pull/678 in marco. The window manager has to respect the panel's "struts" or reserved areas, otherwise windows will maximize either over or under the panel

lukefromdc commented 1 year ago

Thus, you will want to open an issue against the branch of compiz you are using (0.8/compiz-reloaded or 0.9) and refer to https://github.com/mate-desktop/marco/pull/678 as a starting point for working on it. Note that the codebases of marco and compiz are quite different, though there is some overlap particularily in theme support

lukefromdc commented 1 year ago

Note that struts are used in compiz, so this should be fixable there

AvanOsch commented 1 year ago

Over at Compiz, the blame is on mate-panel... link to launchpad

For anyone landing here with the same problem, I just found a workaround: Disabling "Expand" in the Panel Properties makes Compiz "see" the panel... Or you can of course auto-hide the panel.

lukefromdc commented 1 year ago

The linked compiz bug applies ONLY to the case of two panels on the same edge of the screen such as 2 bottom panels, a configuration I used to ise before wide screens.

In that case the second panel's struts have an issue when compiz is used.

As I recall, fixing the more general issue in marco required changes in mate-panel and marco together

rsfest12 commented 1 year ago

no pode install menu principall