Skip to content

Fix double-click on column header triggering row drill-down (fixes #195)#203

Merged
erikdarlingdata merged 1 commit intodevfrom
fix/header-doubleclick-195
Feb 20, 2026
Merged

Fix double-click on column header triggering row drill-down (fixes #195)#203
erikdarlingdata merged 1 commit intodevfrom
fix/header-doubleclick-195

Conversation

@erikdarlingdata
Copy link
Owner

Summary

  • Double-clicking a column header border to auto-resize was also triggering the row double-click handler, opening unwanted drill-down windows
  • Added TabHelpers.IsDoubleClickOnRow() helper that walks the visual tree to distinguish DataGridRow from DataGridColumnHeader clicks
  • Applied the guard to all five MouseDoubleClick handlers: Query Store, Proc Stats, Query Stats, Collection Health, and Manage Servers

Test plan

  • Double-click column header border to auto-resize — no drill-down opens
  • Double-click a data row — drill-down still opens correctly

🤖 Generated with Claude Code

Added IsDoubleClickOnRow() helper that walks the visual tree to distinguish
DataGridRow clicks from DataGridColumnHeader clicks. Applied the guard to
all five MouseDoubleClick handlers across QueryPerformanceContent, ServerTab,
and ManageServersWindow.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@erikdarlingdata erikdarlingdata merged commit 9a7665e into dev Feb 20, 2026
3 checks passed
@erikdarlingdata erikdarlingdata deleted the fix/header-doubleclick-195 branch February 20, 2026 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant