Issue 59435

Summary: Unix support for menu shortcuts with Thai UI and English keyboard layout
Product: Internationalization Reporter: jjc
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues
Version: OOo 2.0.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Latest Confirmation in: ---
Developer Difficulty: ---

Description jjc 2005-12-16 10:22:58 UTC
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
Comment 1 stephan_schaefer 2005-12-16 11:01:18 UTC
ssa->pl: please evaluate.
Comment 2 philipp.lohmann 2005-12-16 12:48:18 UTC
yes, we should implement that
Comment 3 philipp.lohmann 2006-06-15 16:22:08 UTC
target
Comment 4 philipp.lohmann 2008-01-08 17:16:40 UTC
target
Comment 5 Rob Weir 2013-07-30 02:20:15 UTC
Reset assignee on issues not touched by assignee in more than 2000 days.