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.
Build 200309150100 and new winsys build 030908 1. Open the Help window. 2. Move the cursor across several properties. When a property tooltip is displayed, the Help window loses focus and disappears behind the main window. I suppose this would be a problem with other modeless windows. Marking as a P2 for its "infuriating" factor. I wouldn't mind lowering the priority of this bug if we decided to stop displaying tool tips in most cases (since node and prop descriptions are now shown in the new prop editor), but that's a UI decision.
Created attachment 12173 [details] Simple Swing test case that reproduces the problem
This is a JDK bug on Windows. I have attached a simple test case that reproduces the problem. Run it on XP. It creates two slightly overlapping windows. Move the mouse over the first one, whose JButton has a long tooltip. It will get fronted. It seems that whenever a heavyweight (bigger than the component it's shown on - needs its own window from the OS) is shown, it causes the invoker to get fronted. I'll file a JDK bug and close this issue - we can't fix it in NetBeans - TooltipManager and PopupFactory are quite opaque when it comes to being able to change their behavior.
*** Issue 37077 has been marked as a duplicate of this issue. ***
Tim, could you cite the JDK bug for my reference?
Just as soon as I file it...
Filed JDK issue 4956654. Closing this issue as INVALID - there's nothing we can do for it on our end.
I just got confirmation that the JDK team has committed to fix this issue in 1.5 beta.
FYI, the fix for 29650 (a hack which forces TooltipManager to *always* use heavyweight tooltips) may be making this problem much more prominent. I'll try removing that hack from the trunk (the original problem is gone with the new window system), and it may help alleviate the worst of this - the fronting behavior should then only happen when a tooltip that extends off the main window will be shown. Note this does not mean that jdk bug 4956654 is not real or is lower priority.
I've committed the change to the trunk - hopefully it won't break anything. It helps a lot. It can still be a problem, e.g. if the property sheet is on the right side of the main window and the tooltip extends off it, but at least it doesn't happen all the time now.
*** Issue 38718 has been marked as a duplicate of this issue. ***
verified