WPF can not work well with set IsPressAndHoldEnabled to false when enable pointer message
- Dominant language
- C#
- Stars
- 7.7k
- Forks
- 1.3k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 61
Description
* .NET Core Version: 3.1.301
* Windows version: (`winver`)
* Does the bug reproduce also in WPF for .NET Framework 4.8?: Yes
**Problem description:**
We can use `Stylus.IsPressAndHoldEnabled="False"` to hide the touch feedback when we enable touch feedback in Windows 10.
It can work well when we do not enable the WM_Pointer message.
How to enable touch feedback in Windows 10? See [3 Ways to Enable or Disable Touch Feedback in Windows 10](https://www.top-password.com/blog/enable-or-disable-touch-feedback-in-windows-10/ )
**Actual behavior:**
We can find the touch feedback when we enable WM_Pointer message.

**Expected behavior:**
The behavior of the WPF application is the same as before enable the WM_Pointer message.
We can use `Stylus.IsPressAndHoldEnabled="False"` to hide the touch feedback. When we hold the screen, the gray rectangle is not displayed.
**Minimal repro:**
https://github.com/lindexi/lindexi_gd/tree/41884562/KemjawyecawDurbahelal
Contributor guide
Assessment
This issue has not been assessed yet.