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 - {queue-branch} Menu pushing fails in shortcut mode when another popup is open
Summary: {queue-branch} Menu pushing fails in shortcut mode when another popup is open
Status: CLOSED FIXED
Alias: None
Product: qa
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: Sun SunOS
: P2 blocker (vote)
Assignee: issues@qa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-10 08:15 UTC by Jiri Skrivanek
Modified: 2011-02-17 09:34 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 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.