# FileChooser chooser, does not set filter

**URL:** https://forum.juce.com/t/filechooser-chooser-does-not-set-filter/39673
**Category:** Linux
**Created:** [May 25, 2020, 9:49pm UTC](https://forum.juce.com/t/filechooser-chooser-does-not-set-filter/39673 "2020-05-25T21:49:37Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![pln](https://avatars.discourse-cdn.com/v4/letter/p/838e76/32.png) [@pln](https://forum.juce.com/u/pln)
#### Post date: [May 25, 2020, 9:49pm UTC](https://forum.juce.com/t/filechooser-chooser-does-not-set-filter/39673/1 "2020-05-25T21:49:37Z")

</div>

Hi Folks

It seems like the file chooser does not take the `*.wav` filter into account. (I’m on KDE running Manjaro, and the juce6 tech preview.)

```auto
FileChooser chooser("Open File", File::getSpecialLocation(File::userHomeDirectory),
                        "*.wav");

```

Is this a known bug, or am I missing something.  
/Per

---

<div class="post-metadata">

### Author: ![ed95](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/ed95/32/7635_2.png) [@ed95](https://forum.juce.com/u/ed95)
#### Post date: [July 20, 2020, 4:50pm UTC](https://forum.juce.com/t/filechooser-chooser-does-not-set-filter/39673/2 "2020-07-20T16:50:22Z")

</div>

Thanks for reporting. This should be fixed on the `develop` branch:

> <https://github.com/juce-framework/JUCE/commit/e92749e7cafe138e3d5b3c074e1c71a5f6e11b1a>
