-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
All WPF applications fail to drag outside of their windows since Windows 10 (1809/1903) such as resizing the window or do drag drop #1323
Comments
I have observed the same behavior when resizing the window as well as dragging the window by the title bar. Dragging and resizing works if I slowly move the mouse in such a way that the mouse does not leave the window. I could reproduce this issue using the default WPF app template in Visual Studio. Not sure if it would repo on other hardware/OS combinations. Video Card: Intel(R) HD Graphics 530 |
Markus Eisenstöck found a work around for this issue. By disabling the tablet support in WPF you will experience the expected behavior. I have tested and it works on my machine (Windows 10 version 1903 & .NET Framework 4.6.2):
|
@mgnslndh Thanks for your solution and it helps some WPF applications works find just as other non-WPF applications. But this issue affects all WPF applications in a Windows 10 including Visual Studio, so it should be fixed in WPF framework or Windows 10. |
Do not use private reflection to disable stylus and tablet support in WPF. Instead, you can use this AppContext switch. |
@grubioe I'm going to take this in light of some investigations I am doing into the same bug as reported internally on .NET Framework. I'm going to leave this unassigned for the time being so we pick it up in triage. |
@mgnslndh By the way, regardless of reflection vs the switch, thanks for your work in finding this out. It helps to pinpoint where some things might be going wrong. I have a strong feeling that something changed in the latest versions of Win10 and that messages we would normally receive are being "eaten" by WISP in the delegated input thread that it spawns to intercept WM_POINTER. I'll be looking into that today and seeing what I can find. |
I've confirmed that With touch turned off, we seem to get normal mouse messages as expected. I'm debugging into WISP now to understand if it is receiving all the messages and what it is doing with them. |
I found out some more.
This seems to indicate to me that there is some installed hooks from WISP that are badly interacting with some OS change. I am going to file a bug on the OS input team to get this fixed. |
Using OSGVSO bug 21846686 to track. |
Was duped to 21929858 and the team has root caused it and is testing fixes for 19H1. |
I have same issue. I'm using Wacom tablet. It actually work if unplug the tablet @rladuca as mentioned. I hope this issue being fixed without disabling the stylus or tablets because my some WPF apps need to support pen pressures. |
A fix was recently made in the development branches of Windows. I am inquiring as to a servicing fix. |
@haruby511 What Windows version are you seeing this on? |
Edition: Windows 10 Pro 64-bit Version: 1903 Build: 18362.267 |
This has been queued up for 19H1 servicing. I don't have a solid date for when this will ship, but it will be fixed in an upcoming service update. @grubioe Can we update when have more clarity on a ship date? |
This is targeted for a fix in early October |
@grubioe Since my Windows 10 Insider Preview is updated to 10.0.18975.1000, I find that this issue is fixed. Thanks for fixing that. @mgnslndh @rladuca @haruby511 Good News! This issue is fixed in the insider preview and will be fixed in 19H2 release. |
Looks like the fix is out: |
Yes, the fix was released this morning. Thanks all for the feedback. Closing issue. |
@grubioe Nice work! BTW, I can see the KB4517211 as an optional update. Is the update will included in next major version? Such as 19H2. If not, should I notice all of the clients must install this update manually themselves every time? |
Problem description:
All WPF applications fail to drag outside of their windows since Windows 10 (1809/1903) such as resizing the window or do drag drop. I find that most computers don't have such a bug but I also find out several others suffer from this issue.
I've posted this bug here several months ago:
I guessed it was the bug of Windows 10, so I just posted a Windows 10 Feedback via the Feedback app and publish it via StackOverflow. But day after day, I found that more and more people are suffering from this issue. So I think it may be both the bug of WPF and Windows.
It first reproduces in the 1903 Insider Preview and after the release of 1903, it still exists.
Actual behavior:
Expected behavior:
The window resizing behaves normal.
Minimal repro:
I can't find out the reproduction. But If one computer has such a bug, It will not restore back to normal even if the Windows 10 reinstall cleanly.
I've found that if I remove my nVidia video card hardware, the problem disappears. But I've asked some one others who have the same issue, he even has no external video card.
The text was updated successfully, but these errors were encountered: