Commit 5b833ef
Apply erikdarlingdata#916 popup-wedge fix to CorrelatedCrosshairManager (Dashboard + 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>1 parent b9361f3 commit 5b833ef
2 files changed
Lines changed: 54 additions & 0 deletions
File tree
- Dashboard/Helpers
- Lite/Helpers
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
77 | 87 | | |
78 | 88 | | |
79 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
80 | 99 | | |
81 | 100 | | |
82 | 101 | | |
| |||
287 | 306 | | |
288 | 307 | | |
289 | 308 | | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
290 | 314 | | |
291 | 315 | | |
292 | 316 | | |
| |||
373 | 397 | | |
374 | 398 | | |
375 | 399 | | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
376 | 403 | | |
377 | 404 | | |
378 | 405 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
77 | 87 | | |
78 | 88 | | |
79 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
80 | 99 | | |
81 | 100 | | |
82 | 101 | | |
| |||
287 | 306 | | |
288 | 307 | | |
289 | 308 | | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
290 | 314 | | |
291 | 315 | | |
292 | 316 | | |
| |||
373 | 397 | | |
374 | 398 | | |
375 | 399 | | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
376 | 403 | | |
377 | 404 | | |
378 | 405 | | |
| |||
0 commit comments