Bug 2056

Summary: claws-mail hang when type non-ascii characters using Input Method Engine (IME)
Product: Claws Mail (GTK 2) Reporter: Yuwei Yu <acevery>
Component: UI/Compose WindowAssignee: users
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: P3    
Version: 3.7.3   
Hardware: PC   
OS: Linux   

Description Yuwei Yu 2009-11-18 03:17:31 UTC
For users whose use input method engine to input non-ascii characters.

It is very common that these users input non-ascii characters unconsciously in "To:" input dialog.

However, claws-mail will hang at this point, I have to kill claws-mail and restart it.
Comment 1 Paul 2009-11-18 08:02:35 UTC
What is "input method engine"?
Can you get some debug info?
Comment 2 Yuwei Yu 2009-11-18 09:47:00 UTC
Input Method Engine (IME) is a kind of program to input non-ascii charaters for languages include but not limited to Chinese, Japanese, Korean.

e.g, I want to input hello in Chinese, I need to type "nihao" in pinyin IME to get "&#20320;&#22909;" (need Chinese font to displayed this two UTF-8 characters).

I notice that, If I type any ascii charaters in "to" and remove them before typing any non-ascii charaters in "to", claws-mail would not hang.

run claws-mail --debug the output in stdout is as normal condition when claws-mail hangs:
&#65293;&#65293;&#65293;&#65293;&#65293;&#65293;&#65293;&#65293;&#65293;&#65293;&#65293;&#65293;&#65293;&#65293;&#65293;&#65293;&#65293;&#65293;
folder.c:1208:Counting total number of messages...
compose.c:6906:Creating compose window...
toolbar.c:702:read Toolbar Configuration from toolbar_compose.xml
addr_compl.c:299:read 19 items in (null)
addr_compl.c:360:start_address_completion((null)) ref count 1
template.c:162:template.c:163 reading templates dir /home/acevery/.claws-mail/templates
compose.c:7694:activated privacy system: pgpmime

(claws-mail:20522): Claws-Mail-WARNING **: can't open signature file: /home/acevery/.signature

&#65293;&#65293;&#65293;&#65293;&#65293;&#65293;&#65293;&#65293;&#65293;&#65293;&#65293;&#65293;&#65293;&#65293;&#65293;&#65293;