Bug 80056 - [StyledText] StyledText sets IME to Arabic when caret placed in Hebrew
Summary: [StyledText] StyledText sets IME to Arabic when caret placed in Hebrew
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact: Felipe Heidrich CLA
URL:
Whiteboard: stalebug
Keywords: triaged
Depends on: 62431
Blocks:
  Show dependency tree
 
Reported: 2004-12-02 15:06 EST by Randy Hudson CLA
Modified: 2020-05-05 05:36 EDT (History)
4 users (show)

See Also:


Attachments
new API for setting specific keyboard language (2.03 KB, patch)
2010-01-21 07:21 EST, Ira Fishbein CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Randy Hudson CLA 2004-12-02 15:06:13 EST
Whenever the caret is moved to Hebrew context, the IME mode is changed to 
Arabic. I expected it to be set to Hebrew.
Comment 1 Felipe Heidrich CLA 2004-12-02 15:56:40 EST
Yes, I know about that. BidiUtil#setKeyboardLanguage only takes KEYBOARD_BIDI, 
KEYBOARD_NON_BIDI. StyledText uses this API in accordance with the level of 
the character in the caret position. I think this is bogus.
Placing the caret on a RTL char causes the keyboard to switch to the 
first "KEYBOARD_BIDI" installed in your machine, moving the caret back to a 
LTR char will cause the keyboard to the first KEYBOARD_NON_BIDI, usually 
English (on English machines), but nothing guarantees it won't be German or 
French.
Comment 2 Felipe Heidrich CLA 2004-12-02 16:04:19 EST
Randy, please note that fixing this bug involves implementing new APIs (to 
work with the keyboard layout and to detect the language/script of a char).
Once this APIs are ready we would need to change StyledText.

The major problem is to implement this on Linux (gtk and motif), in this 
platforms there is no standarts on how to change the keyboard layout/mapping. 
The applets to switch keyboard on Linux (gnome has one and kde has another) 
make this job almost impossible. 
Comment 3 Felipe Heidrich CLA 2009-08-18 11:16:44 EDT
Your bug has been moved to triage, visit http://www.eclipse.org/swt/triage.php for more info.
Comment 4 Ira Fishbein CLA 2010-01-21 07:21:31 EST
Created attachment 156775 [details]
new API for setting specific keyboard language

I've implemented new API for setting specific language (and not just KEYBOARD_BIDI, KEYBOARD_NON_BIDI as it works now). This was implemented for Windows only. When it will be approved, I'll add empty APIs to other OSs.
Comment 5 Felipe Heidrich CLA 2010-01-21 09:06:46 EST
Ira, thansk for the patch - See bug 62431
Comment 6 Leo Ufimtsev CLA 2017-08-03 12:29:44 EDT
This is a one-off bulk update. (The last one in the triage migration).

Moving bugs from swt-triaged@eclipse to platform-swt-inbox@eclipse.org and adding "triaged" keyword as per new triage process:
https://wiki.eclipse.org/SWT/Devel/Triage

See Bug 518478 for details.

Tag for notification/mail filters:
@TriageBulkUpdate
Comment 7 Eclipse Genie CLA 2020-05-05 05:36:53 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.