Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 195954 - Ghost image of dragged window doesn't appear
Ghost image of dragged window doesn't appear
Status: RESOLVED WONTFIX
Product: platform
Classification: Unclassified
Component: Window System
7.0
PC Linux
: P2 (vote)
: TBD
Assigned To: Stanislav Aubrecht
issues@platform
fix-in-nb701
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-02-24 16:28 UTC by ttokoly
Modified: 2012-06-07 10:05 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ttokoly 2011-02-24 16:28:57 UTC
1. Run IDE
2. Open some window e.g. Main menu Window -> Files
3. Drag the header of opened window to some other area
4. Ghost Image should appear, but that doesn't happened

Product Version: NetBeans IDE Dev (Build 201102240001)
Java: 1.7.0-ea; Java HotSpot(TM) Client VM 21.0-b02
System: Linux version 2.6.32-28-generic running on i386; UTF-8; en_US (nb)

Note: In jdk1.6.0_24 works fine.
Comment 1 Marian Mirilovic 2011-06-08 18:47:04 UTC
Not a stopper for 7.0.1, but clearly this is a regression in comparison to running NB on JDK 6 (tested the build 20110608 & JDK7b145)
Comment 2 Stanislav Aubrecht 2011-06-09 09:23:38 UTC
i don't think this is fixable in netbeans. we use JNA library to access some native os features so it's either a bug in JDK 7 or we need to update JNA library (or both)
Comment 3 Stanislav Aubrecht 2011-06-10 09:39:22 UTC
it seems the layout of binary files in JDK 7 distribution has changed on linux as i'm getting the following exception from JNA lib:

INFO [org.netbeans.core.windows.view.dnd.DragAndDropFeedbackVisualizer]
java.lang.UnsatisfiedLinkError: libjawt.so: cannot open shared object file: No such file or directory
	at com.sun.jna.Native.getWindowHandle0(Native Method)
	at com.sun.jna.Native.getComponentID(Native.java:277)
	at com.sun.jna.platform.WindowUtils$X11WindowUtils.getDrawable(WindowUtils.java:1296)
	at com.sun.jna.platform.WindowUtils$X11WindowUtils.access$800(WindowUtils.java:1117)
	at com.sun.jna.platform.WindowUtils$X11WindowUtils$2.run(WindowUtils.java:1316)
	at com.sun.jna.platform.WindowUtils$NativeWindowUtils$2.hierarchyChanged(WindowUtils.java:365)
	at java.awt.AWTEventMulticaster.hierarchyChanged(AWTEventMulticaster.java:498)
	at java.awt.Component.processHierarchyEvent(Component.java:6671)


even the latest version of JNA library doesn't handle this.
Comment 4 Marian Mirilovic 2011-06-10 11:47:53 UTC
.. so we need to at least file issue against JNA and add the issue number here.
Comment 5 ttokoly 2012-06-07 10:05:12 UTC
Doesn't work either in actual versions of NB, JDK and JNA library.

Product Version: NetBeans IDE Dev (Build 201206070001)
Java: 1.7.0_04; Java HotSpot(TM) Client VM 23.0-b21
System: Linux version 3.0.0-20-generic running on i386; UTF-8; en_US (nb)

JNA version 3.4.0

In JDK 6 still works fine.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo