On Thu, Apr 21, 2016 at 11:49:12PM +0100 I heard the voice of
Aaron Sloman, and lo! it spake thus:
>
> > I've fetched the the tar version on my department machine running
> >
> > Scientific Linux release 6.7 (Carbon)
>
> After restarting the new ctwm on SL or invoking a menu option to
> re-read .ctwmrc,
[ note that these are the same thing... ]
> menus come up initially without the menu items showing, only the
> menu name at the top and the menu frame.
>
> Below that I see the whole menu only as a black rectangle.
Wacky wacky. I remember you mentioning having seen it once before;
it's happening repeatably?
Some random unsorted thoughts:
- It might be interesting to know whether it's something about the X
server or the libraries. You could dig into that by running it both
ways across a `ssh -Y` session; sitting on the SL box ssh'd into
your Fedora system to seem if it's an artifact of the server, and
sitting on your Fedora ssh'd into the SL to see if it's the libs.
- Is there a compositor running on the display?
- Does it affect the "synthetic" menus (e.g., f.menu "TwmWindows")?
The only thing that immediately comes to mind trying to track through
the code is that somehow when it gets pulled up it doesn't think they
get exposed right the first time. You could maybe try just painting
them unconditionally in PaintMenu(), with something like
=== modified file 'menus.c'
--- menus.c 2016-02-08 11:10:48 +0000
+++ menus.c 2016-04-24 09:38:29 +0000
@@ -686,10 +686,7 @@
/* be smart about handling the expose, redraw only the entries
* that we need to
*/
- if(e->xexpose.y <= (y_offset + Scr->EntryHeight) &&
- (e->xexpose.y + e->xexpose.height) >= y_offset)
{
PaintEntry(mr, mi, True);
- }
}
XSync(dpy, 0);
}
--
Matthew Fuller (MF4839) | [email protected]
Systems/Network Administrator | http://www.over-yonder.net/~fullermd/
On the Internet, nobody can hear you scream.