Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!udel!haven.umd.edu!mimsy!mojo!russotto From: russotto@eng.umd.edu (Matthew T. Russotto) Newsgroups: comp.sys.mac.system Subject: Re: Teflon Colors (was Re: Apple's incompatibility with itself) Message-ID: <1991Jun10.190328.2421@eng.umd.edu> Date: 10 Jun 91 19:03:28 GMT References: <1991Jun6.211643.5064@neon.Stanford.EDU> <11024@pogo.WV.TEK.COM> <1027@goblin.ntg.com> Sender: news@eng.umd.edu (C-News) Organization: College of Engineering, Maryversity of Uniland, College Park Lines: 33 In article <1027@goblin.ntg.com> dplatt@ntg.com (Dave Platt) writes: >I believe we're seeing an interaction of three factors: > >[1] A color-hungry application has been run, has a window open, and has > requested lots of colors. The Palette Manager has given it most of > the device's colortable, including the entries used by Apple's > pastel tints. > >[2] The Finder has been switched forwards... but the Finder does _not_ > request lots of colors in its palettes. It seems to be satisfied > with just black and white and (perhaps) a shade of gray or two. For > this reason, when you switch the Finder forwards, the Palette > Manager finds that the existing device colortable satisfies the > Finder's needs, and it does _not_ update the colortable or force a > screen redraw. > >[3] The new Window/Control Manager color-management code finds that the > pastel tints it wants are not available, and reverts to Plan B (old- > style scrollbars). It seems unwilling to try Plan A.5... using any > of the existing colors in the color table. Suggested kludge: pltt 0 is used for any window which doesn't have its own palette (and presumably, the Finder's windows don't, or there wouldn't be a problem). Give the Finder a pltt 0 resource containing the colors needed for the controls. I used this kludge in the opposite direction to keep the palette manager from interfering with an application which needed full control of the color table-- I made a pltt 0 with only black and white. -- Matthew T. Russotto russotto@eng.umd.edu russotto@wam.umd.edu .sig under construction, like the rest of this campus.