To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=59435
                  Issue #:|59435
                  Summary:|Unix support for menu shortcuts with Thai UI and
                          |English keyboard layout
                Component:|l10n
                  Version:|OOo 2.0.1
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|ENHANCEMENT
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|ssa
              Reported by:|james_clark





------- Additional comments from [EMAIL PROTECTED] Fri Dec 16 02:22:58 -0800 
2005 -------
The spec for issue 42964 calls for support menu shortcuts both with

(a) Thai UI and English keyboard layout
(b) English UI and Thai keyboard layout

2.0.1 has implemented this with the exception of (a) in the Unix case, on the
basis that this cannot be done in Unix.

I may well be missing something here, but it seems to me that it can be done by
using the Xkb extension (which is already used by OOo in other places and is
ubiquitous on contemporary Unix systems), specifically

1) get a keyboard event
2) from the keyboard event get a keycode
3) use XkbKeycodeToKeysym() passing it the group number for the Thai keyboard
group together with the keycode to get a Thai keysym
4) use eg http://www.cl.cam.ac.uk/~mgk25/ucs/keysym2ucs.c to map the keysym to
Unicode

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to