hey all, im rewriting the keyboard shortcuts plugin from scratch. One of the new additions will be to allow user-configurable keys. Im wondering if I should allow meta keys like alt/option/ctrl etc? Or would shift be enough?
Supporting meta keys except for shift makes the whole thing a lot more difficult because of the way browsers implement keyboard events, but if people think meta keys are a must-have, I can probably do the extra work involved.
Any strong opinions either way?
Cor
support for ctrl would be great. I like the ctrl-enter of kmail for sending the email... Andreas
On 12. Mai 2014 12:47:14 MESZ, Cor Bosman cor@xs4all.nl wrote:
hey all, im rewriting the keyboard shortcuts plugin from scratch. One of the new additions will be to allow user-configurable keys. Im wondering if I should allow meta keys like alt/option/ctrl etc? Or would shift be enough?
Supporting meta keys except for shift makes the whole thing a lot more difficult because of the way browsers implement keyboard events, but if people think meta keys are a must-have, I can probably do the extra work involved.
Any strong opinions either way?
Cor _______________________________________________ Roundcube Development discussion mailing list dev@lists.roundcube.net http://lists.roundcube.net/mailman/listinfo/dev
On 12 May 2014, at 22:14, Andreas Dick andudi@gmx.ch wrote:
support for ctrl would be great. I like the ctrl-enter of kmail for sending the email... Andreas
ctrl-enter will be a special case. In master I already support that. It cant be a user-settable key because you would have to enter it while you're in a text input field. And for obvious reasons keyboard shortcuts is turned off while an input field has focus.
So I specifically test for ctrl-enter, and allow only that while you're in the compose window.
Cor