This makes accessing the RPC console very fast/easy. It also improves accessibility.
<img width="234" alt="Screenshot 2019-10-02 at 01 30 53" src="https://user-images.githubusercontent.com/3534524/66009867-50104300-e4b4-11e9-90b5-6b8dc961a8a1.png">
This makes accessing the RPC console very fast/easy. It also improves accessibility.
<img width="234" alt="Screenshot 2019-10-02 at 01 30 53" src="https://user-images.githubusercontent.com/3534524/66009867-50104300-e4b4-11e9-90b5-6b8dc961a8a1.png">
Concept ACK - letters could be more mnemonic and stable over time because they aren't tied to the order of the list.
Sure, I could go either way.
Concept ACK No strong opinion about numbers versus something not tied to an order.
Tested ACK 2e2b30b201b5670ec755237ec9e93d3c2388bf2b https://bitcoin.jonasschnelli.ch/build/1046
would it make sense to make these shortcuts application-global ? (see #15768 (comment)). I personally kind of expected pressing multiple in sequence e.g. Ctrl-1 Ctrl-2 to work.
BTW, one could argue that these shortcuts are better fit for Overview, Send, Receive and Transactions tabs in the main window.
Alt-1..4 already work for the main window tabs.
I'm not sure using numbers for a different window makes sense.
I'm not sure it makes sense to give shortcuts for debug-window stuff. These aren't things normal users should be using. (If they are, we should promote them out of the debug window.)
@luke-jr "debug window" is something the user isn't aware of. And these things are already promoted in the window menu - this PR only improves their accessibility.
My suggestion:
Concept ACK, would really like to see this implemented. for non-macOS, I'd suggest using: Ctrl + T for console window (T for terminal) Ctrl + I for Info Ctrl + P for peers Ctrl + N for network
<!--cf906140f33d8803c4a75a2196329ecb-->Needs rebase
Concept ACK, though it's a bit inconsistent now, at least in Linux.
When the main window is selected, the following shortcuts work:
Ctrl-I
Ctrl-T
Ctrl-N
Ctrl-P
When the debug window is selected, only the following shortcuts work:
Alt-I
Alt-C (so, not T)
Alt-N
Alt-P
@promag glad you like my suggestion!
Tested 091747b46ecf06244ce2650028f1833b2e7c5062 on Ubuntu 18, can confirm CTRL shortcuts don't work when debug window is opened.
As for Alt-T / Alt-C, the only solution I can think of is renaming Console to Terminal (is that even right?) so that we could have Alt-T for consistency. Obviously, CTRL-C could be problematic.
Tested ACK 091747b46ecf06244ce2650028f1833b2e7c5062 - this is an improvment. Further solutions to solve the interference between the console and the shortcuts (if possible) can be done upstream (Qt) or with another PR.