Reproducible scenario (Windows 7 Enterprise, 32 bit):
1) Create a wpf application and put one xamMaskedEditor and one TextBox (don't have to put any logic in the project)
2) Create a user "testuser" and put it in the Users groups (not Administrator)
3) From an administrator account shift+right click the wpf application, run->as different user, enter "testuser" credentials
4) Perform a single left click in TextBox (this works, the click is performed)
5) Perform in the xamMaskedEditor
Expected Result: focusing the xamMaskedEditor (i.e. the caret is put in the xamTextEditor)
Actual Result: application crashes with the exception:
Application: WpfApplication1.exe
Framework Version: v4.0.30319Description: The process was terminated due to an unhandled exception.Exception Info: System.Runtime.InteropServices.COMExceptionStack: at MS.Win32.UnsafeNativeMethods+ITfThreadMgr.GetGlobalCompartment(ITfCompartmentMgr ByRef) at System.Windows.Input.TextServicesCompartmentContext.GetGlobalCompartment(System.Guid) at System.Windows.Input.InputMethod.InitializeCompartmentEventSink() at System.Windows.Input.InputMethod.add_StateChanged(System.Windows.Input.InputMethodStateChangedEventHandler) at Infragistics.Windows.Editors.EditInfo+TextBoxEventProxy.WireInputMethod_StateChanged() at Infragistics.Windows.Editors.EditInfo.HookUnhookInputMethodHelper(Boolean) at Infragistics.Windows.Editors.XamMaskedEditor.ProcessIsBeingEditedAndFocusedChanged(Boolean) at Infragistics.Windows.Editors.XamMaskedEditor.ProcessIsBeingEditedAndFocusedChanged() at Infragistics.Windows.Editors.XamMaskedEditor.OnEditModeStarted(Infragistics.Windows.Editors.Events.EditModeStartedEventArgs) at Infragistics.Windows.Editors.ValueEditor.RaiseEditModeStarted(Infragistics.Windows.Editors.Events.EditModeStartedEventArgs) at Infragistics.Windows.Editors.ValueEditor.StartEditMode(Boolean) at Infragistics.Windows.Editors.ValueEditor.OnIsFocusWithinChanged(Boolean) at Infragistics.Windows.Editors.ValueEditor.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs) at Infragistics.Windows.Editors.TextEditorBase.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs) at Infragistics.Windows.Editors.XamMaskedEditor.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs) at System.Windows.DependencyObject.NotifyPropertyChange(System.Windows.DependencyPropertyChangedEventArgs) at System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.EntryIndex, System.Windows.DependencyProperty, System.Windows.PropertyMetadata, System.Windows.EffectiveValueEntry, System.Windows.EffectiveValueEntry ByRef, Boolean, Boolean, System.Windows.OperationType) at System.Windows.DependencyObject.SetValueCommon(System.Windows.DependencyProperty, System.Object, System.Windows.PropertyMetadata, Boolean, Boolean, System.Windows.OperationType, Boolean) at System.Windows.DependencyObject.SetValue(System.Windows.DependencyPropertyKey, System.Object) at Infragistics.Windows.Helpers.FocusWithinManager.SetFocusWithin(System.Windows.DependencyObject, Boolean, System.Windows.DependencyObject) at Infragistics.Windows.Helpers.FocusWithinManager.VerifyFocusWithin(System.Windows.DependencyObject, Boolean) at Infragistics.Windows.Helpers.FocusWithinManager.OnGotFocusClassHandler(System.Object, System.Windows.RoutedEventArgs) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean) at System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs) at System.Windows.UIElement.RaiseEvent(System.Windows.RoutedEventArgs) at System.Windows.FrameworkElement.OnGotFocus(System.Windows.RoutedEventArgs) at System.Windows.UIElement.IsFocused_Changed(System.Windows.DependencyObject, System.Windows.DependencyPropertyChangedEventArgs) at System.Windows.DependencyObject.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs) at System.Windows.FrameworkElement.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs) at Infragistics.Windows.Editors.ValueEditor.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs) at Infragistics.Windows.Editors.TextEditorBase.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs) at Infragistics.Windows.Editors.XamMaskedEditor.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs) at System.Windows.DependencyObject.NotifyPropertyChange(System.Windows.DependencyPropertyChangedEventArgs) at System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.EntryIndex, System.Windows.DependencyProperty, System.Windows.PropertyMetadata, System.Windows.EffectiveValueEntry, System.Windows.EffectiveValueEntry ByRef, Boolean, Boolean, System.Windows.OperationType) at System.Windows.DependencyObject.SetValueCommon(System.Windows.DependencyProperty, System.Object, System.Windows.PropertyMetadata, Boolean, Boolean, System.Windows.OperationType, Boolean) at System.Windows.DependencyObject.SetValue(System.Windows.DependencyPropertyKey, System.Object) at System.Windows.Input.FocusManager.OnFocusedElementChanged(System.Windows.DependencyObject, System.Windows.DependencyPropertyChangedEventArgs) at System.Windows.DependencyObject.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs) at System.Windows.FrameworkElement.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs) at System.Windows.DependencyObject.NotifyPropertyChange(System.Windows.DependencyPropertyChangedEventArgs) at System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.EntryIndex, System.Windows.DependencyProperty, System.Windows.PropertyMetadata, System.Windows.EffectiveValueEntry, System.Windows.EffectiveValueEntry ByRef, Boolean, Boolean, System.Windows.OperationType) at System.Windows.DependencyObject.SetValueCommon(System.Windows.DependencyProperty, System.Object, System.Windows.PropertyMetadata, Boolean, Boolean, System.Windows.OperationType, Boolean) at System.Windows.DependencyObject.SetValue(System.Windows.DependencyProperty, System.Object) at System.Windows.Input.FocusManager.SetFocusedElement(System.Windows.DependencyObject, System.Windows.IInputElement) at System.Windows.Input.KeyboardNavigation.UpdateFocusedElement(System.Windows.DependencyObject) at System.Windows.FrameworkElement.OnGotKeyboardFocus(System.Object, System.Windows.Input.KeyboardFocusChangedEventArgs) at System.Windows.Input.KeyboardFocusChangedEventArgs.InvokeEventHandler(System.Delegate, System.Object) at System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean) at System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs) at System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs) at System.Windows.UIElement.RaiseEvent(System.Windows.RoutedEventArgs, Boolean) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputManager.ProcessInput(System.Windows.Input.InputEventArgs) at System.Windows.Input.KeyboardDevice.ChangeFocus(System.Windows.DependencyObject, Int32) at System.Windows.Input.KeyboardDevice.TryChangeFocus(System.Windows.DependencyObject, System.Windows.Input.IKeyboardInputProvider, Boolean, Boolean, Boolean) at System.Windows.Input.KeyboardDevice.Focus(System.Windows.DependencyObject, Boolean, Boolean, Boolean) at System.Windows.Input.KeyboardDevice.Focus(System.Windows.IInputElement) at System.Windows.UIElement.Focus() at Infragistics.Windows.Editors.ValueEditor.StartEditModeOnMouseDownHelper() at Infragistics.Windows.Editors.ValueEditor.OnMouseLeftButtonDown(System.Windows.Input.MouseButtonEventArgs) at Infragistics.Windows.Editors.TextEditorBase.OnMouseLeftButtonDown(System.Windows.Input.MouseButtonEventArgs) at Infragistics.Windows.Editors.XamMaskedEditor.OnMouseLeftButtonDown(System.Windows.Input.MouseButtonEventArgs) at System.Windows.UIElement.OnMouseLeftButtonDownThunk(System.Object, System.Windows.Input.MouseButtonEventArgs) at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(System.Delegate, System.Object) at System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean) at System.Windows.UIElement.ReRaiseEventAs(System.Windows.DependencyObject, System.Windows.RoutedEventArgs, System.Windows.RoutedEvent) at System.Windows.UIElement.OnMouseDownThunk(System.Object, System.Windows.Input.MouseButtonEventArgs) at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(System.Delegate, System.Object) at System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean) at System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs) at System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs) at System.Windows.UIElement.RaiseEvent(System.Windows.RoutedEventArgs, Boolean) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputManager.ProcessInput(System.Windows.Input.InputEventArgs) at System.Windows.Input.InputProviderSite.ReportInput(System.Windows.Input.InputReport) at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr, System.Windows.Input.InputMode, Int32, System.Windows.Input.RawMouseActions, Int32, Int32, Int32) at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr, MS.Internal.Interop.WindowMessage, IntPtr, IntPtr, Boolean ByRef) at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.Dispatcher.InvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr) at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef) at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame) at System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame) at System.Windows.Threading.Dispatcher.Run() at System.Windows.Application.RunDispatcher(System.Object) at System.Windows.Application.RunInternal(System.Windows.Window) at System.Windows.Application.Run(System.Windows.Window) at System.Windows.Application.Run() at WpfApplication1.App.Main()
_____________________________________________________________
Additional details:
I've reproduced it on multiple windows 7 Enterprise machines both x64 and x32.
The error doesn't reproduce if I do an interactive login with "tableuser" instead of doing a ***+right click, run->as login
The error doesn't reproduce if I do a shift+right click, run as "tableuser" and I have "tableuser" in the administrator group instead of normal users group, and in addition to that, have UAC disabled.
In all other cases the error reproduces.
Hello All,
Just to let you know that we released the service release that include the fix of this issueLet me know if you have any further questions.
Sincerely,DimiDeveloper Support EngineerInfragistics, Inc.
This issue is not fixed yet. I am able to reproduce this.
Infragistics version 10.3
Win 7 x 64 bit, VS 2010
We have exactly the same problem with 2010.2.
Is there a fix available?
Thanks
Jürgen
Hello Gaurav,
Could you please send us a sample project, where the issue is reproduced and the steps that should be followed, so we could be able to investigate this further for you.
Looking forward for your reply.
Hello, I'm having the exact same issue on Windows 7 box and was trying to start ctfmon.exe. I've tried to run it several times from system32 folder but it disappears from Task Manager immediately. I even tried to set it up in the system registry so that it runs when I boot-up my system but this has been a fruitless exercise so far. Please help!
Hello,
Thank you for your post. I have been looking into it, but it seems like I am missing something about your scenario, so if this is still an issue for you, could you please send me an isolated sample project, where this is reproduced, so I can investigate it further for you.
We had this on Windows 7 when the user did not have ctfmon.exe setup to run. It has something to do with alternative input being setup in the control panel. Our user had E-ink setup. We remove the e-ink from the input settings, rebooted and setup cfmon.exe to run.
It was in the masked editor control (enter and format a floating point number) and in Infragistics3.WPF.Editors.v10.1.dllMessage : Error HRESULT E_FAIL has been returned from a call to a COM component.ErrorCode : -2147467259Data : System.Collections.ListDictionaryInternalTargetSite : Void GetGlobalCompartment(ITfCompartmentMgr ByRef)Stack Trace : at MS.Win32.UnsafeNativeMethods.ITfThreadMgr.GetGlobalCompartment(ITfCompartmentMgr& compartmentMgr) at System.Windows.Input.TextServicesCompartmentContext.GetGlobalCompartment(Guid guid) at System.Windows.Input.InputMethod.UninitializeCompartmentEventSink() at System.Windows.Input.InputMethod.remove_StateChanged(InputMethodStateChangedEventHandler value) at Infragistics.Windows.Editors.EditInfo.TextBoxEventProxy.UnwireInputMethod_StateChanged() at Infragistics.Windows.Editors.EditInfo.HookUnhookInputMethodHelper(Boolean hook) at Infragistics.Windows.Editors.XamMaskedEditor.ProcessIsBeingEditedAndFocusedChanged(Boolean focused) at Infragistics.Windows.Editors.XamMaskedEditor.OnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs e) at System.Windows.FocusWithinProperty.FireNotifications(UIElement uie, ContentElement ce, UIElement3D uie3D, Boolean oldValue) at System.Windows.ReverseInheritProperty.FirePropertyChangeInAncestry(DependencyObject element, Boolean oldValue, DeferredElementTreeState treeState, Action`2 originChangedAction) at System.Windows.ReverseInheritProperty.FirePropertyChangeInAncestry(DependencyObject element, Boolean oldValue, DeferredElementTreeState treeState, Action`2 originChangedAction) at System.Windows.ReverseInheritProperty.FirePropertyChangeInAncestry(DependencyObject element, Boolean oldValue, DeferredElementTreeState treeState, Action`2 originChangedAction) at System.Windows.ReverseInheritProperty.FirePropertyChangeInAncestry(DependencyObject element, Boolean oldValue, DeferredElementTreeState treeState, Action`2 originChangedAction) at System.Windows.ReverseInheritProperty.FirePropertyChangeInAncestry(DependencyObject element, Boolean oldValue, DeferredElementTreeState treeState, Action`2 originChangedAction) at System.Windows.ReverseInheritProperty.OnOriginValueChanged(DependencyObject oldOrigin, DependencyObject newOrigin, IList`1 otherOrigins, DeferredElementTreeState& oldTreeState, Action`2 originChangedAction) at System.Windows.Input.KeyboardDevice.ChangeFocus(DependencyObject focus, Int32 timestamp) at System.Windows.Input.KeyboardDevice.PostProcessInput(Object sender, ProcessInputEventArgs e) at System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(ProcessInputEventHandler postProcessInput, ProcessInputEventArgs processInputEventArgs) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) at System.Windows.Interop.HwndKeyboardInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawKeyboardActions actions, Int32 scanCode, Boolean isExtendedKey, Boolean isSystemKey, Int32 virtualKey) at System.Windows.Interop.HwndKeyboardInputProvider.PossiblyDeactivate(IntPtr hwndFocus) at System.Windows.Interop.HwndKeyboardInputProvider.FilterMessage(IntPtr hwnd, WindowMessage message, IntPtr wParam, IntPtr lParam, Boolean& handled) at System.Windows.Interop.HwndSource.InputFilterMessage(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)
Hello Jürgen,
Could please install the latest service release of 10.2 if you haven’t do this yet. You can download it by logging to our web site and going to Account \My Keys and Downloads.