[hafqa] [hafqa] [Bug 3407] Input language switching does not work in browser entry fields

From: bugzilla-daemon at maemo.org bugzilla-daemon at maemo.org
Date: Sat Aug 2 16:25:30 EEST 2008
https://bugs.maemo.org/show_bug.cgi?id=3407





------- Comment #7 from maemo at subs.maneos.org  2008-08-02 16:25 GMT+3 -------
I just discovered /usr/bin/hildon-im-xkbtool, which came in package
hildon-im-wc, ("Western word completion plugin for slide keyboard") of all
things.

With it I can switch slide keyboard layouts from the command line (yay!), for
example:

hildon-im-xkbtool --id=3 -l gr -m pc105

but there are some side effects:

- FN, CHR, & SHIFT-SPACE stop working
- the D-pad middle button becomes an ENTER key

Launching the text input settings control panel applet and tapping OK resets
the keyboard state.

The side effects may be due to "pc105" being the wrong keyboard model.  The
correct one seems to be "nokiarx44":

~ $ hildon-im-xkbtool -g
Internal keyboard:
Model: nokiarx44
Layout: us
Delay: 600
Interval: 50

but specifying that fails with "GLIB WARNING ** default - Error loading
keyboard description".  The only models defined /usr/share/X11/xkb/rules/base*
are "pc105" and "nokiasu8w".

xev shows these events for FN & CHR respectively under normal conditions:

KeyPress event, serial 20, synthetic NO, window 0x1e00001,
    root 0x3e, subw 0x0, time 2206035085, (655,-33), root:(735,27),
    state 0x0, keycode 216 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
    XLookupString gives 0 characters:  ""

KeyPress event, serial 23, synthetic NO, window 0x1e00001,
    root 0x3e, subw 0x0, time 2206041322, (655,-33), root:(735,27),
    state 0x0, keycode 135 (keysym 0xff20, Multi_key), same_screen YES,
    XLookupString gives 0 characters:  ""

but these when switched with hildon-im-xkbtool (both pc105 & nokiasu8w models
give the same results):

KeyPress event, serial 20, synthetic NO, window 0x1e00001,
    root 0x3e, subw 0x0, time 2206169688, (655,-33), root:(735,27),
    state 0x0, keycode 216 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 characters:  ""

KeyPress event, serial 23, synthetic NO, window 0x1e00001,
    root 0x3e, subw 0x0, time 2206171240, (655,-33), root:(735,27),
    state 0x0, keycode 135 (keysym 0xff67, Menu), same_screen YES,
    XLookupString gives 0 characters:  ""


-- 
Configure bugmail: https://bugs.maemo.org/userprefs.cgi?tab=email
Replies to this email are NOT read, instead please add comments at
https://bugs.maemo.org/show_bug.cgi?id=3407
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the hafqa mailing list