Gap in window resizing

This shows that there is a gap in the resizing action on the right side of the top right corner of windows. There is a matching gap on the left side, but it is not as tall as the right side.
Watch this for reference:
vid

To make sure we know what we are dealing with, can you please provide the result from

uname -a

and

lsb_release -a
3 Likes

Please provide a matching video from your system that shows that the gap is not there. Then we know that it is distro-dependent.

Here's the video from the opposite coner. Something is wrong with the computations of cursor shape depending on its coordinates. I highly doubt that it may have anything to do with the distro.

top left corner vid

There have been too many of the questions you raised which led our experienced contributors and moderators on a merry chase to figure out what they were dealing with.

For that reason, I thought I would try to stop that "rummaging in the pantry like a rat looking for cheese" by getting you to pinpoint exactly what "beast" you are asking the community to deal with.

The request identifies the range of versions of all the non-distro components that could be involved, and which "bugs" or "fixes" can be considered/ignored in the parsing of the causes to the issue being presented.

For that same reason, those experienced contributors and moderators "liked" my request for that information.

It would be nice if you simply complied with that minimal request, so that the more experienced could actually know the specific context being addressed and better formulate and tune their answer to your specific situation.

I'll ignore abusive language for the time being and try to steer this back to the matter at hand.

Show us the video from your system that replicates the same cursor movements. If on your system it works fine, then I'll leave and do my homework. If on your system it does the same thing, then you should to do yours. You do not stand to loose anything by showing us how it works for you.

If your choice is to refer to your own product as to

then here it is:

I wasn't being abusive, simply sharing my personal observation, intended as feedback

And what you offered was not what was requested.

2 Likes

Hi, @lihuto

As I've written before, in another reply from me to you, in another topic here in the "Ubuntu MATE Community" - "How do we test speakers in the new Mate? - #2 by ricmarques" - "(...) The latest available version of the "Ubuntu MATE" Linux distribution is "Ubuntu MATE 24.10" ("Oracular Oriole") - which uses the version 1.26.2 of the "MATE Desktop Environment". (...)".

If you're using the 1.28.2 version of the "MATE Desktop Environment", you're most likely using a Linux distribution that is NOT "Ubuntu MATE".

Anyway, here's a very small video screencast that I've just made of resizing a "Caja" window in "Ubuntu MATE 24.10" using each of the 4 corners of the window at a time:

2 Likes

That's not how it works in human society. If you refer to your counterpart as to a rat, that becomes a personal insult.

You have nothing to lose by showing us a video from your system where the corner resizing works as opposed to mine where it does not. You doing so will clear all questions about this issue. Please go ahead, take a video, and post a link here. If you don't know how to take a video, I will be happy to provide guidance on that.

If you had read that carefully, you would have understood that the "rat" reference was not referring to you, but rather to the various members of the community, and it was an allusion to help understand the futility of looking for something in unknown territory. There was no insult delivered there, intentional or otherwise.

5 Likes

Could be a problem with the window manager, check the output of:

wmctrl -m

and

gsettings get org.gnome.desktop.interface gtk-theme
2 Likes

Is any of this a problem?

$ wmctrl -m
Name: Metacity (Marco)
Class: N/A
PID: N/A
Window manager's "showing the desktop" mode: N/A
$ gsettings get org.gnome.desktop.interface gtk-theme
'Adwaita'

If, as I suspect, your issue is the size of the "grab-zone" at the edges of your windows, to make it easier to resize, the parameters controlling the gap/zone are not under the control of "Preferences". :frowning:

The issue is one of Theme component internal construction, and I invite you to review the following two earlier discussions on this very topic:

... and how I eventually resolved it ...

... and, BTW, those are build-dependant, Distro and/or Theme, hence my original question.

4 Likes

Themes should not be allowed to mess up such fundamental functions as window resizing. If they are, then some creative types will mess them up and create a torture for us users.

(small edit: changed "Client-Side CSS/Theme" to more correct reference "Client-Side Decorations")

I am completely on board with your feelings in that regards, in principle.

