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:
- Add the following properties to your
runIdeForUiTeststask in thebuild.gradlefile:
-
“-Dide.win.file.chooser.native=false”,
-
“-Dide.ui.new.file.chooser=true”
- Execute the task for running IntelliJ in test mode (using
IntelliJPlatformType.IntellijIdeaCommunityversion 2025.2). - Trigger a file chooser dialog from within the IDE.
- Observe that the native Windows file chooser still appears instead of the IntelliJ-specific file chooser.