Re: the "real" screen size [message #73023 is a reply to message #73022] |
Mon, 25 October 2010 07:07   |
Carsten Lechte
Messages: 124 Registered: August 2006
|
Senior Member |
|
|
On 25/10/10 15:32, David Fanning wrote:
> Ah, is this what Carsten means:
>
> IDL> device, get_screen_size=s
> IDL> print,s
> 1280 1024
> IDL> window, xsize=1280, ysize=1024
> IDL> print, !d.x_size, !d.y_size
> 1280 1024
Does that window then have a usable graphics area of 1280x1024, i.e.
the window including borders and title bar is a bit larger than your
screen? Or do the sizes in !D lie to you and the usable window size is
really smaller than that?
In that case, the assumption is that the windowing system will
automatically give you a properly maximized window if you request a
size that is too large to be displayed AND the actual size is
correctly reflected in the !D system variable.
We have already found that this assumption does not seem to hold on
windows. And one can probably find a window manager on unix for which
it does not hold either.
chl
|
|
|