You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
System.ArgumentNullException: Value cannot be null. (Parameter 'element')
in int ToolTipService.GetBetweenShowDelay(DependencyObject element)
in void PopupControlService.CloseToolTip(ToolTip tooltip)
in void PopupControlService.OnPostProcessInput(object sender, ProcessInputEventArgs e)
in void InputManager.RaiseProcessInputEventHandlers(Tuple<ProcessInputEventHandler, Delegate[]> postProcessInput, ProcessInputEventArgs processInputEventArgs)
in bool InputManager.ProcessStagingArea()
in bool InputManager.ProcessInput(InputEventArgs input)
in void MouseDevice.Synchronize()
in void MouseDevice.ChangeMouseCapture(IInputElement mouseCapture, IMouseInputProvider providerCapture, CaptureMode captureMode, int timestamp)
in bool MouseDevice.Capture(IInputElement element, CaptureMode captureMode)
in bool UIElement.CaptureMouse()
Reproduction Steps
Be looking for...
Expected behavior
Work well
Actual behavior
Throw exception
Regression?
No response
Known Workarounds
No response
Impact
No response
Configuration
No response
Other information
No response
The text was updated successfully, but these errors were encountered:
I'm concerned that the fix for #7417 may not have completely resolved the issue. The reason being, I noticed no changes when I cherry-picked the changes from #7417 into my code branch. Please refer to dotnet-campus/dotnetCampus.CustomWpf#27. This implies that my code has already incorporated the fix. However, I'm still receiving the same exception message.
Upon reviewing the code, I found that the ToolTip parameter in the PopupControlService.CloseToolTip method comes from a _currentToolTip field. This suggests that it's indeed possible to get a null Owner during the MouseDevice.Capture process.
Description
The stacktrace:
Reproduction Steps
Be looking for...
Expected behavior
Work well
Actual behavior
Throw exception
Regression?
No response
Known Workarounds
No response
Impact
No response
Configuration
No response
Other information
No response
The text was updated successfully, but these errors were encountered: