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 36094 - tool tip display causes Help window to disappear
Summary: tool tip display causes Help window to disappear
Status: VERIFIED INVALID
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: _ tboudreau
URL:
Keywords: UI
: 37077 38718 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-09-15 18:55 UTC by Patrick Keegan
Modified: 2008-12-22 15:42 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Simple Swing test case that reproduces the problem (2.65 KB, text/plain)
2003-11-15 12:41 UTC, _ tboudreau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Keegan 2003-09-15 18:55:31 UTC
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.
Comment 1 _ tboudreau 2003-11-15 12:41:12 UTC
Created attachment 12173 [details]
Simple Swing test case that reproduces the problem
Comment 2 _ tboudreau 2003-11-15 12:46:40 UTC
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.
Comment 3 _ tboudreau 2003-11-16 11:18:41 UTC
*** Issue 37077 has been marked as a duplicate of this issue. ***
Comment 4 Patrick Keegan 2003-11-18 22:18:21 UTC
Tim, could you cite the JDK bug for my reference?
Comment 5 _ tboudreau 2003-11-19 15:52:39 UTC
Just as soon as I file it... 
Comment 6 _ tboudreau 2003-11-19 16:36:55 UTC
Filed JDK issue 4956654.  Closing this issue as INVALID - there's nothing 
we can do for it on our end. 
Comment 7 _ tboudreau 2003-11-20 12:20:08 UTC
I just got confirmation that the JDK team has committed to fix this
issue in 1.5 beta.
Comment 8 _ tboudreau 2003-11-27 12:18:54 UTC
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.
Comment 9 _ tboudreau 2003-11-27 14:15:28 UTC
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.
Comment 10 _ tboudreau 2004-01-30 21:11:08 UTC
*** Issue 38718 has been marked as a duplicate of this issue. ***
Comment 11 Marian Mirilovic 2004-02-29 09:39:40 UTC
verified