Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Drag & Drop Behavior Different on Mac?(Drag & Drop Mac)
Drag & Drop Behavior Different on Mac? [message #489695] Mon, 05 October 2009 15:24 Go to next message
Benjamin Gold is currently offline Benjamin GoldFriend
Messages: 6
Registered: July 2009
Junior Member
I'm noticing in Eclipse 3.4 an inconsistency between Mac OS 10.5 and Windows XP in terms of Drag & Drop behavior. On Windows, adding a DropTarget to the top parent seems to be cascading down to the area of the child Composites, but on Mac I have to add individual DropTargets to each child Composite.

Is this a known issue, or even expected behavior?

[Updated on: Mon, 05 October 2009 15:24]

Report message to a moderator

Re: Drag & Drop Behavior Different on Mac? [message #489935 is a reply to message #489695] Tue, 06 October 2009 14:22 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
Hi,

Platform differences like this are not expected, so I've logged
https://bugs.eclipse.org/bugs/show_bug.cgi?id=291485 . It works like
Windows on all other platforms, including OS X-Cocoa, but since the earliest
Cocoa implementation of swt is 3.5 this likely isn't an option for you. I
think the only workaround is to add listeners to each control in the
hierarchy (maybe only do this if SWT.getPlatform() returns "carbon").

Grant


"Benjamin Gold" <benjamin_gold@us.ibm.com> wrote in message
news:had32k$v52$1@build.eclipse.org...
> I'm noticing in Eclipse 3.4 an inconsistency between Mac OS 10.5 and
Windows XP in terms of Drag & Drop behavior. On Windows, add a DropTarget
to the top parent seems to be cascading down to the area of the child
Composites, but on Mac I have to add individual DropTargets to each child
Composite.
>
> Is this a known issue, or even expected behavior?
>
Previous Topic:highlight or color the border of SWT widget
Next Topic:Dynamically change theb SWT style of the Control object
Goto Forum:
  


Current Time: Thu Apr 25 07:27:22 GMT 2024

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

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

Back to the top