Skip to content

Conversation

@CalvinAllen
Copy link
Contributor

Summary

Add Background = Brushes.Transparent to the gutter margin Canvas.

In WPF, a Canvas without a Background property set will not receive mouse events in empty areas. This was preventing the tooltip from appearing when hovering over the gutter margin.

Test plan

  • Hover over the gutter margin and verify tooltip appears
  • Verify click-to-copy still works on gutter entries

Add transparent background to gutter margin Canvas so mouse events
are properly captured. WPF requires a Background to be set for
hit-testing to work.
- Remove Git Graph, File History, Line History, Compare commands from menus
- Remove Git Graph settings from options page
- Keep stub command files for future implementation
- Remove unused command ID constants
- Create Git Ranger submenu under Extensions top-level menu
- Move Toggle Inline Blame and Toggle Blame Gutter to submenu
- Remove "Git Ranger:" prefix from menu items (submenu provides context)
- Replace WPF ToolTip with Popup for reliable dynamic tooltips
- Add TextChanges CommandFlag to allow Enable/Disable text updates
@CalvinAllen CalvinAllen merged commit d3b95e0 into main Dec 28, 2025
1 of 2 checks passed
@CalvinAllen CalvinAllen deleted the fix/gutter/tooltip-mouse-events branch December 28, 2025 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants