This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 39166 - UFO sighted during drag and drop
Summary: UFO sighted during drag and drop
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: Macintosh Mac OS X
: P4 blocker (vote)
Assignee: David Simonek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-23 09:53 UTC by _ tboudreau
Modified: 2008-12-22 18:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Something from the apple java dev list (3.80 KB, application/octet-stream)
2004-02-02 14:45 UTC, _ tboudreau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2004-01-23 09:53:59 UTC
On the mac, JDK 1.4.1 (in addition to drag targets
being hopelessly mistargeted), a strange extra
rectangular outline the size of the tabbed
component appears and tracks the mouse around the
screen.  

It's not anything the winsys is doing - probably
some artifact of Apple's drag and drop
implementation.  Just filing it so we can track it
until we find out if it's Apple's bug, ours, or
the work of aliens.
Comment 1 _ tboudreau 2004-02-02 14:45:59 UTC
Created attachment 13194 [details]
Something from the apple java dev list
Comment 2 _ tboudreau 2004-02-02 14:46:43 UTC
I've attached some code someone on the apple mac dev list sent me - they said they 
had the same problem and solved it, at least for osx w/ jdk 1.3
Comment 3 _ tboudreau 2004-02-11 21:29:12 UTC
Since I was fixing drag and drop things today, I fixed this as well, using the attached 
approach as a template.  Apple simply demands that you supply a drag image or you get 
something that just looks weird.

As a side effect, if you run with -J-DuseDragImages=true on other platforms, you will get 
a cool translucent image of the tab to fly around with the mouse.  

Checking in Constants.java;
/cvs/core/windows/src/org/netbeans/core/windows/Constants.java,v  <--  
Constants.java
new revision: 1.8; previous revision: 1.7
done
Processing log script arguments...
More commits to come...
Checking in view/dnd/DropTargetGlassPane.java;
/cvs/core/windows/src/org/netbeans/core/windows/view/dnd/
DropTargetGlassPane.java,v  <--  DropTargetGlassPane.java
new revision: 1.6; previous revision: 1.5
done
Checking in view/dnd/TopComponentDragSupport.java;
/cvs/core/windows/src/org/netbeans/core/windows/view/dnd/
TopComponentDragSupport.java,v  <--  TopComponentDragSupport.java
new revision: 1.8; previous revision: 1.7
done
Processing log script arguments...
More commits to come...
Checking in view/ui/CloseButtonTabbedPane.java;
/cvs/core/windows/src/org/netbeans/core/windows/view/ui/
CloseButtonTabbedPane.java,v  <--  CloseButtonTabbedPane.java
new revision: 1.6; previous revision: 1.5
done
Checking in view/ui/Tabbed.java;
/cvs/core/windows/src/org/netbeans/core/windows/view/ui/Tabbed.java,v  <--  
Tabbed.java
new revision: 1.5; previous revision: 1.4
done
Processing log script arguments...
More commits to come...
Checking in view/ui/tabcontrol/TabControl.java;
/cvs/core/windows/src/org/netbeans/core/windows/view/ui/tabcontrol/
TabControl.java,v  <--  TabControl.java
new revision: 1.13; previous revision: 1.12
done
Checking in view/ui/tabcontrol/TabbedAdapter.java;
/cvs/core/windows/src/org/netbeans/core/windows/view/ui/tabcontrol/
TabbedAdapter.java,v  <--  TabbedAdapter.java
new revision: 1.14; previous revision: 1.13
done
Checking in view/ui/tabcontrol/TabbedContainer.java;
/cvs/core/windows/src/org/netbeans/core/windows/view/ui/tabcontrol/
TabbedContainer.java,v  <--  TabbedContainer.java
new revision: 1.7; previous revision: 1.6
done
Checking in view/ui/tabcontrol/ViewTabControl.java;
/cvs/core/windows/src/org/netbeans/core/windows/view/ui/tabcontrol/
ViewTabControl.java,v  <--  ViewTabControl.java
new revision: 1.10; previous revision: 1.9
done
Processing log script arguments...
More commits to come...
Checking in view/ui/tabcontrol/plaf/MetalTabsUI.java;
/cvs/core/windows/src/org/netbeans/core/windows/view/ui/tabcontrol/plaf/
MetalTabsUI.java,v  <--  MetalTabsUI.java
new revision: 1.11; previous revision: 1.10
done
Checking in view/ui/tabcontrol/plaf/OSXTabsUI.java;
/cvs/core/windows/src/org/netbeans/core/windows/view/ui/tabcontrol/plaf/
OSXTabsUI.java,v  <--  OSXTabsUI.java
new revision: 1.6; previous revision: 1.5
done
Checking in view/ui/tabcontrol/plaf/TabsUI2.java;
/cvs/core/windows/src/org/netbeans/core/windows/view/ui/tabcontrol/plaf/
TabsUI2.java,v  <--  TabsUI2.java
new revision: 1.11; previous revision: 1.10
done
Checking in view/ui/tabcontrol/plaf/WinClassicTabsUI.java;
/cvs/core/windows/src/org/netbeans/core/windows/view/ui/tabcontrol/plaf/
WinClassicTabsUI.java,v  <--  WinClassicTabsUI.java
new revision: 1.7; previous revision: 1.6
done
Checking in view/ui/tabcontrol/plaf/WinXPTabsUI.java;
/cvs/core/windows/src/org/netbeans/core/windows/view/ui/tabcontrol/plaf/
WinXPTabsUI.java,v  <--  WinXPTabsUI.java
new revision: 1.11; previous revision: 1.10
done
Comment 4 Marian Mirilovic 2004-03-18 10:46:26 UTC
verified