Re: [Swingwt-developers] Bug with modifiers from events
Status: Beta
Brought to you by:
bobintetley
From: Robin Rawson-T. <ro...@ra...> - 2007-08-29 20:21:39
|
On Wed, Aug 29, 2007 at 09:10:28PM +0100, Bob Tarling wrote: > Looking at the mouseUp method of Component again I would guess this is > still the problem >=20 > I can see the following problems > 1) The mouse event for mouse release does not do the following >=20 > ev.setX(e.x); > ev.setY(e.y); > ev.setButton(e.button); Correct - this is because of a recent patch to create new MouseEvent objects between firings (due to it breaking consume()). I've fixed this in svn now. > Is it really necessary to fire a drag event even though no drag may > have taken place? Afraid so as SwingWT sort of fudges drag and drop as SWT didn't previously have events for dragging (I think it may have in the current version, but historically it didn't) so we simulated it for apps that needed it. This could probably be rewritten now. I also fixed your previous report and keyboard modifiers are now included with MouseEvents (and mask for InputEvent.<KEY>_DOWN_MASK) Rob --=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D Robin Rawson-Tetley (ro...@ra...) Yahoo: bobintetley MSN: bob...@ho... GTalk: bob...@gm... Home: http://www.rawsontetley.org I prefer encrypted email. Download my public key from http://www.rawsontetley.org/rrtpk.asc.gz |