Title | WikiWizard actions fired as side effect of typing polish national characters. |
Date | 01-Nov-2006 19:13:29 EET |
Version | |
Submitter | Paweł Limanówka |
Bug criticality | MediumBug |
Browser version | |
Bug status | NewBug |
PageProvider used | |
Servlet Container | |
Operating System | Windows XP |
URL | |
Java version | 5 |
Using WikiWizard editor for polish (pl_PL) locale is very annoying. Typing some of the national characters causes editor actions to fire as side-effect.
This is due to the standard polish keyboard layout - the national characters are typed with the rigth Alt held down. This is mapped as "Ctrl-Alt" key combo by the swing event system:
Character | Keyboard key-stroke | Java key event mapping |
ą | Right_Alt-a | Ctrl-Alt-a |
ć | Right_Alt-c | Ctrl-Alt-c |
ę | Right_Alt-e | Ctrl-Alt-e |
ł | Right_Alt-l | Ctrl-Alt-l |
ń | Right_Alt-n | Ctrl-Alt-n |
ó | Right_Alt-o | Ctrl-Alt-o |
ś | Right_Alt-s | Ctrl-Alt-s |
ż | Right_Alt-z | Ctrl-Alt-z |
ź | Right_Alt-x | Ctrl-Alt-x |
As the result, when I try to type "ó" (which is quite common in polish language), the editor fires "Attachements" (Ctrl-o) action. This is the only key stroke that is problematic. All the other national characters can be used without any side effects.
Didn't have time to look at the editor source code, but I suppose checking for "Alt" key flag in the event would be enought to supress this unwanted behaviour.
-- PawelLimanowka, 1-Nov-2006
Waiting for volunteer to fix this bug
This looks like something for Christoph Sauer ?
---
We are solving this issue with the next release of WikiWizard.
-- ChristophSauer 1. April 2007