Hi,
one thing I'm really missing in roundcube which I know is possible and probably not too hard: keyboard commands. I know you can capture keyboard events in javascript so this surprises me (that it's not implemented yet).
Am I missing something here? please tell...
Anyway, I'm really looking for some easy shortcuts in non-composer mode to browse more easily (space -> next message, del -> delete selected message).
Cheers,
Auke
Or, using Thunderbird's shortcuts n -> next new message space -> page down, which incidentally is the behavior in Firefox
Auke Kok wrote:
Hi,
one thing I'm really missing in roundcube which I know is possible and probably not too hard: keyboard commands. I know you can capture keyboard events in javascript so this surprises me (that it's not implemented yet).
Am I missing something here? please tell...
Anyway, I'm really looking for some easy shortcuts in non-composer mode to browse more easily (space -> next message, del -> delete selected message).
Cheers,
Auke
Jesse Thompson wrote:
Or, using Thunderbird's shortcuts n -> next new message space -> page down, which incidentally is the behavior in Firefox
You see, that's the reason why this has not been implemented yet. It's quite easy to add a key handler to the code but then we get dozens for posts here where people complain the key allocation. To make it right, it also requires to provide a config panel where every user can enable/disable keyboard shortcuts and select the keys. This selection has to be saved to the user preferences and passed to the client and interpreted by the keyboard handler.
I hope one day somebody will take care of that but it's not on top of the features-to-implement-list.
On the road map we have an entry "Customizable keyboard shortcuts" for future versions: http://roundcube.net/?p=roadmap
Regards, Thomas
Auke Kok wrote:
Hi,
one thing I'm really missing in roundcube which I know is possible and probably not too hard: keyboard commands. I know you can capture keyboard events in javascript so this surprises me (that it's not implemented yet).
Am I missing something here? please tell...
Anyway, I'm really looking for some easy shortcuts in non-composer mode to browse more easily (space -> next message, del -> delete selected message). Cheers,
Auke
I sent a patch earlier for the main message listing screen to enable the 'Delete' key. I don't think it was ever committed to CVS so you'll have to look back in the archives. You could use that to build on more shortcuts. Granted it wasn't the cleanest code, but it got the job done for what I needed.
Dave
On Wed, April 19, 2006 3:49 pm, Auke Kok wrote:
Hi,
one thing I'm really missing in roundcube which I know is possible and probably not too hard: keyboard commands. I know you can capture keyboard events in javascript so this surprises me (that it's not implemented yet).
Am I missing something here? please tell...
Anyway, I'm really looking for some easy shortcuts in non-composer mode to browse more easily (space -> next message, del -> delete selected message).
Cheers,
Auke
I don't see why you want to make the keyboard shortcuts configurable
to each user. Most apps don't. As long as they're somewhat standard,
or make sense, then make the users learn the RoundCube shortcuts.
Maybe have a help item that describes the keyboard shortcuts. At
most, I'd say, put the shortcuts in a config file so the admin can
change what they are, and base the help item on that config file.
Believe me, I do NOT want to support 200+ users all with their own
custom key-mapping.
Regards, Stephen
On 20-Apr-06, at 7:16 AM, Thomas Bruederli wrote:
Jesse Thompson wrote:
Or, using Thunderbird's shortcuts n -> next new message space -> page down, which incidentally is the behavior in Firefox
You see, that's the reason why this has not been implemented yet. It's quite easy to add a key handler to the code but then we get dozens for posts here where people complain the key allocation. To make it right, it also requires to provide a config panel where
every user can enable/disable keyboard shortcuts and select the keys. This selection has to be saved to the user preferences and passed to the client and interpreted by the keyboard handler.I hope one day somebody will take care of that but it's not on top of the features-to-implement-list.
On the road map we have an entry "Customizable keyboard shortcuts" for future versions: http://roundcube.net/?p=roadmap
Regards, Thomas
Auke Kok wrote:
Hi,
one thing I'm really missing in roundcube which I know is
possible and probably not too hard: keyboard commands. I know you can capture keyboard events in javascript so this surprises me (that it's not implemented yet).Am I missing something here? please tell...
Anyway, I'm really looking for some easy shortcuts in non-composer mode to browse more easily (space -> next message, del -> delete selected message). Cheers,
Auke
I don't know that people were talking about per-user, but
per-installation. At least that is what I assumed. If you wanted to do a little experiment, propose a list of keystrokes that you think are reasonable, and watch how many people say they are horrible, and totally non-intuitive, and that only includes the people on this list...
On Thu, 20 Apr 2006, Stephen wrote:
I don't see why you want to make the keyboard shortcuts configurable to each user. Most apps don't. As long as they're somewhat standard, or make sense, then make the users learn the RoundCube shortcuts. Maybe have a help item that describes the keyboard shortcuts. At most, I'd say, put the shortcuts in a config file so the admin can change what they are, and base the help item on that config file.
Believe me, I do NOT want to support 200+ users all with their own custom key-mapping.
You see, that's the reason why this has not been implemented yet. It's quite easy to add a key handler to the code but then we get dozens for posts here where people complain the key allocation.
Exactly the response I was hoping to trigger :)
Believe me, I do NOT want to support 200+ users all with their own custom key-mapping.
I agree.
Jesse
Stephen wrote:
I don't see why you want to make the keyboard shortcuts configurable to each user. Most apps don't. As long as they're somewhat standard, or make sense, then make the users learn the RoundCube shortcuts. Maybe have a help item that describes the keyboard shortcuts. At most, I'd say, put the shortcuts in a config file so the admin can change what they are, and base the help item on that config file.
Believe me, I do NOT want to support 200+ users all with their own custom key-mapping.
Regards, Stephen
On 20-Apr-06, at 7:16 AM, Thomas Bruederli wrote:
Jesse Thompson wrote:
Or, using Thunderbird's shortcuts n -> next new message space -> page down, which incidentally is the behavior in Firefox
You see, that's the reason why this has not been implemented yet. It's quite easy to add a key handler to the code but then we get dozens for posts here where people complain the key allocation. To make it right, it also requires to provide a config panel where every user can enable/disable keyboard shortcuts and select the keys. This selection has to be saved to the user preferences and passed to the client and interpreted by the keyboard handler.
I hope one day somebody will take care of that but it's not on top of the features-to-implement-list.
On the road map we have an entry "Customizable keyboard shortcuts" for future versions: http://roundcube.net/?p=roadmap
Regards, Thomas
Auke Kok wrote:
Hi,
one thing I'm really missing in roundcube which I know is possible and probably not too hard: keyboard commands. I know you can capture keyboard events in javascript so this surprises me (that it's not implemented yet).
Am I missing something here? please tell...
Anyway, I'm really looking for some easy shortcuts in non-composer mode to browse more easily (space -> next message, del -> delete selected message). Cheers,
Auke
On Thu, 20 Apr 2006 11:36:02 -0500, Jesse Thompson jesse.thompson@doit.wisc.edu wrote:
You see, that's the reason why this has not been implemented yet. It's quite easy to add a key handler to the code but then we get dozens for posts here where people complain the key allocation.
Exactly the response I was hoping to trigger :)
Believe me, I do NOT want to support 200+ users all with their own custom key-mapping.
I agree.
And now it's missing. This deadlock isn't good either, I'd rather see well-chosen shortcuts that are at least shared with 1 or 2 other mail applications then none.
picking thunderbird's shortcuts (n, del, space, r) would be a huge gain. I'm sure people will moan but you can at least say that you didn't grab them from /dev/random and other people have thought about them before.
You can always ignore the keyboard shortcuts completely, and wave that at people who complain that ctrl-alt-shift-pgup doesn't go to the prev-non-nested-one-level-up-folder or something. Draw a line and stick with it.
Auke
Auke Kok wrote:
On Thu, 20 Apr 2006 11:36:02 -0500, Jesse Thompson jesse.thompson@doit.wisc.edu wrote:
You see, that's the reason why this has not been implemented yet. It's quite easy to add a key handler to the code but then we get dozens for posts here where people complain the key allocation.
Exactly the response I was hoping to trigger :)
Believe me, I do NOT want to support 200+ users all with their own custom key-mapping.
I agree.
And now it's missing. This deadlock isn't good either, I'd rather see well-chosen shortcuts that are at least shared with 1 or 2 other mail applications then none.
picking thunderbird's shortcuts (n, del, space, r) would be a huge gain. I'm sure people will moan but you can at least say that you didn't grab them from /dev/random and other people have thought about them before.
You can always ignore the keyboard shortcuts completely, and wave that at people who complain that ctrl-alt-shift-pgup doesn't go to the prev-non-nested-one-level-up-folder or something. Draw a line and stick with it.
Auke
I agree that we should include some sensible keybinds. Delete is a no-brainer for instance, but what's this I keep hearing about the space key? The space key doesn't navigate to the next message on my install of Thunderbird or Outlook or any other mail application that I've ever heard of.
-Charles
On Thu, 20 Apr 2006 13:28:50 -0500, Charles McNulty charles@charlesmcnulty.com wrote:
The space key doesn't navigate to the next message on my install of Thunderbird or Outlook or any other mail application that I've ever heard of.
I wasn't one of the people who mentioned it, but space skips to the next unread message (even not in the current folder) on Pine, my normal mail client.
Space bar goes to the next message for my thunderbird install on windows
Jon Daley wrote:
On Thu, 20 Apr 2006 13:28:50 -0500, Charles McNulty charles@charlesmcnulty.com wrote:
The space key doesn't navigate to the next message on my install of Thunderbird or Outlook or any other mail application that I've ever heard of.
I wasn't one of the people who mentioned it, but space skips to the next unread message (even not in the current folder) on Pine, my normal mail client.
Oh yeah, you're right. But first it scrolls down if possible.
Brian Steere wrote:
Space bar goes to the next message for my thunderbird install on windows
Jon Daley wrote:
On Thu, 20 Apr 2006 13:28:50 -0500, Charles McNulty charles@charlesmcnulty.com wrote:
The space key doesn't navigate to the next message on my install of Thunderbird or Outlook or any other mail application that I've ever heard of.
I wasn't one of the people who mentioned it, but space skips to the next unread message (even not in the current folder) on Pine, my normal mail client.
Charles McNulty wrote:
I agree that we should include some sensible keybinds. Delete is a no-brainer for instance, but what's this I keep hearing about the space key? The space key doesn't navigate to the next message on my install of Thunderbird or Outlook or any other mail application that I've ever heard of.
-Charles
On all my Thunderbird installations the space key is page down, unless you are at the bottom of the message already, then it jumps to the next unread message. I read trough this entire thread using nothing but the space key.
One of the last few reasons I still use Thunderbird instead of a web-based email solution is that I have yet to find one that is possible to use with keyboard only.
-- R
Brian Steere wrote:
Space bar goes to the next message for my thunderbird install on windows
From the message list (meaning it highlights the next message) or from an open message? I'm using Thunderbird version 1.5 (20051201) on XP. Needless to say, this use of spacebar confuses and frightens me. I'd prefer not to have it in RC.
-Charles
Charles McNulty wrote:
Brian Steere wrote:
Space bar goes to the next message for my thunderbird install on windows
From the message list (meaning it highlights the next message) or from an open message? I'm using Thunderbird version 1.5 (20051201) on XP. Needless to say, this use of spacebar confuses and frightens me. I'd prefer not to have it in RC.
-Charles
Well, I'll be damned. It wasn't working because I didn't have any unopened e-mails. I can see now how that is pretty handy. It would be tricky to implement in RC but it would be doable I think.
-Charles
On Thu, 20 Apr 2006 08:59:22 -0500, "Dave Rowe" dave@roweware.com wrote:
I sent a patch earlier for the main message listing screen to enable the 'Delete' key. I don't think it was ever committed to CVS so you'll have to look back in the archives. You could use that to build on more shortcuts. Granted it wasn't the cleanest code, but it got the job done for what I needed.
if I go to:
http://lists.roundcube.net/mail-archive/roundcube.dev/2006/02/261/
I can see that there is an attachment but I cannot download it (404).
does anyone have the patch? I at least would like to take a look at it.
Auke
Auke Kok wrote:
if I go to: http://lists.roundcube.net/mail-archive/roundcube.dev/2006/02/261/ I can see that there is an attachment but I cannot download it (404). does anyone have the patch? I at least would like to take a look at it.
Oops! More unintended consequences of my list archive customizations :-(
Attachment is here:
http://lists.roundcube.net/mail-archive/roundcube.dev/2006/02/binbMzVUdyRCf....
Bob (list archive administrator)
Attachment is here:
http://lists.roundcube.net/mail-archive/roundcube.dev/2006/02/binbMzVUdyRCf....
Not to interrupt the how-to-quote discussion, but I'd just like to comment for a moment on RC. The above patch will work, I'm sure, but it's more proper place would be in the javascript files along with all of the rest of the key handling functionality. I'd be happy to work on getting delete in there in the next couple of days.
-Charles
On Thu, April 20, 2006 2:29 pm, Charles McNulty wrote:
The above patch will work, I'm sure, but it's more proper place would be in the javascript files along with all of the rest of the key handling functionality. I'd be happy to work on getting delete in there in the next couple of days.
-Charles
Yes, it would be better suited to be outside the direct HTML files. I simply wanted it quickly, and thought others might like it as well, atleast, until the 'to be' system was hashed out (see other thread).
-- Dave dave@roweware.com
Charles McNulty schrieb:
Not to interrupt the how-to-quote discussion, but I'd just like to comment for a moment on RC. The above patch will work, I'm sure, but it's more proper place would be in the javascript files along with all of the rest of the key handling functionality. I'd be happy to work on getting delete in there in the next couple of days.
That would be great. As this discussion showed, my plans to build a user-customizable shortcut handler was a bit too ambitious... But I guess we should implement a boolean user pref to enable/disable keyboard shortcuts.
-Charles
Thanks to all who posted to this thread.
Thomas
And to mitigate the I want 'x' instead of 'y' to go to the next unread message, have a text file with all of the bindings listed, so that every admin can tailor it to their favorite set. Some will always like vi (gmail) or TB or whathave you.
-- Robi
here is the delete key patch. It also further abstracts (a little) the key handling code, so it should be easier to add future keys in there. The delete action performs the exact same action as the delete button, so there are no prompts or anything. If the trash folder is present it puts it in there, if not it just deletes it. Again this represents no change from the current delete button functionality.
I did not add a preference for turning off the key shortcuts. To me this seems like a relatively low priority, but I welcome input.
Also, I've been known to break things for Mac browsers in the past so if anyone wants to test on any Mac browsers I would be very grateful.
-Charles
Thomas Bruederli wrote:
Charles McNulty schrieb:
Not to interrupt the how-to-quote discussion, but I'd just like to comment for a moment on RC. The above patch will work, I'm sure, but it's more proper place would be in the javascript files along with all of the rest of the key handling functionality. I'd be happy to work on getting delete in there in the next couple of days.
That would be great. As this discussion showed, my plans to build a user-customizable shortcut handler was a bit too ambitious... But I guess we should implement a boolean user pref to enable/disable keyboard shortcuts.
-Charles
Thanks to all who posted to this thread.
Thomas
RCS file: /cvsroot/roundcubemail/roundcubemail/program/js/app.js,v retrieving revision 1.39 diff -r1.39 app.js 239c239
document.onkeydown = function(e){ return rcube_webmail_client.key_pressed(e, msg_list_frame); };
271,272c271 < // reset last clicked if user clicks on anything other than the message table
this.key_pressed = function(e, msg_list_frame) {
275d273 < 277a276,289
switch (keyCode) { case 40: case 38: return this.use_arrow_key(keyCode, mod_key, msg_list_frame); break; case 46: return this.use_delete_key(keyCode, mod_key, msg_list_frame); break; default: return true; }
}
this.use_arrow_key = function(keyCode, mod_key, msg_list_frame) {
279d290 < 305d315 < 307a318,322
this.use_delete_key = function(keyCode, mod_key, msg_list_frame){ this.command('delete','',this); return false; }
Charles McNulty wrote:
here is the delete key patch. It also further abstracts (a little) the
And the next logical step would be to allow opening a message on pressing the carriage return. In Outlook/Thunderbird pressing Enter while multiple messages are highlighted opens each of them in their own window. Obviously this would not be the best approach given RC's current layout. Any suggestions as to what to do when Enter is pressed while multiple messages are highlighted?
a) ignore the event b) open first message (from top) c) don't implement this feature
I'm inclined towards a) myself.
-Charles
Charles McNulty wrote:
Charles McNulty wrote:
here is the delete key patch. It also further abstracts (a little) the
And the next logical step would be to allow opening a message on pressing the carriage return. In Outlook/Thunderbird pressing Enter while multiple messages are highlighted opens each of them in their own window. Obviously this would not be the best approach given RC's current layout. Any suggestions as to what to do when Enter is pressed while multiple messages are highlighted?
a) ignore the event b) open first message (from top) c) don't implement this feature
I'm inclined towards a) myself.
-Charles
my suggestion would be B first, then A to remain more consistent with what happens when you try to open a single highlighted message. if Enter opens a single message, that's the behavior a user will expect, if nothing happens, it may seem broken.