Results 1 to 7 of 7

Thread: keyboard shortcuts

Hybrid View

  1. #1
    Join Date
    Oct 2007
    Location
    Paris
    Posts
    17
    Rep Power
    8

    Default keyboard shortcuts

    Hi,
    I know this one already came by, but appart from the bug #7994 (@ and € signs on a finnish keyboard layout), and a forum post saying to edit the ZmKeyMap.js file (for the @ sign on german mac), I didn't find the answer that's good for me.
    We are all on PCs with a French keyboard layout and the € sign is AltGr+E
    so when composing mail in zimbra web client with shortcuts enabled, the AltGr+E centers the text...
    the first workaround was to disable shortcuts alltogether, but I would be happy to find the file to edit, so that I can suppress (comment out) the shortcut that centers text. I may then re-enable the shortcuts : it's annoying that the "del" and "esc" keys don't work, 'cause those are not considered "shortcut" keys by end users...
    thanks

    PS : how come the AltGr+key (which is Ctrl+Alt+key if i'm not mistaking) gives the same results as Ctrl+key in zimbra web client ? I must admit that keycodes, scancodes and such had always puzzled me...
    Last edited by fchassaing; 10-23-2007 at 02:50 AM.

  2. #2
    Join Date
    Mar 2006
    Location
    Beaucaire, France
    Posts
    2,322
    Rep Power
    13

    Default

    Ergl.

    I run 4.5.7 too, shortcuts are enabled (N then M to create a new mail for example, or Alt+S to send a mail) and I don't have any problem with "Alt-Gr + E" for € ; neither in "Plain Text" nor "HTML composing".

    And none of our customers told us there was a problem with that kind of shortcut either (with IE6, IE7 or even FF2)...

    I don't find any "ALT + E" in the shortcut list either ("Options" tab, then "Raccouris/Shortcuts").

    On my laptop keyboard (XPS M1330), I'm getting the centered text when hitting "Right-CTRL + E", not "Alt-Gr + E".
    Last edited by Klug; 10-23-2007 at 03:16 AM.

  3. #3
    Join Date
    Oct 2007
    Location
    Paris
    Posts
    17
    Rep Power
    8

    Default

    yes I don't find the shortcut either ! that's what drives me nuts...
    the particular shortcut "centerjustify" does not seem to appear anywhere. I've 'grep'ed /opt/zimbra for all kinds of strings ('centerjustify', 'Ctrl+E', 'Alt+E', ...) I did not find the js file where this shortcut is defined, apart in the
    ZmMsg.properties file :
    centerJustify = Align Center (Ctrl+E)
    but that's only the message part...
    and again, it states Ctrl+E, while I'm pressing AltGr+E, and it is reproudctible on every og my PC's which are Dell's (optiplex) and Vaio laptops...
    what may be the difference between your config and mine, I can't say by now
    Last edited by fchassaing; 10-23-2007 at 03:29 AM.

  4. #4
    Join Date
    Mar 2006
    Location
    Beaucaire, France
    Posts
    2,322
    Rep Power
    13

    Default

    I've re-started my old Vaio (Z1RMP) and tried.
    It works "normaly" ("Alt-Gr + E" gives € and "Right-CTRL + E" centers).

    My current laptop runs Vista, keyboard is "Français (France)".
    My Vaio runs XP Pro, keybord is "Français (France)" too.

  5. #5
    Join Date
    Oct 2007
    Location
    Paris
    Posts
    17
    Rep Power
    8

    Default

    ok, maybe we can track this one down,
    This happens obviously only when composing an html message in the ajax client (not a text message, nor in the basic client), with IE 7.
    All PCs XP Pro SP2 with French keyboard, localized for Français (France), just like you...
    Oops, just tried with FF2 and it works fine. So here it goes for a browser-related bug. Those are the worst ones...
    But indeed if somebody knows where I just can comment out this shortcut, I'll be grateful.
    Thanks

  6. #6
    Join Date
    Mar 2006
    Location
    Beaucaire, France
    Posts
    2,322
    Rep Power
    13

    Default

    Confirmed : it does not work with IE7 on my laptops !
    Bug opened : Bug 21252 - IE7 keymap problem

    Try the file /opt/zimbra/tomcat/webapps/zimbra/js/Ajax_all.js, this line :
    Code:
    DwtHtmlEditor._KEY2CMDS={"b":DwtHtmlEditor.BOLD_STYLE,"i":DwtHtmlEditor.ITALIC_STYLE,"u":DwtHtmlEditor.UNDERLINE_STYLE,"s":DwtHtmlEditor.STRIKETHRU_STYLE,"l":DwtHtmlEditor.JUSTIFY_LEFT,"e":DwtHtmlEditor.JUSTIFY_CENTER,"r":DwtHtmlEditor.JUSTIFY_RIGHT,"j":DwtHtmlEditor.JUSTIFY_FULL,"1":DwtHtmlEditor._STYLES[1],"2":DwtHtmlEditor._STYLES[1],"3":DwtHtmlEditor._STYLES[3],"4":DwtHtmlEditor._STYLES[4],"5":DwtHtmlEditor._STYLES[5],"6":DwtHtmlEditor._STYLES[6],"0":"DUMP"};

Similar Threads

  1. keyboard shortcuts for 4.5.x
    By comptekki in forum Users
    Replies: 3
    Last Post: 12-08-2006, 09:10 AM
  2. keyboard shortcut in mail composer
    By yoyo23 in forum Users
    Replies: 3
    Last Post: 10-18-2006, 04:09 PM
  3. keyboard navigation
    By comptekki in forum Users
    Replies: 4
    Last Post: 09-29-2006, 11:37 AM
  4. keyboard support
    By nicetoknowjoe in forum Developers
    Replies: 1
    Last Post: 10-07-2005, 10:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •