Open
Description
Description
Add two Buttons and set ToolTips, then add an Ellipse.
When the mouse moves over the two Buttons, the ToolTip can switch correctly.
Now set a Storyboard for the Ellipse, then move the mouse to ButtonA and wait for its ToolTip to display.
Next, move the mouse from left to right to the left side of ButtonB.
At this time, the ToolTip does not immediately update its content.
However, when moving the mouse from ButtonB to the left to ButtonA, the ToolTip can be updated correctly.
Reproduction Steps
<Window ...>
<Grid>
<StackPanel Orientation="Horizontal" Height="50" Margin="50,0,0,0">
<Button x:Name="ButtonA" ToolTip="AAAAAAAAA" Width="50"/>
<Button x:Name="ButtonB" ToolTip="BBB" Width="50"/>
<Ellipse x:Name="Ellipse" Margin="5" Width="50" Height="50" Fill="Red" />
</StackPanel>
</Grid>
<Window.Triggers>
<EventTrigger RoutedEvent="Window.Loaded">
<BeginStoryboard>
<Storyboard RepeatBehavior="Forever">
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="Ellipse" Storyboard.TargetProperty="(FrameworkElement.Width)">
<EasingDoubleKeyFrame KeyTime="0:0:0" Value="50" />
<EasingDoubleKeyFrame KeyTime="0:0:1" Value="100">
<EasingDoubleKeyFrame.EasingFunction>
<SineEase EasingMode="EaseInOut" />
</EasingDoubleKeyFrame.EasingFunction>
</EasingDoubleKeyFrame>
<EasingDoubleKeyFrame KeyTime="0:0:2" Value="50" />
</DoubleAnimationUsingKeyFrames>
</Storyboard>
</BeginStoryboard>
</EventTrigger>
</Window.Triggers>
</Window>
Expected behavior
Actual behavior
NET 6 And 7
Regression?
Correct in NET 5.
Known Workarounds
Set ToolTipService.BetweenShowDelay to 0
Impact
No response
Configuration
.NET Version: 6.0.16 and 7.0.5
Windows version: 10 21H2
Other information
No response