Issue 59435 - Unix support for menu shortcuts with Thai UI and English keyboard layout
Summary: Unix support for menu shortcuts with Thai UI and English keyboard layout
Alias: None
Product: Internationalization
Classification: Code
Component: code (show other issues)
Version: OOo 2.0.1
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2005-12-16 10:22 UTC by jjc
Modified: 2013-08-07 14:59 UTC (History)
1 user (show)

See Also:
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
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 to map the keysym to
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
Comment 4 philipp.lohmann 2008-01-08 17:16:40 UTC
Comment 5 Rob Weir 2013-07-30 02:20:15 UTC
Reset assignee on issues not touched by assignee in more than 2000 days.