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 96407 - Popup menu position computation problems
Summary: Popup menu position computation problems
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: t_h
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-23 05:45 UTC by _ tboudreau
Modified: 2008-12-22 11:59 UTC (History)
0 users

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 _ tboudreau 2007-02-23 05:45:14 UTC
Expand a bunch of folders in the projects tab.
Scroll down.
Right click on the right side in the top 1mm of the projects tab.
Popup menu appears somewhere on the bottom of the screen.

What is happening is:
1.  The popup menu point is computed
2.  The explorer tree thinks selection is changing to something partially
offscreen and calls scrollRectToVisible
3.  The popup menu is shown, but relative to the rest of the screen, the popup
menu point is nowhere near where on the screen the mouse was clicked

(*possibly* windows specific.  JDK 6, Win XP, build 070220)
Comment 1 _ tboudreau 2007-03-26 22:41:28 UTC
Really P4?  This happens really frequently (I see it at least a few times a
day), and it looks pretty bad to right-click in the top of the screen and have a
popup menu appear at the bottom.
Comment 2 Antonin Nebuzelsky 2008-02-07 16:12:08 UTC
Reassigning to new module owner Tomas Holy.
Comment 3 t_h 2008-11-10 15:17:41 UTC
It seems it works correctly now.