tvrd and multiple monitors [message #49916] |
Wed, 30 August 2006 01:36 |
Marshall Perrin
Messages: 44 Registered: December 2005
|
Member |
|
|
I frequently work using a second monitor plugged into my Powerbook
for extra screen space. I just now encountered an odd bug with
the good Dr. Fanning's TVRD.PRO and the use of that second monitor.
Here's the scenario. I fire up IDL, running it in an xterm on my
primary monitor, and plot some things to a large display window on
my second monitor. Then I want to save that plot to disk - but not so fast!
IDL> result = tvread(filename=outfile,/png,/nodialog)
% TVRD: Unable to create X windows Window completely off screen, nothing read.
Window off screen? What happens if I drag that window back over onto my
primary monitor?
IDL> result = tvread(filename=outfile,/png,/nodialog)
IDL>
Voila, things work fine. So there's an easy work-around here - just move the
window when you want to save the plot - but that's annoying! Is this a
problem that others also have, or is it perhaps specific to my situation
(IDL 6.1, Mac OX 10.4, G4 Powerbook)? I'm curious if this behavior
is the same on a multiheader Linux box...
- Marshall
|
|
|