The Test Results window is (I suppose) quite widely used, yet there is no keyboard shortcut for opening it (besides the mnemonic 'Alt-W O T').
I first thought of Alt-Shift-T. This is currently taken by ThreadsHistoryAction in debugger.jpda.ui. While I have no idea what that action does (nor can I find where or how to invoke it), it seems to be used from several other classes in the module whose control flow I cannot follow - lots of low-level manipulation of keyboard commands. Written by dprusa.
Alt-Shift-R is another plausible shortcut. This is currently taken by RunFrameworkCommandAction in php.project, which as far as I can tell has no other UI presentation so I am not sure how anyone is supposed to know it even exists, unless tmysik blogged about it or something.
The 7.0 shortcuts.pdf mentions neither of these. It seems to me that opening Test Results is a more basic action that is more deserving of a standard shortcut.
Martine, please comment about the shortcut Alt-Shift-T and if you could make it available for Test Results.
The ThreadsHistoryAction have the shortcut declared in the standard way in the module layer XML. It reuses the shortcut for later use and this is why it manipulates with the key events.
I did not find a mail from anyone about Alt-Shift-T shortcut, but I believe that Dan defined this shortcut after negotiations with Roman, who was our UI representative.
I think that HIE should define shortcuts for individual actions, so I do not want to do random changes without the knowledge of what shortcuts are used in other areas.
I agree that Test Results window might be more important. We may use e.g. CTRL-ALT-SHIFT-T for ThreadsHistoryAction, which seems to be available. But I think that this should be confirmed by HIE.
A-S-R now taken by Toggle Rectangular Selection.
As of 7d7b4f099ddf, Ctrl-Shift-R is free.
Petr is now handling accelerators I guess. Please consider C-S-R for opening the Test Results window.
AFAIK in 7.1 as well as in the current builds
Ctrl-Shift-R represents Toggle Rectangular Selection.
Ctrl-Shift-T represents Go To Test
Alt-Shift-T represents Threads History
Alt-Shift-R seems free
Tried it on the daily build with all modules from update center installed.
I plan to but have not completed yet the full review of all shortcuts. Unfortunately I will not be able to manage that before 7.2 code freeze.. sorry.
Petr, can you now confirm that Alt-Shift-R can be used as the default shortcut? Thaks
Honza could you comment if Alt-Shift-R can be used as the default shortcut?
Well as Petr said Alt-Shift-R seems to be available. Petr, do you think a further evaluation is needed or/and do you want to finish the review of shortcuts first? If not, I think you can implement it Fanis.
(In reply to comment #9)
> Well as Petr said Alt-Shift-R seems to be available. Petr, do you think a
> further evaluation is needed or/and do you want to finish the review of
> shortcuts first? If not, I think you can implement it Fanis.
The overall review is not finished yet but waiting for that would be counter-productive. I think we should give a go to Fanis.
(In reply to comment #10)
> The overall review is not finished yet but waiting for that would be
> counter-productive. I think we should give a go to Fanis.
Author: Theofanis Oikonomou <email@example.com>
Date: 2013-02-20 14:17
Issue #198771 - Standard shortcut for Test Results window action
Integrated into 'main-golden', will be available in build *201302222300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Theofanis Oikonomou <firstname.lastname@example.org>
Log: Issue #198771 - Standard shortcut for Test Results window action
Product Version: NetBeans IDE Dev (Build 201307212300)
Updates: Updates available
Java: 1.7.0_40-ea; Java HotSpot(TM) 64-Bit Server VM 24.0-b52
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-ea-b33
System: Linux version 3.0.0-12-generic running on amd64; UTF-8; cs_CZ (nb)
User directory: /home/cesilko/.netbeans/dev
Cache directory: /home/cesilko/.cache/netbeans/dev