ExceptionStack:
System.InvalidOperationException: Cannot modify this property on the Empty Rect.
at System.Windows.Rect.set_Width(Double value)
at Infragistics.Windows.DataPresenter.VirtualizingDataRecordCellPanel.GetInViewRect()
at Infragistics.Windows.DataPresenter.DataPresenterBase.GetNearestCompatibleField(ISelectableItem item, Point pt, Field pivotField, Record pivotRecord, Boolean cells, RecordPresenter rp, Record& nearestRecord, Field& nearestField)
at Infragistics.Windows.DataPresenter.DataPresenterBase.GetNearestCompatibleCell(ISelectableItem item, Point pt)
at Infragistics.Windows.DataPresenter.DataPresenterBase.Infragistics.Windows.Selection.ISelectionHost.GetNearestCompatibleItem(ISelectableItem item, MouseEventArgs e)
at Infragistics.Windows.Selection.SelectionStrategyExtended.OnMouseMove(ISelectableItem item, MouseEventArgs e)
at Infragistics.Windows.Selection.SelectionController.OnMouseMove(MouseEventArgs e)
at Infragistics.Windows.Controls.IGControlBase.OnMouseMove(MouseEventArgs e)
at Infragistics.Windows.DataPresenter.DataPresenterBase.OnMouseMove(MouseEventArgs e)
at System.Windows.UIElement.OnMouseMoveThunk(Object sender, MouseEventArgs e)
at System.Windows.Input.MouseEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
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.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
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.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, 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)
at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(ApplicationContext context)
Hello Ernest,
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
Hi Stefan,
I cannot reproduce the bug in development environment. I am still waiting for some tracing from end users that will hopefully help to understand more about the conditions in which this bug happens.
I will contact you as soon as I have news.
Thank you,
Ernest
Although this is an old thread, our end users have reported a similar issue, but as Ernest mentioned this is inconsistent and hard to reproduce, so cannot provide a sample app, but has been reported to happen on right clicking a xamtreeNode, for which a context menu is supposed to appear. We are on v15.1.
Regards,
Waseem
As I said this is not a know issue and without a samle where this is reproduced, we are not able to investigate this further. As soon as you can provide us with a sample we will be happy to help you resolve this.
well, I am not able to provide a sample that reproduce the exception.
I don't know what to say.
I am just checking if you got this worked out or you still require any assistance or clarification on the matter.