Red Hat Bugzilla – Bug 190331
XmList widget size problem
Last modified: 2007-11-30 17:11:31 EST
Description of problem:
When using openmotif for xmgrace as provided by fc5 xmgrace set menu collapses
and makes xmgrace nearly unusable. The problem is described in
the fix is available at http://bugs.motifzone.net/show_bug.cgi?id=1331 .
I would like to vote for the fix to be pulled into Fedora's openmotif as well,
as this bug also affects gpsd (see Bug 189222).
Ugh, this bug is sooooo annoying. I pasted the pathc below (3 characters!!!).
For myself, I gave up and I decided to patch it and build form source.
--- openmotif-2.3.0/lib/Xm/List.c.vizcount 2006-03-24 16:45:01.000000000 -0600
+++ openmotif-2.3.0/lib/Xm/List.c 2006-03-24 16:45:35.000000000 -0600
@@ -2672,7 +2672,7 @@
XmRenderTableGetDefaultFontExtents(lw->list.font, &height, NULL, NULL);
lw->list.MaxItemHeight = (Dimension)height;
- if (lw->list.MaxItemHeight)
+ if (lw->list.MaxItemHeight == 0)
lw->list.MaxItemHeight = 1;
if (XmeRenderTableGetDefaultFont(lw->list.font, &fs))
openmotif-2.3.0-0.1.9.3 has been pushed for fc5, which should resolve this issue. If these problems are still present in this version, then please make note of it in this bug report.