In reality, given the ongoing speed of Linux Distro evolution, and the complaints by developers having to "take their foot of the gas" in terms of implementing functionality because Theme-based implementations are making coding efforts way more complex than they believe it should be, I have come to realize I must endorse developer "discoveries" and support their efforts to make their development activities simpler, and less frustrating, for them, so that they can fly higher without being weighed-down by the accumulated monolith of "ancient ways"!

The activities related to what is taken away from Preferences, and merged into Themes, is part of an overall effort, complex and years-long, to move away from the "wild-west" of old code without standards related to Themes (especially application-related theming), encapsulating more of that in the Themes themselves, expanding (standardizing) the components/elements in the Theme XML, with the end-goal being what is called "Client-Side Decorations" (CSS/theming) of a nature which is less susceptible to Distro-based CSS library evolution, the purpose being to minimize/eliminate "breakage" of Application look/feel/behaviour which is CSS-dependant.

That was a mouthful! It took me a long time to perceive and understand what was going on. Hope that helps!

I might be wrong, but the core of the Adwaita theme seems to be the focus of the efforts to clean up the "theming API styling/construction/elements", and, from what little I have gathered, appears to be at the leading edge of that effort. As I said, I might be wrong on that perception. Others may know better on that point.

Which of these XML elements/attributes mess up the resizing corners?
This is metacity-theme-1.xml. There are also 2 and 3 but I've no idea what each of them is used for. If it's not 1 then I can paste them.

<?xml version="1.0"?>
<metacity_theme>
<info>
  <name>GreenLaguna-border</name>
  <author>Wolfgang Ulbrich</author>
  <copyright>none</copyright>
  <date>Feb 2013</date>
  <description>A clean green theme with huge borders</description>
</info>

<!--================-->
<!--Frame Geometries-->
<!--================-->

<frame_geometry name="normal" rounded_top_left="true" rounded_bottom_left="true" rounded_top_right="true" rounded_bottom_right="true">
  <distance name="left_width" value="6"/>
  <distance name="right_width" value="6"/>
  <distance name="bottom_height" value="6"/>
  <distance name="left_titlebar_edge" value="4"/>
  <distance name="right_titlebar_edge" value="4"/>
  <distance name="button_width" value="20"/>
  <distance name="button_height" value="23"/>
  <distance name="title_vertical_pad" value="3"/>
  <border name="title_border" left="1" right="0" top="4" bottom="4"/>
  <border name="button_border" left="1" right="0" top="4" bottom="0"/>
</frame_geometry>

<!--Normal geometry-->

<frame_geometry name="normal_small_borders" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false" parent="normal">
  <distance name="left_width" value="0"/>
  <distance name="right_width" value="0"/>
  <distance name="bottom_height" value="0"/>
  <distance name="left_titlebar_edge" value="0"/>
  <distance name="right_titlebar_edge" value="0"/>
</frame_geometry>

<!--Utility windows-->

<frame_geometry name="utility" title_scale="small" parent="normal"/>

<frame_geometry name="border" has_title="false" rounded_top_left="false" rounded_top_right="false"  rounded_bottom_left="false" rounded_bottom_right="false">
  <distance name="left_width" value="6"/>
  <distance name="right_width" value="6"/>
  <distance name="bottom_height" value="6"/>
  <distance name="left_titlebar_edge" value="0"/>
  <distance name="right_titlebar_edge" value="0"/>
  <distance name="button_width" value="0"/>
  <distance name="button_height" value="0"/>
  <distance name="title_vertical_pad" value="2"/>
  <border name="title_border" left="0" right="0" top="0" bottom="0"/>
  <border name="button_border" left="0" right="0" top="0" bottom="0"/>
</frame_geometry>

<!--==============-->
<!--Some constants-->
<!--==============-->

<constant name="ThickLineWidth" value="3"/>
<constant name="IconTitleSpacing" value="6"/>

<!--=======-->
<!--Drawing-->
<!--=======-->

<!--Above button-->

<draw_ops name="above_button">
  <image filename="neutral.png" x="0" y="0" width="20" height="20"/>
</draw_ops>

<draw_ops name="above_button_prelight">
  <image filename="yellow.png" x="0" y="0" width="20" height="20"/>
</draw_ops>

