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 27152

Summary: {queue-branch} Menu pushing fails in shortcut mode when another popup is open
Product: qa Reporter: Jiri Skrivanek <jskrivanek>
Component: CodeAssignee: issues@qa <issues>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P2    
Version: 3.x   
Hardware: Sun   
OS: SunOS   
Issue Type: DEFECT Exception Reporter:

Description Jiri Skrivanek 2002-09-10 08:15:53 UTC
If a popup window stays open as the result of
previous action, next menu pushing fails. Exactly
said, it only closes the popup but it does nothing
else.
Try following:

        JemmyProperties.setCurrentDispatchingModel(
              
JemmyProperties.getCurrentDispatchingModel() |  
               JemmyProperties.SHORTCUT_MODEL_MASK);
        
        JFrameOperator frame = new
JFrameOperator("NetBeans");
        JMenuBarOperator menu = new
JMenuBarOperator(frame);
        menu.showMenuItem("File|Save All", "|");
        
        menu.pushMenuNoBlock("Project|Project
Manager", "|");
        
        System.out.println("\n\nFinished.");
Comment 1 Alexandre Iline 2002-09-23 20:30:49 UTC
Fixed in last branch update (2.0.3.queue-branch.1 version)


Comment 2 Jiri Skrivanek 2002-11-12 09:42:13 UTC
Verified in trunk, version 2.1.0.