I have a very strange problem with WPF 4 and touch. Essentially, touch stops working if the user touches the screen in a particular way. It is extremely easy to reproduce (at least on my system). Here are the instructions.
I create a new WPF Application. Add two Windows to the project. In the main Window, create a large button (make it large enough that you can comfortably fit two fingers within the bounds of the button). Handle the buttonclick
event to create a new window and call show dialog on the second window, for example:
Dim newWindow as SomeWindow
newWindow.Owner = Me
In your second window, you will probably want to add a button that calls Me.Close, so that you can run through a few tests.
Now, to produce the bug, perform these steps:
- Touch button with finger (a). Do not let go.
- Touch button with finger (b). Do not let go.
- Let go of finger (a).
- Let go of finger (b).
If you perform these steps, you will not be able to use touch on the dialog that was shown. The only way to regain the touch is to touch two fingers to the s
View Complete Post