<draw_ops name="above_button_pressed">
  <image filename="yellow.png" x="0" y="0" width="20" height="20"/>
</draw_ops>

<draw_ops name="above_button_inactive">
  <image filename="unfocus.png" x="0" y="0" width="20" height="20"/>
</draw_ops>

<!--Unabove Button-->

<draw_ops name="unabove_button">
  <image filename="yellow.png" x="0" y="0" width="20" height="20"/>
</draw_ops>

<draw_ops name="unabove_button_prelight">
  <image filename="yellow.png" x="0" y="0" width="20" height="20"/>
</draw_ops>

<draw_ops name="unabove_button_pressed">
  <image filename="yellow.png" x="0" y="0" width="20" height="20"/>
</draw_ops>

<draw_ops name="unabove_button_inactive">
  <image filename="yellow.png" x="0" y="0" width="20" height="20"/>
</draw_ops>

<!-- Stick button-->

<draw_ops name="stick_button">
  <image filename="neutral.png" x="0" y="0" width="20" height="20"/>
</draw_ops>

<draw_ops name="stick_button_prelight">
  <image filename="yellow.png" x="0" y="0" width="20" height="20"/>
</draw_ops>

<draw_ops name="stick_button_pressed">
  <image filename="yellow.png" x="0" y="0" width="20" height="20"/>
</draw_ops>

<draw_ops name="stick_button_inactive">
  <image filename="unfocus.png" x="0" y="0" width="20" height="20"/>
</draw_ops>

<!--Unstick Button-->

<draw_ops name="unstick_button">
  <image filename="neutral.png" x="0" y="0" width="20" height="20"/>
</draw_ops>

<draw_ops name="unstick_button_prelight">
  <image filename="yellow.png" x="0" y="0" width="20" height="20"/>
</draw_ops>

<draw_ops name="unstick_button_pressed">
  <image filename="yellow.png" x="0" y="0" width="20" height="20"/>
</draw_ops>

<draw_ops name="unstick_button_inactive">
  <image filename="unfocus.png" x="0" y="0" width="20" height="20"/>
</draw_ops>

<!--Shade button-->

<draw_ops name="shade_button">
  <image filename="neutral.png" x="0" y="0" width="20" height="20"/>
</draw_ops>

<draw_ops name="shade_button_prelight">
  <image filename="yellow.png" x="0" y="0" width="20" height="20"/>
</draw_ops>

<draw_ops name="shade_button_pressed">
  <image filename="yellow.png" x="0" y="0" width="20" height="20"/>
</draw_ops>

<draw_ops name="shade_button_inactive">
  <image filename="unfocus.png" x="0" y="0" width="20" height="20"/>
</draw_ops>

<!--Unshade button-->

<draw_ops name="unshade_button">
  <image filename="neutral.png" x="0" y="0" width="20" height="20"/>
</draw_ops>

<draw_ops name="unshade_button_prelight">
  <image filename="yellow.png" x="0" y="0" width="20" height="20"/>
</draw_ops>

<draw_ops name="unshade_button_pressed">
  <image filename="yellow.png" x="0" y="0" width="20" height="20"/>
</draw_ops>

<draw_ops name="unshade_button_inactive">
  <image filename="unfocus.png" x="0" y="0" width="20" height="20"/>
</draw_ops>

<!--Menu button-->

<draw_ops name="menu_button">
  <image filename="neutral.png" x="0" y="0" width="20" height="20"/>
</draw_ops>

<draw_ops name="menu_button_prelight">
  <image filename="yellow.png" x="0" y="0" width="20" height="20"/>
</draw_ops>

<draw_ops name="menu_button_pressed">
  <image filename="yellow.png" x="0" y="0" width="20" height="20"/>
</draw_ops>

<draw_ops name="menu_button_inactive">
  <image filename="unfocus.png" x="0" y="0" width="20" height="20"/>
</draw_ops>

<!--Minimize button--> 

<draw_ops name="minimize_button">
  <image filename="neutral.png" x="0" y="0" width="20" height="20"/>
</draw_ops>

<draw_ops name="minimize_button_prelight">
  <image filename="button-min-focus.png" x="0" y="0" width="20" height="20"/>
