This is a migrated thread and some comments may be shown as answers.

RadRichTextBox IME issues and problems with Russian

4 Answers 103 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Jason asked on 17 Jul 2014, 06:09 PM
We are running into several issues with the RTB regarding IMEs. Is there anyone out there that is using the RTB in an IME environment? Telerik claims to support the Microsoft IME (which is terribly shortsighted because it is for the most part terrible) but even that crashes. Looking for anybody who has found workarounds, we have a global application and are at the brink of moving to a different solution if we can't solve the IME problems. I have put the suggestions into Telerik's system to support other IME's.

Here are our issues (both replicated in the WPF demos with the Microsoft IME):
1. Application crashes if the first character entered uses the shift modifier.
2. If the last character is a double quote it will delete the previous character.

Other random crashes:
Parameter name: insertIMETextCommandContext ---> System.ArgumentNullException: Value cannot be null.
Parameter name: insertIMETextCommandContext
at Telerik.Windows.Documents.UI.CaretTextInputHandler.HandleTextInsertedWithIme(RadDocument document, String text, TextInsertedEventArgs e)
at Telerik.Windows.Documents.UI.Caret.OnTextInput(TextCompositionEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.TextCompositionManager.UnsafeCompleteComposition(TextComposition composition)
at System.Windows.Documents.ImmComposition.RaiseTextInputEvent(FrameworkTextComposition composition, String compositionString)
at System.Windows.Documents.ImmComposition.OnWmImeChar(IntPtr wParam, Boolean& handled)
at System.Windows.Documents.ImmComposition.ImmCompositionFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

----

This is one that our Russian users get a lot:

Parameter name: collection ---> System.ArgumentNullException: Value cannot be null.
Parameter name: collection
at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
at Telerik.Windows.Automation.Peers.GridViewRowAutomationPeer.GetChildrenCore()
at System.Windows.Automation.Peers.AutomationPeer.EnsureChildren()
at System.Windows.Automation.Peers.AutomationPeer.UpdateChildrenInternal(Int32 invalidateLimit)
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdatePeer(Object arg)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

4 Answers, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 22 Jul 2014, 11:32 AM
Hi Jason,

Thank you for contacting us.

Using the Japanese IME, we have tried to reproduce the first issues you described:
1. Application crashes if the first character entered uses the shift modifier.
2. If the last character is a double quote it will delete the previous character.
but to no avail. Regarding this and the other exception you have mentioned after the two quoted above, can you try to answer the following questions:
  1. Which Microsoft IME causes the described issues?
  2. Is there something specific in the case - specific steps to reproduce, specific document, or something else? 
Answering these questions will let us find the problem and what causes it. If you need to send us a sample project which illustrates the issues, you can open a support ticket and send it to us.

The last problem you have mentioned is related to other control from our suite - RadGridView, so please, open a support ticket for that product, describing the issue as you did in your post. Opening different threads for each control separately will let us be much more effective in helping you.

Looking forward to your answer.


Regards,
Todor
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Jason
Top achievements
Rank 1
answered on 22 Jul 2014, 03:48 PM
[quote]Todor said:Hi Jason,
  1. Which Microsoft IME causes the described issues?
  2. Is there something specific in the case - specific steps to reproduce, specific document, or something else? [/quote]

The above problems are using the Korean Microsoft IME, it happens in the Telerik demos too.

0
Todor
Telerik team
answered on 24 Jul 2014, 08:47 AM
Hi Jason,

Thank you for your answer.

We were able to reproduce that when a double quotes character is inserted, it deletes the previously inserted character. We have logged it in our bug tracking system.

In appreciation, your Telerik points are now updated.

About the other issue you reported - it is not reproducible with our latest controls version. I can assure you that improvements are made to the IME support in our RadRichTextBox.You can upgrade RadControls to a newer version or to our upcoming Q2 ServicePack next week, in order to benefit of these improvements.

If you have any further assistance, please do not hesitate to contact us again.


Regards,
Todor
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Todor
Telerik team
answered on 24 Jul 2014, 10:42 AM
Hello Jason,

I just want to make a quick follow up - upon further investigation we managed to reproduce the problem where the application crashes if the first character is inserted while the Shift modifier is pressed.

The issue is logged and we will do our best to fix it by Q3 2014.

Sorry for the caused inconvenience.
If you need further assistance, please get back to us.

Regards,
Todor
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
RichTextBox
Asked by
Jason
Top achievements
Rank 1
Answers by
Todor
Telerik team
Jason
Top achievements
Rank 1
Share this question
or