Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

mwm iconbox issue

11 views
Skip to first unread message

Chris Beute

unread,
Sep 16, 2009, 7:11:27 PM9/16/09
to
After the last successful (for me) posting, thought I'd try
out the other problem which has us stumped. We've opened a
ticket with Red Hat on this one without much luck yet, perhaps
the general Motif community has some ideas or suggestions.

Environment again is a Red Hat Enterprise 5.2 system, Motif
version is 2.3.1 (openmotif-2.3.1-2.el5), and we've reproduced
it on Red Hat V5.3 as well.

Our legacy application launches a few monitoring windows on
an X display, and in the past (on DEC's Tru64 UNIX) we ran
these apps on the Motif window manager mwm. Since lots of
xterm windows are normally launched, we set the system up
to use the mwm iconBox feature to gather up all the icons
so that the screen isn't cluttered.

When we brought this environment forward to Linux and OpenMotif,
we can get the iconBox created as before, but the icons are
obscured. The lower right quadrant of each icon pixmap in the
iconbox are covered by an obscuring feature, and we can't figure
out why. This includes the "default" icon pixmap that mwm assigns
to apps like "xterm". If we disable the iconbox feature, the
icons are not obscured when the window is minimized, so this
situation is unique to the use of the iconbox.

So can anyone reproduce this? All we do is create a simple
Mwm resource file in the home directory of our test account
with the following single line:

Mwm*useIconBox: True

Then under Red Hat, we create a $HOME/.Xclients file which
simply sets up the X window screen, launches an xterm, and
execs mwm as follows:

xterm -n xterm -T xterm -geometry 80x25+0+500 -ls -fn 7x14 &
xsetroot -solid black
xset -c s off
exec mwm

We login after setting the "session" option on the login
screen to use this "default" setting rather than Gnome or KDE.
We've tried this on 3 different PCs (Compaq, Dell, HP) and
different graphics adapters and see the same thing - the icon
pixmap for the xterm has its lower right quadrant "obscured".
If you launch other xterms or apps from that xterm, those icons
in the iconbox have the same issue.

Any ideas???

Thanks,
Chris

Chris Sorenson

unread,
Oct 3, 2009, 12:11:56 PM10/3/09
to
Chris Beute wrote:
>
> So can anyone reproduce this?
>

Yes, I'm seeing the same behavior in OpenMotif-2.3.0.

I think this is supposed to be a "feature" indicating whether
the window is currently maximized. If you minimize the window does the
iconbox pixmap fill all the way out? The behavior is buggy and
inconsistent, for example the pixmap icons change the lower
right corner status if I minimize then maxmimize the iconbox itself.

The current Motif developers are at openmotif.org. You'd probably have
better luck raising this issue there. That's probably what Red Hat
would do for it anyway...

Chris Beute

unread,
Oct 5, 2009, 7:24:13 PM10/5/09
to
Chris,

Thanks for the posting and duplicating this, I'll prod the developers.
You were correct, I see the same thing - the icons are OK when the
window is minimized. I wonder what behavior they were really shooting
for there...

Regards,
Chris

Chris Sorenson

unread,
Oct 9, 2009, 3:44:59 PM10/9/09
to
Chris Beute wrote:
> Chris,
>
> Thanks for the posting and duplicating this, I'll prod the developers.
> You were correct, I see the same thing - the icons are OK when the
> window is minimized. I wonder what behavior they were really shooting
> for there...
>

From the source code comments:

* Description:
* -----------
* Make an graphic context for "greying" the icons in the icon
* box that are not in the MINIMIZED_STATE.

Not entirely clear they got what they were going for. The source
code hasn't been touched in the seven years since they got it from The
Open Group, as you can see here:

http://openmotif.cvs.sourceforge.net/viewvc/openmotif/openmotif/clients/mwm/

(the filenames are WmIcoWmIconBox.c and WmIcoWmIconBox.h)

It does look like they are doing bugfixes though, since five of the
CVS comments say "Fixed bug..."

Chris Sorenson

unread,
Oct 9, 2009, 3:48:12 PM10/9/09
to
>
> (the filenames are WmIcoWmIconBox.c and WmIcoWmIconBox.h)
>

Oops bad paste on those filenames! The actual filenames are
WmIconBox.c and WmIconBox.h - sheesh...

Chris Beute

unread,
Oct 12, 2009, 6:48:51 PM10/12/09
to
Chris,

Thanks for the pointers. A bug report has been posted on
this via Red Hat already.

http://bugs.openmotif.org/show_bug.cgi?id=1495

Regards,
Chris

Chris Sorenson

unread,
Oct 25, 2009, 3:38:44 PM10/25/09
to
Chris Beute wrote:
> Chris,
>
> Thanks for the pointers. A bug report has been posted on
> this via Red Hat already.
>
> http://bugs.openmotif.org/show_bug.cgi?id=1495
>

I just tried commenting out the one call to MakeFadeIconGC() in
WmIconBox.c, and it does NOT solve the problem.

0 new messages