LoginSignup
2
1

More than 5 years have passed since last update.

.NET4.7 + WPFでスタイラス・タッチが効かなくなる問題の情報まとめ

Posted at

https://blogs.msdn.microsoft.com/japan_platform_sdkwindows_sdk_support_team_blog/2017/09/13/wpfnetframework47/

.NET Framework 4.7上で実行している WPF アプリケーションで、タッチ操作を繰り返すと、タッチ操作に反応しなくなる。

.NET Framework 4.7 をインストールした環境で、WPF の ComboBox コントロールのドロップダウンリストを、タッチ(またはスタイラス)により繰り返し開閉していると、ドロップダウンリスト内の項目をタッチ操作で選択できなくなる現象が確認されています。

ComboBox 以外にも、Menu など、動作時に内部でウインドウを作成して利用するコントロールの操作で同様の現象が発生する可能性があります。

問題が発生するまでのタッチやスタイラスの操作回数は決まっていませんが、アプリケーション プロセスを実行起動してから終了するまでの間の操作が累積して発生することがわかっており、その回数はおよそ 50 回から 100 回程度です。

本問題は WPF が管理しているタッチ・スタイラスデバイスの情報に不整合が生じることが原因であり、.NET Framework 4.7 のみで発生する問題です。

https://stackoverflow.com/questions/45721368/wpf-net-app-crashes-combobox-and-menu-events-not-fired-on-tablets-with-windows

WPF .NET app crashes, ComboBox and Menu events not fired on Tablets with Windows 10 Creators Update, .NET 4.7 or KB4034658

https://github.com/Microsoft/dotnet/issues/448

.NET 4.7 - WPF - ComboBox and ContextMenu click events not fired - Pen does not work reliable with tablets #448

Hey, i already thought this issue tracker is absolutely useless.
No response from any developer of .NET, but at least now one from a pained WPF app developer.

I have not really found a solution for this. No idea what MS is doing with their updates and "improvements", to me it seems they absolutely don't care about WPF apps and tablets.
Some links on this issue from me and others:
https://stackoverflow.com/questions/45721368/wpf-net-app-crashes-combobox-and-menu-events-not-fired-on-tablets-with-windows
https://stackoverflow.com/questions/46049673/wpf-touch-application-partially-freezes-on-net-framework-4-7
https://connect.microsoft.com/VisualStudio/Feedback/Details/3139096
https://connect.microsoft.com/VisualStudio/Feedback/Details/3139101
https://connect.microsoft.com/VisualStudio/Feedback/Details/3139882

I can only encourage you to report the error to MS in the hope that they will fix it some time.

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1