[comp.windows.x] Strange screen garbage with R4 and gwm

garyo@THINK.COM (Gary Oberbrunner) (01/09/90)

Has anyone else noticed strange things going on in window decorations and
icons with gwm 1.5.1.5 (or any other wm) under X11R4?  I'm running on a
color Sun4/110, and I often see, for example, one of the little corner
bitmaps of the terminal icon just disappears (leaving white (0)).  Or same
for the frame-2d: sometimes some of it will disappear (and the boundaries
of the disappeared section are usually boundaries between, say, the bottom
and corner bitmaps), and no amount of refreshing the screen fixes it; even
redecorating doesn't help.  This usually happens (obviously) when a window
becomes exposed.  Is the server trashing pixmap memory?  Anyone have any
idea what's going on here?

I don't think this is a gwm bug, but I've only been able to quantify it on
gwm's window decorations, so I've posted this to both lists.

				- Gary Oberbrunner
				Thinking Machines Corporation
				245 First St
				Cambridge, MA 02142
				garyo@think.com

hook@cheddar.cc.ubc.ca (Chris Hook) (01/10/90)

In reference to this strange behavior of wm's (i.e., little sections
of windows get cut out and no amount of refreshing gets rid of them),
I'm getting it on out sun 3/60's (color) using twm (all X11R4). As 
far as gwm goes, I haven't yet rebuilt it for X11R4 for the 3/60's, but
I do get strange behavior using gwm (built for X11R4) on our SS1's.
The problem is, every now and then, then whole wm will freeze up, and
there is no way out other than to go to another machine and kill gwm!
This is using gwm-1.5.1.5. When I built it before Christmas for X11R3,
I never had this problem occur.

Next beef:
  With X11R4, I am not able to generate any banner messages in any wm's
banner area. With X11R3 (and with suntools) I used the following (successfully);

#  .banners -- a file to be sourced if you want to have banners that
#               tell you what machine and where you are for a window.
#
set headerstring="`/bin/hostname`:"

alias cd        'cd \!*; echo -n "\"'

alias dt        'popd +\!^ ; echo -n "\"'

alias pd        'echo -n "Pushing "; pushd \!^ ; echo -n "\"'

alias px        'echo -n "Popping to: "; popd ;       echo -n "\"'

alias sg        'echo -n "Swapping to: "; pushd;      echo -n "\"'

alias s 'echo -n "Swapping to: "; pushd +\!^; echo -n "\"'

alias d      'dirs'

cd .
setenv BANNERS ON

by simply calling this file, say .banners, one would just source .banners,
and you directory would be displayed on the window banner. I have several users
who are somewhat upset about losing this feature, and I am wondering how to
restore this for xterms in X11R4? (I think there is a related discussion to
this on the ESC and Control-G syntax, but I don't have a clear connection
to my problem).


Thanks for whoever can be of help,
Chris Hook
p.s. - e-mail to hook@geog.ubc.ca

rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (01/10/90)

    In reference to this strange behavior of wm's (i.e., little sections
    of windows get cut out and no amount of refreshing gets rid of them),
    I'm getting it on out sun 3/60's (color) using twm (all X11R4).

(I've been running on a 3/60 for a long time, I've never seen this problem.)
Please send me your .twmrc, and some deterministic procedure for reproducing
the problem.  Also, please tell me what compiler you used, and what (if any)
configuration changes you made to the system.