mlabbe / nativefiledialog

A tiny, neat C library that portably invokes native file open and save dialogs.
zlib License
1.77k stars 209 forks source link

filterList shows either JPG or jpg, not both #85

Closed hamoid closed 4 years ago

hamoid commented 4 years ago

Compilation Environment

I'm not compiling the library myself, but using it under Ubuntu 20.04 via LWJGL, which is used by the Kotlin framework I'm using (OPENRNDR).

Describe the bug

I have .JPG and .jpg files in the same folder. I specify both extensions which OPENRNDR concatenates with a semicolon as filterList.

If I use "JPG;jpg" then JPG files are shown, and with "jpg;JPG" only jpg files are listed. If I use only one of the two options then that one is shown.

Is there any way to list both? Is this a known issue with the library or is it system / framework specific?

User Description

Individual

hamoid commented 4 years ago

I misunderstood what I was seeing. When I specify "jpg;JPG" what I'm doing is saying which extensions can be shown. I had not realized I can toggle between them at the bottom right on a drop down. Only one of the two is visible at any given time.

Maybe that is the expected behavior? If it is, it might be useful to show multiple extensions at once (for example images, or sound files, etc)

hamoid commented 4 years ago

Sorry for the noise, issue solved. I need to specify "jpg,JPG" and that shows both of them.