Subject: Re: pkg/19940: print/xpdf-2.01 spews enough warnings to choke a horse!
To: Krister Walfridsson <cato@df.lth.se>
From: Greg A. Woods <woods@weird.com>
List: netbsd-bugs
Date: 01/19/2004 01:53:42
[ On Monday, January 19, 2004 at 02:35:41 (+0100), Krister Walfridsson wrote: ]
> Subject: Re: pkg/19940: print/xpdf-2.01 spews enough warnings to choke a horse!
>
> I have tested a couple of different Xservers, although only i386.
> But I thought you see the warning son i386 too? (at least your
> original PR submission had:
> 
>    >Environment:
>    System: NetBSD 1.5W
>    Architecture: i386
>    Machine: i386
> 
> in the description...)

And indeed that's where I was running xpdf (and am still, though that
same machine is now running 1.6.1-RC1 as I showed).  However I have no
NetBSD/i386 system with any display or keyboard on it, let alone one
running an Xserver, nor have I ever.

> Hmm.  This does not look like errors generated from xpdf -- it looks
> more like something that motif may write...

That's irrelevant from my point of view.  :-)

I'm sure I've run other Motif-using applications without such warnings
appearing, though at the moment I don't seem to have any others
installed to test with and I can't remember what those others were,
Perhaps I was actually using lesstif at the time though.

Hmm.... I just found time/catclock uses Motif.  Sure enough it spews
warnings too, though not quite so many (but then again it doesn't even
use the keyboard, does it?):

$ catclock            
Warning: Color name "black " is not defined
Warning: translation table syntax error: Unknown keysym name:  osfActivate
Warning: ... found while parsing ':<Key>osfActivate:            ManagerParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfBeginLine
Warning: ... found while parsing ':<Key>osfBeginLine:           ManagerGadgetTraverseHome()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfHelp
Warning: ... found while parsing ':<Key>osfHelp:                        ManagerGadgetHelp()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfActivate
Warning: ... found while parsing ':<Key>osfActivate:    DrawingAreaInput() ManagerParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfUp
Warning: ... found while parsing ':<Key>osfUp:          DrawingAreaInput() ManagerGadgetTraverseUp()'
Warning: String to TranslationTable conversion encountered errors


(that first one about "black " is odd -- someone forgot to strip whitespace)


DAMN!  Pressing a mouse button in catclock's window brings up a menu and
then locks the keyboard and mouse focus -- not even the menu works!  I
really hate Motif -- not a single clue about human factors went into
either its design or implementation(s).

(it spews more, similar, errors when the menu appears too)


> What version of x11/openmotif do you have?  Can you try with the latest
> version?

The latest in pkgsrc I believe -- installed at the insistence of pkgsrc
for xpdf-2.03:

$ /usr/sbin/pkg_info -I openmotif
openmotif-2.1.30nb2 The Open Group Motif toolkit for the X Window System


None the less I believe you may be right -- this is probably a bug in
openmotif itself, not (just) xpdf.

-- 
						Greg A. Woods

+1 416 218-0098                  VE3TCP            RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com>          Secrets of the Weird <woods@weird.com>