Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistencies on Windows #7

Open
Marin-MK opened this issue Jan 19, 2022 · 0 comments
Open

Inconsistencies on Windows #7

Marin-MK opened this issue Jan 19, 2022 · 0 comments

Comments

@Marin-MK
Copy link

Calling tinyfd_openFileDialog on Windows can act off sometimes. It's generally stable and works as expected, but sometimes it will reopen itself after having selected a file, and having returned the right data. It just opens a second time, and blocks the application at a random point. I don't know how to reproduce this, but it's happened to a few users of my application, and I just experienced it myself for the first time.

Furthermore, tinyfd_selectFolderDialog on Windows sometimes refuses to open a dialog, causing the application to freeze indefinitely.

I'm using this library in C#, and I've read somewhere that I need to mark the calling thread as a STA thread in order to communicate with the Windows COM properly. This didn't seem to make any difference, however.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant