[comp.windows.x] OpenLook 2.0 Problem

malay@sae.com (Bob Malay) (06/21/91)

I have an application that worked fine running on a sparc, SunOs 4.1.1,
X11R4 (18 patches, XAW_BC not set). After installing OpenLook 2.0 I have
discovered two problems:

(1) The application's Button3 events don't seem to work, even though Button1
    events work fine.

(2) I can't enter text into a window that I used to be able to - I just get
    the BELL sound whenever I hit any key - now this happens when I use olwm,
    but if I run twm instead then the text problem goes away.

I didn't write the application's code - it's the Cornell Program Synthesizer.
Anybody have any clues??? I peeked at their source and it's almost as if
the translations used in the pane widget are being ignored.

Bob Malay

malay@sae.com (Bob Malay) (06/21/91)

A few days ago I posted a "call for help". An application which worked
fine under the X11 server was doing funny things under the NeWS server,
particularly:

(1) When the cursor was positioned in a text window and the focus was set to
    this window - I would try to enter text but all I got was BELs.

SOLUTION: Provided by Tim Rosmus of Motorola: Add this to the .Xdefaults:

             OpenWindows.FocusLenience: yes

This cleared the problem and this part of the application works fine now,
Thanks Tim.

(2) I still cannot get Button3 events to work. The application should produce
    a menu when the cursor and focus is placed in text window discussed 
    above. Pressing mouse button3 does nothing even though button1 events
    work fine. I tried changing all references to Btn3 to Btn2 just to see
    what would happen - same result. The X code looks fine, translation table
    is correct and used properly in the widget definition.

Bob Malay