Lesstif isn't Motif [was: Dead end?]

Joerg Fischer jf505 at gmx.de
Mon Mar 23 20:29:49 CET 2009


Thomas Orgis wrote:

> I startet writing a grave speech for my nedit usage on linux, due to
> the neverending trouble with lesstif.  Then I saw a comment on the
> ESC-menu crash on the lesstif tracker that showed a hack for that
> one bug.  Then I saw that in xpdf you still have a similar crash
> with it's menu.  Then I observed again the focus issues lesstif has
> (keyboard focus seems to be sort of random, and generally the
> control of menus is weird... navigation is fine, but enter key
> without function).

My feeling is now you always used Motif.  The enter key never worked
in lesstif (use the space key instead).  There are also many more
differences, eg., the ESC key didn't close some dialog boxes (there is
code in nedit to handle this).  If you come from Motif, you surely
notice these differences, but they are not related to the latest
lesstif versions.

To summarize, you solved two bugs in the latest 0.95.  One in
Traversal.c, which trying to fix something else actually breaks its
own tests (as Scott noticed).  I don't know, why you call it a hack,
if one reverts a broken fix, btw.  The other change in MenuShell.c was
questionable right from the start, and, as xpdf shows, it is wrongly
done, either. (Putting it in with #if 1 is, well ...)  So, with the
clipboard fix, you'll have a stable lesstif.  The differences you
notice won't go away, because Lesstif isn't Motif.  I'm sorry I forgot
to mention this.

Anyway, what you call "focus weirdness", is this just the enter key
not working?

> I also saw that the folks over at debian don't seem to be overly
> concerned about these issues ...

They should be concerned about the crash reports, otherwise they
belong to the distros I complained about ...

Cheers,
Jörg


More information about the Discuss mailing list