-
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...
-
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".
-
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 :mad::eek::mad::( 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
-
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.
-
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
-
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"};
-
tried to mess around a bit with this file, commenting out the whole line, or just supressing the entry for "JUSTIFY_CENTER", clearing my cache each time in between. Even issued a "tomcat restart". Does not work, I always have the same result...
Is this has something to do with the zgz file with the same name that stays untouched ?
Also it seems that the entry
Code:
"2":DwtHtmlEditor._STYLES[1]
should be
Code:
"2":DwtHtmlEditor._STYLES[2]