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 57688 - [editorhints]Mouse events are sometimes blocked
Summary: [editorhints]Mouse events are sometimes blocked
Status: RESOLVED FIXED
Alias: None
Product: contrib
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@contrib
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-08 18:51 UTC by Jan Lahoda
Modified: 2005-04-10 13:51 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Lahoda 2005-04-08 18:51:57 UTC
recent sources of editorhints and NB, JDK1.5.0_03, MDI.

Under some circumstances, the mouse events are blocked for me:
1. Create a new java source
2. Hide all windows on the left using sliding windows
3. Into the editor type:
private int x;
and wait until the lighbulb is shown
4. Open some hidden view (only point mouse cursor over it), and click back into
the editor (so the view is hidden).
5. Let the lighbulb is shown again at the above line: all mouse events are
blocked now.

This is really annoying.

I guess the problem is some clash in using glasspane between window system and
editorhints.
Comment 1 Jan Lahoda 2005-04-10 09:06:38 UTC
Another problem along the same lines: when a lighbulb is showing, the mouse
cursor shape is incorrect.

I have hopefully fixed both these problems+the popup redrawing problem by using
LayeredPane instead of GlassPane.

Checking in HintsUI.java;
/cvs/contrib/editorhints/src/org/netbeans/modules/editorhints/HintsUI.java,v 
<--  HintsUI.java
new revision: 1.7; previous revision: 1.6
done

Tim, what do you think about this change?
Comment 2 _ tboudreau 2005-04-10 13:51:01 UTC
If it works, it's good.