-Dide.win.file.chooser.native=false Not Disabling Native File Chooser on Windows

I’m encountering an issue where, despite setting -Dide.win.file.chooser.native=false in my Gradle task for UI testing, IntelliJ IDEA is still showing the native Windows file chooser instead of the IntelliJ-specific file chooser. The intention is to disable the native file chooser and use IntelliJ’s built-in one during automated UI tests.

Steps to Reproduce:

  1. Add the following properties to your runIdeForUiTests task in the build.gradle file:
  • “-Dide.win.file.chooser.native=false”,

  • “-Dide.ui.new.file.chooser=true”

  1. Execute the task for running IntelliJ in test mode (using IntelliJPlatformType.IntellijIdeaCommunityversion 2025.2).
  2. Trigger a file chooser dialog from within the IDE.
  3. Observe that the native Windows file chooser still appears instead of the IntelliJ-specific file chooser.