nazgul@alphalpha.com (Kee Hinckley) (11/07/90)
> I am trying to set a translation for the F4 key on a Sun Sparc > 1+, running motif 1.1. For some reasons, the action associated with > the F4 key never get called. I have reduced the application to a Thank you, you just showed me a nasty bug, although I'm still not sure who is at fault. It would appear that F4 is the keyboard equivalent of M3 - it pops up popups. The problem is that our program has context sensitive popups and we set the context via enter/leave events since the popup stuff is screwed up and we can't just put a popup on the widgets we care about and get the right events and right widget. But guess what, F4 bypasses all that and pops up the popup regardless of where we are - which of course crashes my program since the context hasn't always been set. So anyway, that's why you can't override it. Now I need to figure out how to fix this. Is there an intention at OSF to fix it so that I can use context sensitive popups? (There has been discussion of hacks around this before, if noone has a record of the problems let me know and I'll dig up the details.)
nieh@shasta.lia.com (Ko-haw Nieh) (11/09/90)
>>>> I am trying to set a translation for the F4 key on a Sun Sparc >>>> 1+, running motif 1.1. For some reasons, the action associated with >>>> the F4 key never get called. I have reduced the application to a >>> >>>Thank you, you just showed me a nasty bug, although I'm still not >>>sure who is at fault. >>> >>>It would appear that F4 is the keyboard equivalent of M3 - it pops up >>>popups. The problem is that our program has context sensitive >>> (I am also on Sun Sparc running motif 1.1.) It seems to me that not only the F4 has problem, both F1 and F10 have similar problem. Since my application has special requirements I have to associate different actions to each function key. My temporary solution was to use the xmodmap to redefine keysym in the server. It did what I wanted however other client programs use the same server suffered. Is it possible to redefine the keycode and keysym mapping at client level ? What is the best way to work around ? My other problem is that F11 = L1 and F12 = L2 (defined in <X11/keyssymdef.h> How do I make these 4 keys looks different ? Ko-Haw Nieh, Litton/Industrial Automation 1301 Harbor Bay Parkway, P.O. Box 4004, Alameda, CA 94501-0404 uunet!fernwood!lia!nieh nieh@lia.com FAX : 415-521-5499 Tele : 415-769-5640
jan@ECHO.CANBERRA.EDU.AU (Jan Newmarch) (11/09/90)
> It seems to me that not only the F4 has problem, both F1 and F10 have > similar problem. Since my application has special requirements Don't even think of using F1 and F10 in your application - the Style Guide doesn't like it. See the default key assignments in Table A1 of the Style Guide. F1 is for Help when there isn't a special Help key. F10 switches to the menu bar. +----------------------+---+ Jan Newmarch, Information Science and Engineering, University of Canberra, PO Box 1, Belconnen, Act 2616 Australia. Tel: (Aust) 6-2522422. Fax: (Aust) 6-2522999 ACSnet: jan@ise.canberra.edu.au ARPA: jan%ise.canberra.edu.au@uunet.uu.net UUCP: {uunet,ukc}!munnari!ise.canberra.edu.au!jan JANET: jan%au.edu.canberra.ise@EAN-RELAY +--------------------------+