HandyOrg / HandyOrg/HandyControl

Mouse enter event not fired when moving the mouse enter the drawer control.

Open
#1,421 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
7.2k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Describe the bug

Mouse enter event not fired when moving the mouse enter the drawer control. In fact, all kinds of mouse events are not working.

Steps to reproduce the bug
  1. Declare a drawer control;
  2. Setup the MouseEnter handler;
  3. Run the WPF application and change the drawer state to opened;
  4. Move the mouse to enter(over) the drawer.
<hc:Drawer
  x:Name="MenuDetailDrawer"
  Margin="60,75,60,0"
  Dock="Top"
  IsOpen="{Binding MenuDetailDrawerIsOpen, Mode=TwoWay}"
  MouseEnter="MenuDetailDrawer_MouseEnter"
  ShowMode="Cover">
<!--Content Omitted-->
</hc:Drawer>
Expected behavior

The mouse enter event fired and the handler method is called.

Screenshots

No response

NuGet package version

HandyControl 3.4.0

IDE

Visual Studio 2022-preview

Framework type

.Net 6.0

Windows version

May 2021 Update (19043)

Additional context

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the WPF Drawer control and reproduce the issue using the provided XAML on .NET 6.0 with ShowMode set to Cover. Verify that MouseEnter and the other mouse events fire when the opened drawer is entered, and confirm the handler is called.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.