Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #240128 > unrolled thread

Make wider selectable edge in Mate windows

Started byJeremy Ardley <jeremy@ardley.org>
First post2021-09-19 03:50 +0200
Last post2021-09-19 16:20 +0200
Articles 7 — 5 participants

Back to article view | Back to linux.debian.user


Contents

  Make wider selectable edge in Mate windows Jeremy Ardley <jeremy@ardley.org> - 2021-09-19 03:50 +0200
    Re: Make wider selectable edge in Mate windows Dedeco Balaco <dedeco.balaco@yahoo.com> - 2021-09-19 04:00 +0200
      Re: Make wider selectable edge in Mate windows Jeremy Ardley <jeremy@ardley.org> - 2021-09-19 04:30 +0200
        Re: Make wider selectable edge in Mate windows David Wright <deblis@lionunicorn.co.uk> - 2021-09-19 07:00 +0200
          Re: Make wider selectable edge in Mate windows songbird <songbird@anthive.com> - 2021-09-19 14:40 +0200
            Re: Make wider selectable edge in Mate windows Peter Ehlert <pb21a@sdi-baja.com> - 2021-09-19 15:40 +0200
            Re: Make wider selectable edge in Mate windows songbird <songbird@anthive.com> - 2021-09-19 16:20 +0200

#240128 — Make wider selectable edge in Mate windows

FromJeremy Ardley <jeremy@ardley.org>
Date2021-09-19 03:50 +0200
SubjectMake wider selectable edge in Mate windows
Message-ID<CYU7U-R5-3@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

I'm running Mate on Debian 10.

The problem is that the width of the window edge that you pull to change 
the size of a window seems to be only 1 pixel wide.

I've heard of this problem in gnome along with some fixes, but I've not 
found any solution for Mate.

Suggestions?


-- 
Jeremy

[toc] | [next] | [standalone]


#240130

FromDedeco Balaco <dedeco.balaco@yahoo.com>
Date2021-09-19 04:00 +0200
Message-ID<CYUhz-U7-3@gated-at.bofh.it>
In reply to#240128

Em 18/09/2021 22:42, Jeremy Ardley escreveu:
> I'm running Mate on Debian 10.
> 
> The problem is that the width of the window edge that you pull to change 
> the size of a window seems to be only 1 pixel wide.
> 
> I've heard of this problem in gnome along with some fixes, but I've not 
> found any solution for Mate.
> 
> Suggestions?
> 
> 

I also use Mate. Until a few days ago, I was in Debian 9. Now, i updated
to Debian 11. Most things in Mate are basically the same, for me.

The issue with 1 pixel borders is not for every window. Mate terminal
has wider lines to resize it; Thunderbird 52 too; Pluma too; gcalculator
too; vim too; Telegram too; snes9x too; vivaldi too.

In my opinion, there are *bad programs* that do not build their window
with best practices. I have seen a program that has 1 pixel borders, but
has bigger corners to resize the window. Have you tried the corners? I
do not remember which program it was. All i tested, right now, are good
with their borders.

[toc] | [prev] | [next] | [standalone]


#240132

FromJeremy Ardley <jeremy@ardley.org>
Date2021-09-19 04:30 +0200
Message-ID<CYUKB-1oH-3@gated-at.bofh.it>
In reply to#240130

[Multipart message — attachments visible in raw view] — view raw

On 19/9/21 9:55 am, Dedeco Balaco wrote:
>
> Em 18/09/2021 22:42, Jeremy Ardley escreveu:
>> I'm running Mate on Debian 10.
>>
>> The problem is that the width of the window edge that you pull to change
>> the size of a window seems to be only 1 pixel wide.
>>
>> I've heard of this problem in gnome along with some fixes, but I've not
>> found any solution for Mate.
>>
>> Suggestions?
>>
>>
> I also use Mate. Until a few days ago, I was in Debian 9. Now, i updated
> to Debian 11. Most things in Mate are basically the same, for me.
>
> The issue with 1 pixel borders is not for every window. Mate terminal
> has wider lines to resize it; Thunderbird 52 too; Pluma too; gcalculator
> too; vim too; Telegram too; snes9x too; vivaldi too.
>
> In my opinion, there are *bad programs* that do not build their window
> with best practices. I have seen a program that has 1 pixel borders, but
> has bigger corners to resize the window. Have you tried the corners? I
> do not remember which program it was. All i tested, right now, are good
> with their borders.
>

