[1697] in SIPB bug reports
Re: [kpchan@ATHENA.MIT.EDU: vax 7.2R: idraw]
daemon@ATHENA.MIT.EDU (Chris VanHaren)
Fri Feb 22 09:24:15 1991
To: "Jonathan I. Kamens" <jik@pit-manager.MIT.EDU>
Cc: bug-sipb@ATHENA.MIT.EDU
From: Chris VanHaren <vanharen@mit.edu>
Date: Fri, 22 Feb 91 09:23:48 EST
> I suspect there are two bugs here:
>
> 1. Somehow, idraw is requesting a ridiculous size.
>
> 2. Mwm is accepting idraw's request, instead of restricting it to be
> the size of the screen.
>
> jik
Right-o on part 1. Start up idraw, run xprop, and click on the idraw
window. Part of what xprop tells you is this:
WM_NORMAL_HINTS(WM_SIZE_HINTS):
program specified size: 531 by 638
program specified minimum size: 32 by 1
program specified maximum size: 32123 by 32123
program specified resize increment: 1 by 1
Notice that the program specified maximum size is ridiculous. Idraw has
every right to set whatever it wants, but this may be a bit much.
Especially for a program that has a panner/zoom function.
Part 2 is not a bug. From the mwm manpage (sections taken from the
bottom of page 9, the middle of page 10, and the bottom of page 15 / top
of 16, respectively) :
Specific Appearance and Behavior Resources
Name Class Value Type Default
__________________________________________________________________________
.
.
.
maximumMaximumSize MaximumMaximumSize wxh (pixels)2X screen w&h
.
.
.
maximumMaximumSize (class MaximumMaximumSize)
This resource is used to limit the maximum size of a
client window as set by the user or client. The
resource value is widthxheight (e.g., 1024x1024)
where the width and height are in pixels. The
default value of this resource is twice the screen
width and height.
So, then, mwm is acting just as it said it would. If the user would
like to make mwm force maximumMaximum to be the size of the screen, he
can do so, by adding a resource line of the form:
Mwm*maximumMaximumSize: 1024x864
To his .Xresources, re-loading his resources, and restarting mwm. While
the spec I gave above is the screen size of a vax, he may wish to choose
1024x768 instead so as to accomodate the RT's. Or just choose 1024x1024
or something. It is unfortunate that mwm doesn't allow the user to
specify this resource in terms of multiples of the screen size (as mwm
does internally when setting the default)... that could be considered a
feature request, I suppose.
Jonathan, should I take care of responding to the user or do you do
that? I can edit the above message and send it as a reply to him, if
you like... let me know.
Thanks,
-C.
>
> ----- Forwarded message
> From: kpchan@ATHENA.MIT.EDU
> To: bugs@ATHENA.MIT.EDU
> Subject: vax 7.2R: idraw
> Date: Thu, 14 Feb 91 14:01:23 EST
>
> System name: w20-575-32
> Type and version: VAXSTAR 7.2R
> Display type: SM
>
> What were you trying to do?
> Try to expand the window size to maximun (i.e. cover the whole screen.) by click on the top-right button or Alt-F9.
>
> What's wrong:
> I get a window 4 times the size of the screen. I can only see
> the top left quarter of the widow.
>
> What should have happened:
> The size should be just cover the whole screen.
>
> Please describe any relevant documentation references:
> nil
>
> ----- End of forwarded message