</draw_ops>

<draw_ops name="minimize_button_pressed">
  <include name="minimize_button"/>
</draw_ops>

<draw_ops name="minimize_button_inactive">
  <image filename="unfocus.png" x="0" y="0" width="20" height="20"/>
</draw_ops>

<!--Maximize button-->

<draw_ops name="maximize_button">
  <image filename="neutral.png" x="0" y="0" width="20" height="20"/>
</draw_ops>

<draw_ops name="maximize_button_prelight">
  <image filename="button-max-focus.png" x="0" y="0" width="20" height="20"/>
</draw_ops>

<draw_ops name="maximize_button_pressed">
  <include name="maximize_button"/>
</draw_ops>

<draw_ops name="maximize_button_inactive">
  <image filename="unfocus.png" x="0" y="0" width="20" height="20"/>
</draw_ops>

<!--Restore button-->

<draw_ops name="restore_button">
  <image filename="neutral.png" x="0" y="0" width="20" height="20"/>
</draw_ops>

<draw_ops name="restore_button_prelight">
  <image filename="button-max-focus1.png" x="0" y="0" width="20" height="20"/>
</draw_ops>

<draw_ops name="restore_button_pressed">
  <include name="restore_button"/>
</draw_ops>

<draw_ops name="restore_button_inactive">
  <image filename="unfocus.png" x="0" y="0" width="20" height="20"/>
</draw_ops>

<!--Close button-->

<draw_ops name="close_button">
  <image filename="neutral.png" x="0" y="0" width="20" height="20"/>
</draw_ops>

<draw_ops name="close_button_prelight">
  <image filename="button-close-focus.png" x="0" y="0" width="20" height="20"/>
</draw_ops>

<draw_ops name="close_button_pressed">
  <include name="close_button"/>
</draw_ops>

<draw_ops name="close_button_inactive">
  <image filename="unfocus.png" x="0" y="0" width="20" height="20"/>
</draw_ops>

<!--==================-->
<!--Draw window frames-->
<!--==================-->

<!--Draw nothing-->

<draw_ops name="blank">
</draw_ops>

<!--The background of windows-->

<draw_ops name="background">

   <rectangle color="#E6EFE3" x="0" y="0" width="width" height="height" filled="true"/>

   <rectangle color="#AAB5A1" x="0" y="0" width="width-1" height="height-1" filled="false"/>

   <rectangle color="#E6EFE3" x="left_width-1" y="top_height-1"
	width="width-left_width-right_width+2" height="height-top_height-bottom_height" filled="true"/>

 <!--Title bar gradient--> 
 
    <gradient type="vertical" x="1" y="1" width="width-2" height="top_height-2">
	<color value="#EAEFE8"/>
	<color value="#E6EFE3"/>
    </gradient>

    <line color="#E8EFE5" x1="right_width" y1="top_height-1" x2="width-right_width-2+1" y2="top_height-1" />

 <!--Top curves--> 
    <line color="#ABB5A8" x1="0" y1="5" x2="2" y2="2"/>
    <line color="#ABB5A8" x1="2" y1="2" x2="5" y2="0"/>
    <line color="#ABB5A8" x1="width-right_width+5" y1="5" x2="width-right_width-2+5" y2="2"/>
    <line color="#ABB5A8" x1="width-right_width-2+5" y1="2" x2="width-right_width-5+5" y2="0"/>
 <!--Bottom curves--> 
    <line color="#ABB5A8" x1="0" y1="height-bottom_height" x2="2" y2="height-bottom_height+3"/>
    <line color="#ABB5A8" x1="2" y1="height-bottom_height+3" x2="5" y2="height-bottom_height+5"/>
    <line color="#ABB5A8" x1="width-right_width+5" y1="height-bottom_height" x2="width-right_width-2+5" y2="height-bottom_height+3"/>
    <line color="#ABB5A8" x1="width-right_width-2+5" y1="height-bottom_height+3" x2="width-right_width-5+5" y2="height-bottom_height+5"/>
</draw_ops>

