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 17457

Summary: After invoking popup tools menu is not visible
Product: editor Reporter: David Strupl <dstrupl>
Component: -- Other --Assignee: _ ttran <ttran>
Status: CLOSED FIXED    
Severity: blocker CC: pzavadsky, ttran
Priority: P3 Keywords: A11Y
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description David Strupl 2001-11-09 11:26:26 UTC
JDK 1.3.1_01, NB3.3beta3.
Invoke lightveight popup on editor by pressing Shift-F10, continue to use
keyboard while navigating the menu and you cannot get to the Tools menu.
Comment 1 _ ttran 2001-11-09 14:30:32 UTC
*** Issue 17463 has been marked as a duplicate of this issue. ***
Comment 2 _ ttran 2001-11-14 13:00:25 UTC
this happens only with editor's popup, not explorer's popup.  Because
the editor constructs the popup itself, I am passing it to the editor
module.  I also observe other differences in the behavior of the
popup.  In explorer popup when the user uses up/down keys to navigate
to "Add..." submenu the submenu popup is displayed automatically.  In
editor popup one must press right arrow key to make the popup show up.

All Cc pzavadsky because he has some knowledge about menus in NB
Comment 3 Marian Mirilovic 2001-11-15 11:27:45 UTC
[Solaris/SPARC](5.8) - CDE / SDI

In my opinion this isn't editor issue. 
I try to invoke popup menu and get Tools menu in [nb_dev](20011114) on
[jdk1.4](b86) and I wasn't able to get Tools menu on Editor neither
Explorer. I saw different behaviour for [jdk1.3.1](01), I am able to
get Tools menu on Eplorer but on Editor there.

And it's independent on way to invoke menu (by mouse right click or
Shift-F10), concerning this new knowledges I have removed Shift-F10
from summary.
Comment 4 Peter Zavadsky 2001-11-15 13:36:14 UTC
It seems is the same problem with lazy popup menu initialization like in 
the bug #17106. The problem is when called getPopupMenu() the menu
returns uninitialized(empty) popup, and so no showing of popup is done.
 See there for my commnent for better explanation. 
If you wish assign the bug to me.
Comment 5 _ ttran 2001-11-15 16:22:27 UTC
I fixed the problem by putting an "Empty" menuitem into the Tools
submenu initially.  Cannot do what pzavadsky suggested because of
potential performance problem
Comment 6 Marian Mirilovic 2002-01-04 15:17:52 UTC
verified in [nb_dev_331](20020104)
Comment 7 Quality Engineering 2003-06-30 18:07:43 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.