Title: | DECWINDOWS 26-JAN-89 to 29-NOV-90 |
Notice: | See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit |
Moderator: | STAR::VATNE |
Created: | Mon Oct 30 1989 |
Last Modified: | Mon Dec 31 1990 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 3726 |
Total number of notes: | 19516 |
I have a customer who wants to use StaticGray for a window which he creates. When he does that the image that apppears on the screen looks like a negative until he moves the pointer into the window. At that time, all the other windows disappear! And the created window is as expected. He moves the pointer back out of the StaticGray window and the others reappear and the created window goes back to being a negative. I had him recompile his program using GrayScale. Now when he moves the pointer over the new window, everything disappears! Move the pointer back and the original windows reappear in perfect color. What should I be looking for? I do have a copy of the customer's very short program which I can enter here. Thanks, Irving Waldo WSR Customer Support
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
3504.1 | watch your colormap | OXNARD::KLEE | Ken Lee | Mon Oct 22 1990 19:16 | 17 |
The behaviour you are seeing is correct. Most applications will use the default colormap. You are installing a gray scale colormap for your window. Since your system probably does not have enough room for both colormaps, it must switch between the two. Under the ICCCM, the window manager is responsible for loading the correct colormap. Most window managers install the colormap for the window that has input focus. When one colormap is active, window expecting the other will get random colors, quite possibly all black or all white. If this is not desirable, your two options are (1) reduce your use of colors and design the default colormap so that all applications can share it or (2) buy a machine with a larger colormap. A machine with an 8 bit frame buffer can support 2**8 colors. A machine with a 24 bit frame buffer can support 2**24 colors. Ken | |||||
3504.2 | question | MORO::WALDO_IR | Tue Oct 30 1990 19:23 | 8 | |
Thanks Ken. The customer has a DECstation 5000 with 8 MEG and a VR297 (16" color) with 8 plane color. What do you mean by "enough room"? Memory size or bit frame buffers? Irv | |||||
3504.3 | colormap room | OXNARD::KLEE | Ken Lee | Tue Oct 30 1990 20:07 | 4 |
I meant enough room in the system colormap. Ken |