[comp.sys.mac.programmer] Window-closing slowdown question

kiran@copper.ucs.indiana.edu (kiran wagle) (02/14/91)

Here's a wierd one:

For some time I've been noticing the following:

At  seemingly random intervals the screen redrawing seems to slow way
down.
In particular, a large window will vanish from top to bottom, taking
almost a second to disappear. (The zoom effect is turned off)
Small windows do it too.

Going to the control panel & changing from 256 colors to 16 & back
will "reset," if you will,  whatever is causing the problem.

This happens intermittently on my si;
I've also noticed it on a ][ whenn sim city was being run.

And now: I just got ResEdit 2.1 and (this has happened twice) when I
click on the "splash screen" the dark blue background turns bright
yellow and i get the above "slowdown. When I went to the control
panel, I found that the little graph of 256 colors was turned
sideways! By that I mean that the little stripes which normally run
horizontzlly  ran vertically (i can see this is hard to describe in
words). Using the technique of changing the display modes cures the
problem.

Any ideas, folks???
 

MUGGC@CUNYVM.BITNET (AGS) (02/14/91)

With only a limited number of colors available, the Palette Manager will
"borrow" colors from other windows to satisfy the needs of the front
window. There are varying degrees of courtesy that can be assigned to each
color the front window needs. What is "borrowed" is actually an entry in
a color table -- the RGB spec is only used if it matches. Thus a
particular RGB spec used by another window may be modified for the front
window. For a detailed discussion of these issues read the palette manager
chapter (IM V, pp.151-169). There is a brief introduction in  d e v e l o p,
January '90 issue.

Alexander Smith
cuny->gsuc->music