<draw_ops name="max_background">

   <rectangle color="#E6EFE3" x="0" y="0" width="width" height="height" filled="true"/>

   <rectangle color="#E6EFE3" x="0" y="0" width="width-1" height="height-1" filled="false"/>

   <rectangle color="#E6EFE3" x="left_width-1" y="top_height-1"
	width="width-left_width-right_width+2" height="height-top_height-bottom_height" filled="true"/>

 <!--Title bar gradient--> 
 
    <gradient type="vertical" x="1" y="1" width="width-2" height="top_height-2">
        <color value="#FFFFFF" />
	<color value="#E6EFE3" />
    </gradient>

    <line color="#E6EFE3" x1="right_width" y1="top_height-1" x2="width-right_width-2+1" y2="top_height-1" />
</draw_ops>

<!--Set up draw_ops for drawing the title text-->

<!--Focused windows-->

<draw_ops name="title_text_focused">
  <clip x="0" y="0" width="width" height="height"/>
  <title color="#000000"
         x="(width - title_width) / 2" y="(height - title_height) / 2"/> 
</draw_ops>

 <!--Unfocused windows-->
 
<draw_ops name="title_text">
  <clip x="0" y="0" width="width" height="height"/>
  <title color="#B2B3B1"
         x="(width - title_width) / 2" y="(height - title_height) / 2"/>
</draw_ops>

<!--Title text-->

<draw_ops name="title_normal">
  <include name="title_text"/>
</draw_ops>

<draw_ops name="title_focused">
  <include name="title_text_focused"/>
</draw_ops>

<draw_ops name="title_utility">
  <include name="title_text"/>
</draw_ops>

<draw_ops name="title_utility_focused">
  <include name="title_text_focused"/>
</draw_ops>

<!--=======================================-->
<!--Use draw_ops to draw the window frames.-->
<!--=======================================-->

<!--Focused windows-->

<frame_style name="normal_focused" geometry="normal">
  <piece position="entire_background" draw_ops="background"/>
  <piece position="title" draw_ops="title_focused"/>

<!--Draw buttons in normal, prelight, and pressed states-->

  <button function="close" state="normal" draw_ops="close_button"/>
  <button function="close" state="prelight" draw_ops="close_button_prelight"/>
  <button function="close" state="pressed" draw_ops="close_button_pressed"/>
  <button function="minimize" state="normal" draw_ops="minimize_button"/>
  <button function="minimize" state="prelight" draw_ops="minimize_button_prelight"/>
  <button function="minimize" state="pressed" draw_ops="minimize_button_pressed"/>
  <button function="maximize" state="normal" draw_ops="maximize_button"/>
  <button function="maximize" state="prelight" draw_ops="maximize_button_prelight"/>
  <button function="maximize" state="pressed" draw_ops="maximize_button_pressed"/>
  <button function="menu" state="normal" draw_ops="menu_button"/>
  <button function="menu" state="prelight" draw_ops="menu_button_prelight"/>
  <button function="menu" state="pressed" draw_ops="menu_button_pressed"/>
  <button function="stick" state="normal" draw_ops="stick_button"/>
  <button function="stick" state="prelight" draw_ops="stick_button_prelight"/>
  <button function="stick" state="pressed" draw_ops="stick_button_pressed"/>
  <button function="unstick" state="normal" draw_ops="unstick_button"/>
  <button function="unstick" state="prelight" draw_ops="unstick_button_prelight"/>
  <button function="unstick" state="pressed" draw_ops="unstick_button_pressed"/>
  <button function="shade" state="normal" draw_ops="shade_button"/>
  <button function="shade" state="prelight" draw_ops="shade_button_prelight"/>
  <button function="shade" state="pressed" draw_ops="shade_button_pressed"/>
  <button function="unshade" state="normal" draw_ops="unshade_button"/>
  <button function="unshade" state="prelight" draw_ops="unshade_button_prelight"/>
  <button function="unshade" state="pressed" draw_ops="unshade_button_pressed"/>
  <button function="above" state="normal" draw_ops="above_button"/>
  <button function="above" state="prelight" draw_ops="above_button_prelight"/>
  <button function="above" state="pressed" draw_ops="above_button_pressed"/>
  <button function="unabove" state="normal" draw_ops="unabove_button"/>
  <button function="unabove" state="prelight" draw_ops="unabove_button_prelight"/>
  <button function="unabove" state="pressed" draw_ops="unabove_button_pressed"/>
