Path: utzoo!utgpu!watserv1!watmath!att!att!emory!wuarchive!uunet!sbi!zeus!bpa_su10!sivan From: sivan@bpa_su10.Sbi.Com (Sivan Mahadevan) Newsgroups: comp.windows.x.motif Subject: Re: Motion/button events (not) appearing where they should(n't) Message-ID: <114@bpa_su56.bpa_su10.Sbi.Com> Date: 30 Oct 90 21:52:27 GMT References: <60396@bbn.BBN.COM> Organization: BPA - Salomon Brothers, NY Lines: 33 In article <60396@bbn.BBN.COM>, cjross@bbn.com (chris ross) writes: > I and several coworkers have encountered some bizarre problems with delivery > of mouse events to Motif widgets. They _seem_ to be related, so I'm posting > The environment: > OpenWindows 2.0 > 1. Button events go to the wrong PushButton. I click down on a button, > causing a menu bar to appear. I release the button, move to the menu bar, > and push a button there. The first button arms, rather than the button > under the cursor. > 2. Button events go to the wrong window. I click in a DrawingArea, > release, move to a window on the other monitor, and click again. The button > event goes to the DrawingArea on the first monitor. I posted a reply to a similar question on comp.windows.x: There are a number of bugs with the xnews server in OpenWindows 2.0 including one that might be causing the problem you are encountering. When a button is grabbed (i.e, betwen button press and button release) some events get discarded. We noticed that LeaveNotify events get discarded when a button is grabbed (this breaks Motif toggle-button widgets when using the default translations). We have not received a fix for this server bug yet, but Sun is aware of it. -- Sivan Mahadevan Salomon Brothers Inc Bond Portfolio Analysis Analytical Applications Group One New York Plaza 44th Floor 212-747-5418 New York NY 10004 sivan@bpa_su10.sbi.com uunet!sbi.com!bpa_su10!sivan