MohamedRejeb / Calf

Calf is a library that allows you to easily create adaptive UIs and access platform specific APIs with Compose Multiplatform (Adaptive UI, File Picker, WebView, Permissions...).
https://mohamedrejeb.github.io/Calf/
Apache License 2.0
907 stars 41 forks source link

whatever i choice the type of picked file in the code it always show the all file on the file picker [jvm] #81

Closed MoZarea closed 3 months ago

MoZarea commented 5 months ago

it work fine on android

MohamedRejeb commented 5 months ago

Hi, Thanks for reporting this issue. You are using Windows right? We are using AWT FileDialog for Desktop and it has this issue with Windows. Maybe we will need to add some platform-specific implementation with JNI for Desktop.

MoZarea commented 5 months ago

yes, windows thanks for your reply

apolostudio commented 3 months ago

yeah same here, choosing image type and it shows all types and can be selected

MohamedRejeb commented 3 months ago

That's because I'm using swing FileDialog which has this issue on windows, hopefully I will add a native implementation soon to fix this problem.