</frame_style>

<!--Unfocused windows-->

<frame_style name="normal_unfocused" geometry="normal">
  <piece position="entire_background" draw_ops="background"/>
  <piece position="title" draw_ops="title_normal"/>

<!--Pressed states-->

  <button function="close" state="normal" draw_ops="close_button_inactive"/>
  <button function="close" state="pressed" draw_ops="close_button_pressed"/>
  <button function="minimize" state="normal" draw_ops="minimize_button_inactive"/>
  <button function="minimize" state="pressed" draw_ops="minimize_button_pressed"/>
  <button function="maximize" state="normal" draw_ops="maximize_button_inactive"/>
  <button function="maximize" state="pressed" draw_ops="maximize_button_pressed"/>
  <button function="menu" state="normal" draw_ops="menu_button_inactive"/>
  <button function="menu" state="pressed" draw_ops="menu_button_pressed"/>
  <button function="stick" state="normal" draw_ops="stick_button_inactive"/>
  <button function="stick" state="pressed" draw_ops="stick_button_pressed"/>
  <button function="unstick" state="normal" draw_ops="unstick_button_inactive"/>
  <button function="unstick" state="pressed" draw_ops="unstick_button_pressed"/>
  <button function="shade" state="normal" draw_ops="shade_button"/>
  <button function="shade" state="prelight" draw_ops="shade_button_prelight"/>
  <button function="shade" state="pressed" draw_ops="shade_button_pressed"/>
  <button function="unshade" state="normal" draw_ops="unshade_button"/>
  <button function="unshade" state="prelight" draw_ops="unshade_button_prelight"/>
  <button function="unshade" state="pressed" draw_ops="unshade_button_pressed"/>
  <button function="above" state="normal" draw_ops="above_button_inactive"/>
  <button function="above" state="pressed" draw_ops="above_button_pressed"/>
  <button function="unabove" state="normal" draw_ops="unabove_button_inactive"/>
  <button function="unabove" state="pressed" draw_ops="unabove_button_pressed"/>
</frame_style>

<!--Shading-->

<frame_style name="shaded_focused" geometry="normal" parent="normal_focused">
  <piece position="title" draw_ops="title_focused"/>
</frame_style>

<frame_style name="maximized_unfocused" geometry="normal_small_borders" parent="normal_unfocused">
  <piece position="entire_background" draw_ops="max_background"/>
</frame_style>

<frame_style name="maximized_focused" geometry="normal_small_borders" parent="normal_focused">
  <piece position="entire_background" draw_ops="max_background"/>
</frame_style>

<frame_style name="utility_unfocused" geometry="utility" parent="normal_unfocused">
  <piece position="title" draw_ops="title_utility"/>
</frame_style>

<frame_style name="utility_focused" geometry="utility" parent="normal_focused">
  <piece position="title" draw_ops="title_utility_focused"/>
</frame_style>

<frame_style name="border" geometry="border" parent="normal_unfocused">
  <piece position="entire_background" draw_ops="background"/>
  <piece position="title" draw_ops="blank"/>
</frame_style>

<frame_style_set name="normal">
<frame focus="yes" state="normal" resize="both" style="normal_focused"/>
<frame focus="no" state="normal" resize="both" style="normal_unfocused"/>
<frame focus="yes" state="maximized" style="maximized_focused"/>
<frame focus="no" state="maximized" style="maximized_unfocused"/>
<frame focus="yes" state="shaded" style="shaded_focused"/>
<frame focus="no" state="shaded" style="normal_unfocused"/>
<frame focus="yes" state="maximized_and_shaded" style="maximized_focused"/>
<frame focus="no" state="maximized_and_shaded" style="maximized_unfocused"/>
</frame_style_set>

