Re: FVWM: a HUGE window ... a bug?

From: Dan Espen <dane_at_mk.bellcore.com>
Date: Fri, 21 Nov 1997 11:55:35 -0500

jaakko.puurunen_at_cimcorp.fi writes:
> I have a problem with FVWM2 that I don't have with other window
> managers such as FVWM, Afterstep, twm, Exceed and HP X-Terminals.
>
> The problem is that with FVMW2 this windows is really huge
> (1596x6384 pixels) when it is supposed to be something like 533x399
> pixels (533*3=1599, 399*16=6384).
>
> $ xprop
> WM_NORMAL_HINTS(WM_SIZE_HINTS):
> user specified location: 0, 768
> !!! !!!
> user specified size: 533 by 399
> !!! perhaps something goes wrong here? --------- !!!
> program specified minimum size: 355 by 266
> program specified minimum aspect ratio: 4/1
> program specified maximum aspect ratio: 1/4

There is a bug here, but it's in the application. Note that the
application has declared the minimum as 4/1 and the maximum as 1/4.
The application seems to think that 4 is less than .25. I got better
results with the ratios in the other order.

It seems like the X call that sets these parameters (XSetWMSizeHints)
doesn't do any range checking. Perhaps fvwm2 should. I've been able
to recreate the problem, and I may submit a patch to cover this case.
(Of course anyone else that wants to can feel free.)

I can't really speak for the other window managers that didn't produce
a problem with this application, but I did see enough difference
between fvwm2 and ctwm to believe that ctwm might just ignore the bad
ratios and leave the window alone.

--
Dan Espen                                Phone: (732) 699-5570
444 Hoes Lane  Room RRC 1C-214           E-mail: dane_at_mk.bellcore.com
Piscataway, NJ 08854
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Fri Nov 21 1997 - 11:00:44 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:01 BST