Testing a few just now, Mate Terminal, Thunderbird, Google Chrome all 
have the 1 pixel border, even in the corner.

My Mate version is 1.20.4 but this problem has been around for versions 
as long as I remember.


-- 
Jeremy

[toc] | [prev] | [next] | [standalone]


#240135

FromDavid Wright <deblis@lionunicorn.co.uk>
Date2021-09-19 07:00 +0200
Message-ID<CYX5L-2Kk-1@gated-at.bofh.it>
In reply to#240132
On Sun 19 Sep 2021 at 10:22:24 (+0800), Jeremy Ardley wrote:
> On 19/9/21 9:55 am, Dedeco Balaco wrote:
> > Em 18/09/2021 22:42, Jeremy Ardley escreveu:
> > > I'm running Mate on Debian 10.
> > > 
> > > The problem is that the width of the window edge that you pull to change
> > > the size of a window seems to be only 1 pixel wide.
> > > 
> > > I've heard of this problem in gnome along with some fixes, but I've not
> > > found any solution for Mate.
> > > 
> > > Suggestions?
> > > 
> > > 
> > I also use Mate. Until a few days ago, I was in Debian 9. Now, i updated
> > to Debian 11. Most things in Mate are basically the same, for me.
> > 
> > The issue with 1 pixel borders is not for every window. Mate terminal
> > has wider lines to resize it; Thunderbird 52 too; Pluma too; gcalculator
> > too; vim too; Telegram too; snes9x too; vivaldi too.
> > 
> > In my opinion, there are *bad programs* that do not build their window
> > with best practices. I have seen a program that has 1 pixel borders, but
> > has bigger corners to resize the window. Have you tried the corners? I
> > do not remember which program it was. All i tested, right now, are good
> > with their borders.
> > 
> 
> Testing a few just now, Mate Terminal, Thunderbird, Google Chrome all
> have the 1 pixel border, even in the corner.
> 
> My Mate version is 1.20.4 but this problem has been around for
> versions as long as I remember.

Perhaps it's in the themes? I've never used Mate, but
I downloaded bullseye mate-themes, and see files like
/usr/share/themes/Green-Submarine/metacity-1/metacity-theme-1.xml:

$ head -n 24 metacity-theme-1.xml 
<?xml version="1.0"?>
<!--    $Id: metacity-theme-1.xml,v 1.4 2003/12/10 13:57:58 jimmac Exp $         -->
<metacity_theme>
<info>
  <name>Green-Submarine</name>
  <author>Wolfgang Ulbrich</author>
  <copyright>&#194; 2013</copyright>
  <date>Apil, 2013</date>
  <description>Dark theme based on Gilouche legacy.</description>
  <!-- based on the Gilouche theme -->
</info>
 
<frame_geometry name="normal" rounded_top_left="true" rounded_top_right="true" rounded_bottom_left="false" rounded_bottom_right="false">
  <distance name="left_width" value="1"/>
  <distance name="right_width" value="1"/>
  <distance name="bottom_height" value="1"/>
  <distance name="left_titlebar_edge" value="4"/>
  <distance name="right_titlebar_edge" value="4"/>
  <aspect_ratio name="button" value="1"/>
  <distance name="title_vertical_pad" value="1"/>
  <border name="title_border" left="1" right="1" top="2" bottom="3"/>
  <border name="button_border" left="1" right="1" top="4" bottom="2"/>
</frame_geometry>

$ 

whereas /usr/share/themes/TraditionalGreen/metacity-1/metacity-theme-1.xml:

