Re: FVWM: WindowList issue

2024-04-01 Thread Jaimos Skriletz
On Mon, Apr 1, 2024 at 9:47 AM Pavel Vávra  wrote:
>
>   I use fvwm 2.6.8 from Devuan oldstable distribution (I think its same 
> binary as from Debian oldstable). I am testing default fvwm config and I 
> found different results when I try to use WindowList from my old config and 
> when I want to use new config based on default config.
> 
> Has anybody idea why?

This is a known bug with the default-config in fvwm 2.x (which is no
longer a supported release). The issue is that the default-config
didn't define the ItemFormat correctly to account for additional
columns (which aren't used directly in the default-config). But menus
that add these additional columns will not be shown. This was fixed in
fvwm3, and the fixed ItemFormat from the fvwm3 default-config is:

MenuStyle * ItemFormat "%s%|%3.1i%5.3l%5l%5r%5.3>%|"

Add that to your config (replace the similar line in the
default-config) and things should work again.

As a side note, since fvwm2 is no longer supported, if you want to
build an fvwm3 package for any debian based systems, follow the
instructions here:

https://github.com/somiaj/fvwm3-debian/

The debian build tools automate most of the process, so outside of
having to install the build dependencies, it is fairly straight
forward. This should work on oldstable, though I personally use it on
stable.

jaimos



FVWM: WindowList issue

2024-04-01 Thread Pavel Vávra
Hi all,
  I use fvwm 2.6.8 from Devuan oldstable distribution (I think its same binary 
as from Debian oldstable). I am testing default fvwm config and I found 
different results when I try to use WindowList from my old config and when I 
want to use new config based on default config.
When I use my old config, Windowlist works as expected, i.e. when I want to see 
window geometry, I use this binding:
Mouse 3 R   A   WindowList mouse -1p -1p
... and I see Windowlist with 2 columns (as expected)
Using new config this binding leads to list with only 1 column without geometry.
I try
Mouse 3 R   A   WindowList mouse -1p -1p Geometry
... but it didn't help.

When I do not want to see geometry in old config, I use
Mouse 3 R   A   WindowList mouse -1p -1p NoGeometry
... and I see Windowlist with one column and centered title
but in new config I see Windowlist with one column, but title is left adjusted.

Has anybody idea why?

Thank you for your answer,
  P.