Chandra X-Ray Observatory (CXC)
Skip to the navigation links
Last modified: 28 November 2012

URL: http://cxc.harvard.edu/chips/bugs/windows.html

Bugs: windows & the display setting


Table of Contents

Caveats

Bugs


Caveats

Turning off redraw may be slow when running remotely

Turning redraw off by calling

set_window(["display", False])

can be a very slow command especially if running remote. It may be faster to start with the window display off, or if grouping commands in atomic units, use undo buffers.


Bugs

When display is turned off, the font display may have rendering problems.
(64-bit Linux)

This is most noticeable on axes tick labels, but can also be seen with other text.

Workaround:

Try changing the window display to True before calling print_window; e.g.

set_window(['display', True])

While inside an undo buffer, block redraw will be turned off.

However, to increase speed the contents of the chips window are not refreshed. So while nothing is drawn to the window, if the window is obscured by another window, the obscured pixels are lost and will not be refreshed if the obscured part is made visible again. That part of the chips window will be black.

Undo-ing a window delete

Calling undo after deleting a window which had its redraw parameter set to False will re-create the window but display all its contents on screen.


Last modified: 28 November 2012
CXC logo

The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory. 60 Garden Street, Cambridge, MA 02138 USA.   Email: cxcweb@head.cfa.harvard.edu Smithsonian Institution, Copyright © 1998-2012. All rights reserved.