scjones@thor.UUCP (Larry Jones) (03/10/91)
I'm working on a new server, and I've started with the sample server using the CFB code. I've got it up and running, but I'm having a bit of a problem with backing store. If I run twm and xlogo and pop-up the twm menu over top of xlogo, the menu pops up fine and usually pops down fine too, with xlogo being redrawn from backing store without any expose event. However, about one time out of three, when the menu pops down, it leaves a vertical black line one pixel wide across xlogo where the right hand edge of the menu was. Has anyone seen this before and know what the fix is? I know, "Use the source, Luke," but I thought I'd ask before digging in. (Hummm, maybe I should ask AT&T... ;-) ---- Larry Jones, SDRC, 2000 Eastman Dr., Milford, OH 45150-2789 513-576-2070 Domain: scjones@thor.sdrc.com Path: uunet!sdrc!thor!scjones We seem to be out of gun powder. -- Calvin
keith@expo.lcs.mit.EDU (Keith Packard) (03/10/91)
> However, > about one time out of three, when the menu pops down, it leaves a > vertical black line one pixel wide across xlogo where the right > hand edge of the menu was. This sounds like you're having trouble with the menu border not getting included in the exposed region sent off to the backing store code. The most likely cause of this is when the menu is resized while mapped; the R4 backing store code continued to have troubles in that area. The fix is to replace most of the code which handles this (in miBSTranslateBackingStore, SlideAndSizeWindow, miValidateTree and miHandleExposures) with correct code. I don't have any real help, other than FINR. Try making sure the menu and application window aren't resized while mapped and see if the troubles still exist.