Re: Button-release event

Stephan Deibel <[email protected]> Tue, 8 Apr 2003 12:09:36 -0400 (EDT)
Newsgroups gmane.comp.video.gimp.windows.devel
Message-ID <Pine.LNX.4.50.0304081206280.3096-100000@hedgehog>
I'm pretty sure it should act the same on win32 and X in this regard.
Would be a nightmare to write code if not.  I remember we did some
possibly related mucking with the event code in our patches in win32gtk
1.x but don't know if that made it into 2.x.  We're moving to gtk2 so will
surely run into this also.

Stephan Deibel

--
Wing IDE for Python
Archaeopteryx Software, Inc
Take Flight!

www.wingide.com

On Tue, 8 Apr 2003, Richard Warren wrote:

> As nobody has pointed out a mistake in what I'm trying to do, I've created a
> new bug report for this.
> 
> If anyone is interested, see
> 
> http://bugzilla.gnome.org/show_bug.cgi?id=110271
> 
> for more details and a simple test case.
> 
> Regards,
> Richard.
> 
> ----- Original Message -----
> > Hi all,
> >
> > I think I'm getting a difference in the notification of button-release
> > events between Linux and Win32 builds of my application.
> >
> > I have a drawing-area in which I use the button_press_event,
> > button_release_event and motion_notify_event events (to implement a
> zooming
> > feature by dragging a rubber-band rectangle over the area to zoom in on).
> >
> > Under linux, if I press down on the button, then accidentally drag to
> > outside of my drawing area before releasing the button, I still get the
> > button_release_event, regardless of where I release the button.
> >
> > Under windows, if I do the same thing then I don't get the
> > button_release_event if I let go of the mouse button when the cursor is
> over
> > a widget that can receive the focus (e.g. buttons, radio buttons etc.).
> If
> > I let go over a plain label or unused part of the application then I get
> the
> > event okay, but if I'm over a focus-able widget I don't get anything.
> >
> > So, am I doing something stupid?  Should I expect this difference between
> > linux and windows?
> >
> > I'm using V2.2.0 on linux, and Tor's 2003-01-09 build (also V2.2.0 I
> think)
> > on windows.
> >
> > I'm happy to file a bug if this difference is not-expected, but I thought
> > I'd just run it past you all first in case it's my fault!
> >
> > Thanks in advance,
> > Richard Warren.
> 
> 
> 
> 
> To Post a message, send it to: [email protected]
> To Unsubscribe, send a blank message to: [email protected] 
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
> 
>