Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!usc!apple!agate!ucbvax!alphalpha.com!nazgul From: nazgul@alphalpha.com (Kee Hinckley) Newsgroups: comp.windows.x.motif Subject: Re: translation for F4 [Popup problems] Message-ID: <901107112358.10759@alphalpha> Date: 7 Nov 90 15:23:58 GMT References: <27946@usc> Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The Internet Lines: 21 > 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.)