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.
I'm using NetBeans IDE Dev (Build 200510171800) on Linux and java 1.5.0_05. In editor when JavaDoc popup window is shown it has some buttons on top, but those buttons don't have any tooltips.
reproduced on winXP using jdk1.5
it looks like JDK problem. If there is component that is placed in heavyweight popup, like in this case JButton on heavyWeight completion popup window, then tooltip is not displayed because of the code in ToolTipManager.showTooltip: for (Container p = insideComponent.getParent(); p != null; p = p.getParent()) { if (p instanceof JPopupMenu) break; if (p instanceof Window) { if (!((Window)p).isFocused()) { return; } break; } } Popup.HeavyWeightWindow cannot be focused because of setFocusableWindowState(false); in its constructor The problem can be reproduced also on jdk1.6
*** Issue 66382 has been marked as a duplicate of this issue. ***
*** Issue 70339 has been marked as a duplicate of this issue. ***
Still no tooltips in the main trunk - linux/gnome/jdk1.5.0_07. I am not sure how this can be fixed, but I'm moving it to 'Code Completion' category to give it more attention.
*** Issue 74770 has been marked as a duplicate of this issue. ***
*** Issue 98823 has been marked as a duplicate of this issue. ***
There are tooltips, however, displayed behind JavaDoc popup :-( CCing Mila.
Well, it's sort of funny :) I'm wondering whether this is not related to the fact that the popup created by completion is not parented. We should first try to improve and apply the patch from issue 58540 and check whether it resolves this as well before trying any wilder solutions. Only if that would not help we could experiment with overriding JComponent.createToolTip() (which gets called for a component from the ToolTipManager) etc.
Milo, popups created by the code completion ARE parented since Feb 15.
Strange, then why I'm still not able to select and copy the text from javadoc popup in the current dev build? It was possible once I parented the javadoc popup with the original patch in issue 58540. IIRC it only made all the popups created by completion to be parented to the editor pane which was enough for being able to select and copy the text from the javadoc popup. Not sure where the problem is.
As we've discussed with Dusan, the popups are parented but they are not focusable. They were in my original patch so it's now clear that we need focusability of the popups and proper handling of the possible focus traversal among the popups and editor pane.
*** Issue 98787 has been marked as a duplicate of this issue. ***
Still valid in latest build of 6.0
Tooltips are displayed properly on JDK 1.6 on my system, but not on JDK 1.5. --- Product Version: NetBeans IDE Dev (Build 080226) Java: 1.6.0_04-dp; Java HotSpot(TM) 64-Bit Server VM 1.6.0_04-b12-45-optimized System: Mac OS X version 10.5.2 running on x86_64; MacRoman; en_US (nb) Userdir: /Users/maxa/.netbeans/dev
P4 IMO + works on JDK 1.6.
I have Product Version: NetBeans IDE 6.0.1 (Build 200801291616) Java: 1.6.0_05; Java HotSpot(TM) Client VM 10.0-b19 System: Linux version 2.6.22-14-generic running on i386; UTF-8; sl_SI (nb) Userdir: /home/gregor/Apps/netbeans/USERDIR/60 and I still don't see any tooltips. Can someone verify on Linux?
I can reproduce the issue in 6.0.1, but in 6.1 it's reproducible only with jdk1.5, with jdk1.6 it's ok Product Version: NetBeans IDE Dev (Build 20080313092248) Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11 System: Linux version 2.6.22-14-generic running on i386; UTF-8; en_US (nb)
I have tooltips too on my Ubuntu 7.10 with: Product Version: NetBeans IDE Dev (Build 080312) Java: 1.6.0_10-ea; Java HotSpot(TM) Client VM 11.0-b11 System: Linux version 2.6.22-14-generic running on i386; UTF-8; en_US (nb) Userdir: /home/vita/devel/nb-ws/1 Please note that the JDK I'm using is an early access version of JDK6 Update 10. I didn't try other versions.
Closing as WONTFIX.
v/c