JavaFX ComboBox not responding on Windows 10

后端 未结 5 2034
不思量自难忘°
不思量自难忘° 2020-12-23 14:38

I recently upgraded to Windows 10 and JavaFX code which worked in Windows 8.1 appears to freeze up in 10. I\'ve tracked the issue down to opening a ComboBox within a dialog.

5条回答
  •  天涯浪人
    2020-12-23 15:16

    According to the bug report, a temporary workaround is setting the following system property:

    java -Dglass.accessible.force=false ... 
    

    or, in an application's code:

    System.setProperty("glass.accessible.force", "false");
    

    Or, alternately, "Run the Windows Narrator screen reader (with accessibility left enabled)".

    The bug appears to have been introduced in JDK 8u40, and affects Windows 10 systems with a touchscreen installed and enabled.

    Some quick testing seems to indicate that it solved the problem for me.

提交回复
热议问题