Apply #916 popup-wedge fix to CorrelatedCrosshairManager#922
Merged
erikdarlingdata merged 1 commit intodevfrom May 2, 2026
Merged
Apply #916 popup-wedge fix to CorrelatedCrosshairManager#922erikdarlingdata merged 1 commit intodevfrom
erikdarlingdata merged 1 commit intodevfrom
Conversation
… Lite) Sweeping for repeats of the WPF Popup wedge bug found CorrelatedCrosshairManager has the same shape as ChartHoverHelper — multiple charts feed a single tooltip popup, IsOpen = true is set on every mouse move with no re-anchor toggle, and no Loaded/Unloaded/IsVisibleChanged subscriptions on the chart lanes. CorrelatedTimelineLanesControl is hosted inside Resource Metrics → Server Trends (a TabItem inside a TabItem), so the same wedge applies: WPF unloads the parent on tab switch without firing MouseLeave, leaving _tooltip.IsOpen stuck at true with a stale anchor. Both Dashboard and Lite copies updated in lockstep per the file's own SYNC WARNING: - Subscribe to chart Loaded / Unloaded / IsVisibleChanged in AddLane and force _tooltip.IsOpen = false on each event. - In OnMouseMove, toggle IsOpen off then on so WPF re-evaluates placement even when the popup believes it is already open. - Unhook the new event handlers in Dispose. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Sweep for repeats of the WPF Popup wedge bug from #916 found
CorrelatedCrosshairManagerhas the same shape asChartHoverHelper— multiple charts feed a single tooltip popup,IsOpen = trueis set on every mouse move with no re-anchor toggle, and noLoaded/Unloaded/IsVisibleChangedsubscriptions on the chart lanes.CorrelatedTimelineLanesControlis hosted inside Resource Metrics → Server Trends (aTabIteminside aTabItem), so the same wedge applies: WPF unloads the parent on tab switch without firingMouseLeave, leaving_tooltip.IsOpenstuck attruewith a stale anchor.Both Dashboard and Lite copies updated in lockstep per the file's own
SYNC WARNING.Loaded/Unloaded/IsVisibleChangedinAddLaneand force_tooltip.IsOpen = falseon each event.OnMouseMove, toggleIsOpenoff then on so WPF re-evaluates placement even when the popup believes it is already open.Dispose.Related to #916
Test plan
🤖 Generated with Claude Code