Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Possible bugs (MouseTrackListener, MouseMoveListener, Toolbar.getItem(Point p))
Possible bugs (MouseTrackListener, MouseMoveListener, Toolbar.getItem(Point p)) [message #441196] Wed, 11 August 2004 17:58 Go to next message
No real name is currently offline No real nameFriend
Messages: 13
Registered: July 2009
Junior Member
I'm running the same code on a windows environment and on a Linux
environment, and I'm receiving a different reaction from
MouseTrackListener, MouseMoveListener and Toolbar.getItem(Point p).

On windows, MouseTrackListener.mouseEnter and .mouseExit fire when the
mouse moves over the toolbar and when the mouse leaves the toolbar area.
On linux, these fire only when the mouse moves onto and off of enabled
ToolItems within the toolbar.

The same is true of MouseMoveListener.mouseMove.

Additionall, with Toolbar.getItem(Point p), in Linux, this seems to always
return the first ToolItem on the Toolbar. On windows this works just fine.
Re: Possible bugs (MouseTrackListener, MouseMoveListener, Toolbar.getItem(Point p)) [message #441226 is a reply to message #441196] Thu, 12 August 2004 14:58 Go to previous message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
Please enter 2 separate bug reports, one for each problem. Thanks.

"Tej" <swt.10.tej@spamgourmet.com> wrote in message
news:cfdmob$mb9$1@eclipse.org...
> I'm running the same code on a windows environment and on a Linux
> environment, and I'm receiving a different reaction from
> MouseTrackListener, MouseMoveListener and Toolbar.getItem(Point p).
>
> On windows, MouseTrackListener.mouseEnter and .mouseExit fire when the
> mouse moves over the toolbar and when the mouse leaves the toolbar area.
> On linux, these fire only when the mouse moves onto and off of enabled
> ToolItems within the toolbar.
>
> The same is true of MouseMoveListener.mouseMove.
>
> Additionall, with Toolbar.getItem(Point p), in Linux, this seems to always
> return the first ToolItem on the Toolbar. On windows this works just
fine.
>
>
Previous Topic:Event chaining in SWT, how?
Next Topic:SWT_AWT hangs with modal JDialog
Goto Forum:
  


Current Time: Fri Mar 29 10:47:29 GMT 2024

Powered by FUDForum. Page generated in 0.02269 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top