View Issue Details

IDProjectCategoryView StatusLast Update
0013374LazarusIDEpublic2016-12-11 15:18
ReporterSaeka-jp Assigned ToDmitry Boyarintsev  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
Product Version0.9.27 (SVN) 
Summary0013374: Cannot input Japanese character in IDE(SynEdit: GTK2, Carbon)
DescriptionWe use Anthy(Input Method Editor) when input Japanese character on Linux.
And we cannot input Japanese characters on Lazarus IDE(SynEdit) at all.

But
1)we can paste japanese char(s) into SynEdit from other application( gedit,etc ).
2)we can input japanese char(s) into TEdit , object inspector.
Additional InformationGTK IM interface:
http://library.gnome.org/devel/gtk/stable/GtkIMContext.html

Mac OS All articles:
http://developer.apple.com/documentation/TextFonts/Reference/TextInputSourcesReference/Reference/reference.html (OSX>=10.5
http://developer.apple.com/documentation/Carbon/Conceptual/UnderstandTextInput_TSM/tinptsm_concepts/titsm_concepts.html
http://developer.apple.com/documentation/Carbon/Reference/Text_Services_Manager/Reference/reference.html (OSX<=10.4)
TagsNo tags attached.
Fixed in Revision
LazTarget-
WidgetsetGTK 2, Carbon
Attached Files

Relationships

related to 0027707 assignedMartin Friebe Source Editor(TSynEdit) doesn't respect "East Asian Width". 
related to 0026369 new uim and synedit. 
related to 0030478 resolvedJuha Manninen Cannot input chinese character 
related to 0028540 new TMemo will cause crash in ATOK (Japanese input method editor) 

Activities

Dmitry Boyarintsev

2009-03-23 06:10

developer   ~0026327

Last edited: 2009-03-23 06:13

what input method is used to input Japanese charachters on GTK2?

there's list of available Unix input method, but i'm not sure which one is used:
http://en.wikipedia.org/wiki/List_of_input_methods_for_UNIX_platforms

Thanks

Saeka-jp

2009-03-24 10:57

reporter   ~0026355

SCIM-Anthy, default input method on Japanese localized Ubuntu.

What input method are recomended on Lazarus IDE?(=SynEdit)

Thanks.

Dmitry Boyarintsev

2009-03-24 11:30

developer   ~0026357

Input Methods (IM) are not supported by LCL generally.

  Thanks again, for the patch provided to support WinIME in SynEdit.
But implementeing GTK IM support in the same way (as Win IME), would be wrong. Because there would be numerous {$ifdef}s for each of the possible widgetset and for SynEdit only.
  Other components (like RichView) might require IM support too. So LCL must provide cross-platfrom way to use System Input Method (hiding underlaying os implementation)

  Text-controls based on native widgets (i.e. TEdit, TMemo. TEdit is used as an editor in OI) are already has system built-in IM support. SynEdit does not have it, because it's not based on native text widget.

2010-05-23 00:48

 

gtkim.zip (129,197 bytes)

malcome

2010-05-23 00:49

reporter   ~0037887

I uploaded GTK IM sample!

2010-05-23 13:57

 

gtkim2.zip (129,397 bytes)

Issue History

Date Modified Username Field Change
2009-03-21 15:35 Saeka-jp New Issue
2009-03-21 15:35 Saeka-jp Widgetset => GTK 2
2009-03-23 05:48 Dmitry Boyarintsev Status new => assigned
2009-03-23 05:48 Dmitry Boyarintsev Assigned To => Dmitry Boyarintsev
2009-03-23 06:10 Dmitry Boyarintsev Note Added: 0026327
2009-03-23 06:13 Dmitry Boyarintsev Note Edited: 0026327
2009-03-24 10:57 Saeka-jp Note Added: 0026355
2009-03-24 11:30 Dmitry Boyarintsev Note Added: 0026357
2009-03-24 11:31 Dmitry Boyarintsev LazTarget => -
2009-03-24 11:31 Dmitry Boyarintsev Widgetset GTK 2 => GTK 2, Carbon
2009-03-24 11:31 Dmitry Boyarintsev Summary Cannot input Japanese character in IDE( SynEdit-Linux,GTK2) => Cannot input Japanese character in IDE( SynEdit-Linux,GTK2, Carbon)
2009-03-24 11:31 Dmitry Boyarintsev Additional Information Updated
2009-03-24 11:58 Dmitry Boyarintsev Summary Cannot input Japanese character in IDE( SynEdit-Linux,GTK2, Carbon) => Cannot input Japanese character in IDE(SynEdit: GTK2, Carbon)
2009-03-24 11:58 Dmitry Boyarintsev Additional Information Updated
2010-05-23 00:48 malcome File Added: gtkim.zip
2010-05-23 00:49 malcome Note Added: 0037887
2010-05-23 13:57 malcome File Added: gtkim2.zip
2010-07-06 08:01 Dmitry Boyarintsev Relationship added related to 0016430
2010-07-12 09:08 Mattias Gaertner Relationship deleted related to 0016430
2016-03-16 20:29 Juha Manninen Relationship added related to 0028540
2016-03-16 20:48 Juha Manninen Relationship added related to 0027707
2016-03-16 20:51 Juha Manninen Relationship added related to 0026369
2016-12-11 15:18 Juha Manninen Relationship added related to 0030478