<frame_style_set name="utility" parent="normal">
<frame focus="yes" state="normal" resize="both" style="utility_focused"/>
<frame focus="no" state="normal" resize="both" style="utility_unfocused"/>
<frame focus="yes" state="maximized" style="utility_focused"/>
<frame focus="no" state="maximized" style="utility_unfocused"/>
<frame focus="yes" state="shaded" style="utility_focused"/>
<frame focus="no" state="shaded" style="utility_unfocused"/>
<frame focus="yes" state="maximized_and_shaded" style="utility_focused"/>
<frame focus="no" state="maximized_and_shaded" style="utility_unfocused"/>
</frame_style_set>

<frame_style_set name="border">
<frame focus="yes" state="normal" resize="both" style="border"/>
<frame focus="no" state="normal" resize="both" style="border"/>
<frame focus="yes" state="maximized" style="border"/>
<frame focus="no" state="maximized" style="border"/>
<frame focus="yes" state="shaded" style="border"/>
<frame focus="no" state="shaded" style="border"/>
<frame focus="yes" state="maximized_and_shaded" style="border"/>
<frame focus="no" state="maximized_and_shaded" style="border"/>
</frame_style_set>

<window type="normal" style_set="normal"/>
<window type="dialog" style_set="normal"/>
<window type="modal_dialog" style_set="normal"/>
<window type="menu" style_set="normal"/>
<window type="utility" style_set="utility"/>
<window type="border" style_set="border"/>

<menu_icon function="close" state="normal" draw_ops="close_button"/>
<menu_icon function="maximize" state="normal" draw_ops="maximize_button"/>
<menu_icon function="unmaximize" state="normal" draw_ops="restore_button"/>
<menu_icon function="minimize" state="normal" draw_ops="minimize_button"/>

</metacity_theme>

I am far from an expert on this topic.

My issue centered mostly on using a theme which was designed to incorporate the "extra-border zone", in my case BlackMATE-border, vs the basic BlackMATE.

The very little that I did is expressed by the following diff report (mate-themes-3.22.26):

diff ../../BlackMATE/metacity-1/metacity-theme-3.xml metacity-theme-3.Oasis.xml
25,27c25,27
< 	<distance name="left_width" value="1" />
< 	<distance name="right_width" value="1" />
< 	<distance name="bottom_height" value="1" />
---
> 	<distance name="left_width" value="5" />
> 	<distance name="right_width" value="5" />
> 	<distance name="bottom_height" value="6" />
208a209,220
> <!-- START of innsert -->
> 
> <draw_ops name="rounded_titlebar_unfocused">
> 	<include name="titlebar_fill_unfocused" />
> </draw_ops>
> 
> <draw_ops name="rounded_titlebar_unfocused_alt2">
> 	<include name="titlebar_fill_unfocused_alt2" />
> </draw_ops>
> 
> <!-- END of innsert -->
> 
967a980,981
> 	<piece position="titlebar" draw_ops="titlebar_fill_unfocused" />
> <!--
968a983
> -->

As for the other 2 files:

diff ../../BlackMATE/metacity-1/metacity-theme-1.xml metacity-theme-1.xml
16,17c16,17
<   <distance name="left_width" value="2"/>
<   <distance name="right_width" value="2"/>
---
>   <distance name="left_width" value="5"/>
>   <distance name="right_width" value="5"/>


diff ../../BlackMATE/metacity-1/metacity-theme-2.xml metacity-theme-2.xml

16,17c16,17
<   <distance name="left_width" value="2"/>
<   <distance name="right_width" value="2"/>
---
>   <distance name="left_width" value="5"/>
>   <distance name="right_width" value="5"/>

As you can see, I never found anything that dealt with the "width" at the "top". :frowning:

Marco allows for a invisible border zone for resizing (with compositing enabled, which I believe it is on your system). It should be able to provide the experience you're after. With Yaru-MATE-light theme and Marco, I have a generous border zone for resizing. You could try that theme (or another) and see if the issue is resolved. If it isn't, that seems like a strong signal that there is a regression in Marco. If it is; then there might still be a regression in Marco or some new glitch in either Marco or the Adwaita theme as a result of the evolving theme/manager/compositor environment.

This issue is not about the border thickness.

If, as your videos indicated, it is about the width for grabbing the edge for resizing, then the developers have lumped that in inseparably with window borders, fortunately or not. At least, that is what one of the developers has told me when I was working thru my issue.