arc-design / arc-theme

A flat theme with transparent elements
GNU General Public License v3.0
697 stars 54 forks source link

MATE 1.22 : unable to resize windows from bottom right corner #219

Open aaaaadrien opened 5 years ago

aaaaadrien commented 5 years ago

Hi,

since upgrading my system to MATE 1.22, i am unable to resize window from bottom left or bottom right corner.

No problems with same version of Arc Theme with previous MATE version (1.20)

Can you fix it ?

fossfreedom commented 5 years ago

I'm aware there has been a metacity change and it has broken some themes

https://gitlab.com/tista500/plata-theme/issues/38

^^^ refused point blank (understandably) to resolve breakages introduced and has dropped MATE support.

Really this is a metacity issue and should be raised on their issue tracker.

adatum commented 5 years ago

I just noticed the same thing after upgrading from Fedora 29 to 30 (MATE 1.22).

Resizing still works where there is a window title bar, but it seems the window border has vanished with this theme. I checked that borders are still there with other themes.

Actually a 0 thickness border looks really nice, I just wish I could resize windows, which is something I do frequently enough that the lack of it is frustrating.

If a solution can't be found, I'll have to use a different theme. But that would be sad as this is currently my favorite!

smurphos commented 5 years ago

It looks like the Mate team will try and fix this as it is definitely a Marco WM bug and not a theme bug https://github.com/mate-desktop/marco/issues/481 & https://github.com/mate-desktop/marco/issues/474

@adatum Pending a fix from Mate the second link outlines what an end-user can tweak to add a border to an existing theme. Or you could just try deleting the metacity-theme-3.xml file in your arc theme folders. Marco will fall back to the metacity-theme-2.xml on next log-in which in Arc has a 1px border so should work.

adatum commented 5 years ago

Thank you thank you thank you @smurphos

Changing all the left_width, right_width, and bottom_height values from 0 to 1 works! In my case they are in the file /usr/share/themes/Arc-Darker/metacity-1/metacity-theme-3.xml which I found with locate metacity-theme-3.

I did not even have to log out. Borders appeared simply by switching the Window Border setting to something else and back in Control Center -> Appearance -> Customize.

As a side note, now I realize how tiny 1 pixel borders are. They can be a bit difficult to grab, but it is infinitely less frustrating than no borders!

Hopefully MATE devs will solve the issue soon so that themes don't abandon it. In the meantime this solution is simple and effective.

smurphos commented 5 years ago

You are welcome. Hopefully they will look to how other Window Managers deal with this. Muffin (in Cinnamon) for example has a setting for draggable-border-width (default is 10px). If the actual borders are less than 10px you still get an upto 10px invisible 'border' to grab.

monsta commented 5 years ago

This now works as of Marco 1.22.2 - only with Marco's own compositor enabled though. Disabling compositor or using Compton brings the issue back (https://github.com/mate-desktop/marco/issues/533).