1 # Description of the bug
3 Virtual keyboards (at least Onboard and Florence) doesn't work at startup in
4 squeeze : when trying to use it in azerty, it passes in qwerty when the window
7 For the record: alternative virtual keyboards are listed and compared on
8 [[another todo item|todo/virtual_keyboard_in_Debian]].
14 If one sets the X11 keyboard layout, e.g. using `gnome-keyboard-properties` or
15 `setxkbmap`, it works.
17 ## Relation with gnome-at-spi
19 This bug also affects florence if `gnome-at-spi` is not launched.
21 If one enable gnome accessibility from `preferences` → `accessibility tools`
22 and then logout and login, then the virtual keyboards work **but** if gdm (and
23 thus X) is restarted then it doesn't work anymore.
27 Florence is affected by exactly the same bug, so it seems that it's a bug
28 outside of the virtual keyboard, but rather somewhere in X libs.
30 It appears that `python-virtkey` function `virtkey_get_current_group_name` in
31 `/src/python-virtkey.c` returns `USA` instead of `France` when the bug appears.
32 The wrong value is obtained from the following code (with a lot af more
35 XkbGetState(display, XkbUseCoreKbd, &state
37 Atom atom = cvirt->kbd->names->groups[group];
38 char * group_name = XGetAtomName(display, atom);
40 > This might have been fixed in the meantime. Let's check if
41 > `python-virtkey` or the X libs have been updated since the original
42 > bug report (Nov 1st 2010), re-test this, and maybe report bugs
45 >> As of january 2011, it is **not** fixed
47 >>> We workaround'ed this bug in the devel branch (commit 212032e65ad)
48 >>> => [[done]] in 0.7.