standard keyboard menu accelerators not working

I use:
- XtVaOpenApplication
- XmVaCreateManagedMainWindow (2.3b2) or XmCreateMainWindow (2.2)
- XmVaCreateSimpleMenuBar
to create the main menu in a MainWindow widget under a sessionShell application context.

I have two PCs, "aspire" and "linux", running SuSE OSS 10.0 and KDE logins. I have written the menu system for a program on 'linux'. The AltF accelerator does not open the File menu when displayed locally (although it works for standard apps). However, if I 'ssh -X' onto linux from aspire, the accelerators work when running on linux and displayed on aspire. If I 'ssh -X' onto linux from linux, it does not!

I have a ComboBox in the Main Window command area. Displayed on 'linux', this receives the 'f' keystroke from AltF but it doesn't when displayed on aspire.

I have different versions of OpenMotif installed on the two system:
- linux has 2.2 from SuSE
- aspire has 2.3b2 from openmotif

My understanding is that Motif is a client application library and should not affect the X11R6 server. The application is therefore running with SuSE's openmotif. Apart from colours, the only differences from 'xrdb -q' on the two systems are:

283c283
< Xcursor.theme:
---
> Xcursor.theme: crystalwhite
288d287
< Xft.rgba: rgb

On both displays, the KDE window manager's title bar decoration shows loss of focus (changes from blue to grey) when the main menu is active.

When I build and run the application (with the ComboBox) on aspire and display it on linux, the accelerators still don't work. I have tried deleting my account on linux and starting with a 'clean' login. Still the same...

I have tried rebuilding without multi-threading but it didn't make a difference. The source is only 13K.

I repeat, all the standard applications that I have tried work correctly on both systems; with AltF accelerator opening the File menu.

What is going on?