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.
I've modified some code in TopComponent and due to that second and next invocation of global shortcut (at least after opening an editor) were not realized. In spite of that commit-validation succeeded fine. I wonder whether the ide tests invoke some global shortcuts using keyboard and if not I suggest that to be fixed as it might help discover similar problems like I ran into. PS: Using unit tests might not help much as this is more about KeyEvent processing and I do not know where I should put such tests...
I can add anything to IDE commit validation suite but remember that it must not be extremly time consuming because developers would complain about its duration. In addition I am not sure if we can test all special cases. IMO, test the second invocation is such a special case and it should be tested in openide/core test suites. If you still think that something should be added in the commit validation suite, please write down which shortcuts should be tested.
Which? Does not matter much. I just had a feeling that no global action is invoked by a shortcut. If that is true, it should be improved I think. If I am wrong, then close this as invalid.
So, if it doesn't matter, I suggest to add the following into IDECommitValidation.testMainMenu (even it is invoked by shortcut): - open new wizard (Ctrl+N) - close it - open Javadoc Index Search (Shift+F1) - close it - open new breakpoint dialog( Ctrl+Shift+F8) - close it Is it enough?
Enough. Btw. interesting trick would be to delete a breakpoint in breakpoint list. There is a bug in 3.5 that this action requires confirmation. I know we should catch it in unit tests, but...
I am a little bit confused. To delete breakpoint from list in runtime tab you need to select breakpoint, push Delete key and confirm deletion. There is no shortcut which delete breakpoint or all breakpoints at once.
Suggested shortcuts test integrated in version 1.10.