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 186764 - [Change Parameters] Pressing the Menu key in the "Change Method Parameters" dialog invokes editor context menu [69cat]
Summary: [Change Parameters] Pressing the Menu key in the "Change Method Parameters" d...
Status: REOPENED
Alias: None
Product: editor
Classification: Unclassified
Component: Actions/Menu/Toolbar (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P4 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-26 19:18 UTC by matthies
Modified: 2016-07-18 20:44 UTC (History)
1 user (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 matthies 2010-05-26 19:18:01 UTC
When pressing the Menu key in the "Change Method Parameters" dialog, the editor's context menu is invoked (but cannot be used).
Comment 1 Jan Becicka 2011-01-10 12:31:45 UTC
it looks like window system issue. Can be easily reproduced without refactoring:
just create global action with some shortcut and invoke this action from Editor:

public final class SomeAction implements ActionListener {

    public void actionPerformed(ActionEvent e) {
        DialogDescriptor dd = new DialogDescriptor(new JLabel("tes"), "aa" , true, null);
        DialogDisplayer.getDefault().createDialog(dd).show();
    }
}

now you see modal dialog and invoke Shift-F10 -> you will see editor popup
Comment 2 Jan Becicka 2011-01-10 12:32:19 UTC
or maybe dialogs....
Comment 3 Stanislav Aubrecht 2012-06-26 11:19:16 UTC
org.netbeans.editor.ext.ExtKit should disable ShowPopupMenuAction when a (modal only?) dialog is showing.
Comment 4 Martin Balin 2016-07-07 07:29:05 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss
Comment 5 matthies 2016-07-18 20:44:18 UTC
Still reproducible in current dev build.