Bug 200726

Summary: [mail][si_LK] unable to enter "kRoo" (2nd modifier) in composer with scim-sinhala
Product: [Fedora] Fedora Reporter: A S Alam <aalam>
Component: evolutionAssignee: Matthew Barnes <mbarnes>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: eng-i18n-bugs, majain, mshao, tywickra
Target Milestone: ---Keywords: i18n
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-04-12 12:35:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
broken rendering again none

Description A S Alam 2006-07-31 12:04:13 UTC
Description of problem:
when try to input for Sinhala Language, then failed to render properly

Version-Release number of selected component (if applicable):
evolution-2.7.4-3

How reproducible:


Steps to Reproduce:
1. Open Evolution
2. New Mail
3. Ctrl + Space to input 
  
Actual results:
rendering is broken

Expected results:
Rendering should like Gedit

Additional info:

Comment 1 A S Alam 2006-07-31 12:06:42 UTC
for input,
please install scim-sinhala (from rawhide) and press following keys

"kRoo"
Ctrl+Space to activative and Deactivate Input method

Comment 2 Mayank Jain 2006-08-08 08:27:19 UTC
Mail composer in ascii mode displays on typing "kRoo" with scim-sinhala as
à¶à¶»à¶à¶
While the correct representation should have been
à¶à·âරà·

Comment 3 Mayank Jain 2006-09-02 09:46:20 UTC
Initial investigation...

This seems to be a gtkhtml bug as the composer editor is a gtkhtml widget.

File - $evo/composer/e-msg-composer.c
/* Editor component.  */
p->eeditor = bonobo_widget_new_control (GNOME_GTKHTML_EDITOR_CONTROL_ID,
bonobo_ui_component_get_container (p->uic));


Also, in the same file, I found that evo just handles the ESC key & passes all
other events back to gtkhtml3 for processing.

static int
composer_key_pressed (EMsgComposer *composer, GdkEventKey *event, void *user_data)
{
	if (event->keyval == GDK_Escape) {
		do_exit (composer);
		g_signal_stop_emission_by_name (composer, "key-press-event");
		return TRUE;
	}
	
	return FALSE;
}


Comment 4 Mayank Jain 2006-09-02 12:10:05 UTC
Aman, I just checked this on Rawhide, this seems to be fixed. Can you confirm &
close the bug?

Thanks,
Mayank

Comment 5 Mayank Jain 2006-09-02 12:19:38 UTC
This *might* have fixed the bug...
http://cvs.gnome.org/viewcvs/gtkhtml/src/gtkhtml.c?r1=1.623&r2=1.624


Comment 7 Mayank Jain 2006-09-14 10:33:07 UTC
Found it to be broken again in 
evolution-2.8.0-1.fc6
scim-sinhala-0.2.0-1.fc6
pango-1.14.3-1.fc6

Comment 8 Mayank Jain 2006-09-14 10:33:27 UTC
Created attachment 136247 [details]
broken rendering again

Comment 9 Leon Ho 2006-09-26 12:29:51 UTC
Mayank, is it duplicate of 206261?

Comment 10 Akira TAGOH 2006-09-26 14:57:02 UTC
better trying with GTK_IM_MODULE=scim. then you can see if it's relevant to
#206261. if still happens, then just copy the broken strings and paste to gedit
say and see how it's displayed. if IM sends the correct character code sequqnce
but just gtkhtml's rendering is broken, copy-and-psate should works and gedit
should renders it properly, because whether IM works properly and applications
is rendering the characters properly is different issue. and since the input on
other languages works fine on evo's composer, it might be an issue in IM if
copy-and-paste doesn't work.

Comment 11 Mayank Jain 2006-09-28 11:07:53 UTC
Hi Leon,

"ii", "oo", "uu", "dH" are 1st modifier problems while "kRoo" are 2nd modifier
problems. Hence as per Tyronne, this bug is not duplicate of bug 206261.

206261 is for 1st modifiers & this bug is for second modifier. However, the
reason for both of them *might* be same. 

IMO, lets keep this open & simultaneously keep on following Bug 206261.



Comment 12 Jens Petersen 2006-09-29 16:17:09 UTC
I also suspect this is a duplicate of bug 206261
and indeed can reproduce this with latest scim-bridge.

Comment 13 Jens Petersen 2006-09-29 16:18:53 UTC
(In reply to comment #12)
> ... can reproduce this with latest scim-bridge.

Sorry, CAN'T reproduce with scim-bridge-0.4.5-3.fc6.

Comment 14 Jens Petersen 2006-09-29 16:21:57 UTC
*** Bug 203911 has been marked as a duplicate of this bug. ***

Comment 15 A S Alam 2007-04-12 12:35:36 UTC
it was working same for gedit and Evolution,
tested with following packages:
evolution-2.10.1-2.fc7
pango-1.16.2-1.fc7
scim-bridge-0.4.10-1.fc7

Thanks