$ head -n 24 metacity-theme-1.xml 
<?xml version="1.0"?>
<!--    $Id$     -->
<metacity_theme>
<info>
        <name>TraditionalGreen</name>
        <author>Wolfgang Ulbrich &lt;chat-to-me@raveit.de&gt;</author>
        <copyright>&#194; 2013 Wolfgang Ulbrich</copyright>
        <date>March, 2013</date>
        <description>The Traditional Green Metacity Theme</description>
</info>

<!-- ::: GEOMETRY ::: -->
<frame_geometry name="normal" rounded_top_left="true" rounded_top_right="true" rounded_bottom_left="false" rounded_bottom_right="false">
        <distance name="left_width" value="4"/>
        <distance name="right_width" value="4"/>
        <distance name="bottom_height" value="4"/>
        <distance name="left_titlebar_edge" value="4"/>
        <distance name="right_titlebar_edge" value="4"/>
        <aspect_ratio name="button" value="1.0"/>
        <distance name="title_vertical_pad" value="0"/>
        <border name="title_border" left="2" right="2" top="4" bottom="3"/>
        <border name="button_border" left="1" right="1" top="2" bottom="2"/>
</frame_geometry>

$ 

"4 is greater than 1".

So perhaps confirm whether this is the answer by changing themes,
and then see whether you can modify your own theme, either the
"official" way or by hacking it. Of course, hacking it might
require a self-consistent set of changes further down the file. (Or
files: I have no idea of the significance of metacity-theme-[1-3].xml)

Cheers,
David.

[toc] | [prev] | [next] | [standalone]


#240150

Fromsongbird <songbird@anthive.com>
Date2021-09-19 14:40 +0200
Message-ID<CZ4gW-7dU-7@gated-at.bofh.it>
In reply to#240135
Dedeco Balaco wrote:
...
> My theme is a personalized one. I can give information about it, Jeremy.
> Just tell me what and how.

  i've been running MATE via testing for a long time now
(and also keep a spare stable partition for booting in
case of trouble) and i've not noticed any problem with the
border becoming more difficult to click on for resizing or
whatever but i primarily use the Mate Terminal and vim and
that just all works as it should.  i don't do anything
fancy with the title nor do i look at it much.  for the
shell prompt that is put in my .bashrc .login or .profile,
i'm not sure what order those are applied, but it all works
so i leave it alone.

  once you get into customising a theme that is beyone my
expertise so good luck with figuring that out.  :)  my basic
advice for that case would be to go back and find a default
that works and then change one thing at a time until you
figure out where you made the mistake that is messing things
up.


  songbird

[toc] | [prev] | [next] | [standalone]


#240157

FromPeter Ehlert <pb21a@sdi-baja.com>
Date2021-09-19 15:40 +0200
Message-ID<CZ5cZ-7N6-5@gated-at.bofh.it>
In reply to#240150
On 9/19/21 5:31 AM, songbird wrote:
> Dedeco Balaco wrote:
> ...
>> My theme is a personalized one. I can give information about it, Jeremy.
>> Just tell me what and how.
>    i've been running MATE via testing for a long time now
> (and also keep a spare stable partition for booting in
> case of trouble) and i've not noticed any problem with the
> border becoming more difficult to click on for resizing or
> whatever but i primarily use the Mate Terminal and vim and
> that just all works as it should.  i don't do anything
> fancy with the title nor do i look at it much.  for the
> shell prompt that is put in my .bashrc .login or .profile,
> i'm not sure what order those are applied, but it all works
> so i leave it alone.

same here, but I run the current Stable... it just works

true, sometimes the edge is a little hard to grab, but I attribute that 
to my lack of dexterity.

>
>    once you get into customising a theme that is beyone my
> expertise so good luck with figuring that out.  :)  my basic
> advice for that case would be to go back and find a default
> that works and then change one thing at a time until you
> figure out where you made the mistake that is messing things
> up.
>
>
>    songbird
>
>

[toc] | [prev] | [next] | [standalone]


#240160

Fromsongbird <songbird@anthive.com>
Date2021-09-19 16:20 +0200
Message-ID<CZ5PH-8fi-5@gated-at.bofh.it>
In reply to#240150
songbird wrote:

  i should have also mentioned mate-tweak which i've had installed
for a long time too.


  songbird

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web