Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 195954 - Ghost image of dragged window doesn't appear
Ghost image of dragged window doesn't appear
Product: platform
Classification: Unclassified
Component: Window System
PC Linux
: P2 (vote)
Assigned To: Stanislav Aubrecht
Depends on:
  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


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:

java.lang.UnsatisfiedLinkError: cannot open shared object file: No such file or directory
	at com.sun.jna.Native.getWindowHandle0(Native Method)
	at com.sun.jna.Native.getComponentID(
	at com.sun.jna.platform.WindowUtils$X11WindowUtils.getDrawable(
	at com.sun.jna.platform.WindowUtils$X11WindowUtils.access$800(
	at com.sun.jna.platform.WindowUtils$X11WindowUtils$
	at com.sun.jna.platform.WindowUtils$NativeWindowUtils$2.hierarchyChanged(
	at java.awt.AWTEventMulticaster.hierarchyChanged(
	at java.awt.Component.processHierarchyEvent(

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