Skip to content

Inconsistencies on Windows #7

@Marin-MK

Description

@Marin-MK

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions