# Is \`suggestedFilename\` working for you in \`saveFileDialog\`?

**URL:** <https://openrndr.discourse.group/t/is-suggestedfilename-working-for-you-in-savefiledialog/472>\
**Category:** How to?\
**Created:** [December 15, 2022, 11:25am UTC](https://openrndr.discourse.group/t/is-suggestedfilename-working-for-you-in-savefiledialog/472 "2022-12-15T11:25:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![abe](https://yyz2.discourse-cdn.com/free1/user_avatar/openrndr.discourse.group/abe/32/700_2.png) [@abe](https://openrndr.discourse.group/u/abe)\
**Post date:** [December 15, 2022, 11:25am UTC](https://openrndr.discourse.group/t/is-suggestedfilename-working-for-you-in-savefiledialog/472/1 "2022-12-15T11:25:38Z")

</div>

Hi! When I run the following program and press the `s` key I’m not seeing the suggested filename in the dialog that pops up:

```auto
import org.openrndr.application
import org.openrndr.dialogs.saveFileDialog

fun main() = application {
    program {
        keyboard.keyDown.listen {
            if (it.name == "s") {
                saveFileDialog(
                    suggestedFilename = "verySuggestiveFilename",
                    supportedExtensions = listOf("svg")
                ) { println(it) }
            }
        }
    }
}

```

I don’t know if the issue is related to the OS, my tiling window manager, or a general issue. I remember it working in the past. Could anyone give it a try?

---

<div class="post-metadata">

**Author:** ![bluehut](https://yyz2.discourse-cdn.com/free1/user_avatar/openrndr.discourse.group/bluehut/32/675_2.png) [@bluehut](https://openrndr.discourse.group/u/bluehut)\
**Post date:** [December 15, 2022, 4:36pm UTC](https://openrndr.discourse.group/t/is-suggestedfilename-working-for-you-in-savefiledialog/472/2 "2022-12-15T16:36:36Z")

</div>

I tried on Fedora 36 but `org.openrndr.dialogs` cannot be found so not much help to you. My issue, which I’ve had before running examples with dialogs maybe related to: [Add support for Linux/Arm64 (Aarch64) platform · Issue #63 · openrndr/openrndr · GitHub](https://github.com/openrndr/openrndr/issues/63)

---

<div class="post-metadata">

**Author:** ![abe](https://yyz2.discourse-cdn.com/free1/user_avatar/openrndr.discourse.group/abe/32/700_2.png) [@abe](https://openrndr.discourse.group/u/abe)\
**Post date:** [December 15, 2022, 5:09pm UTC](https://openrndr.discourse.group/t/is-suggestedfilename-working-for-you-in-savefiledialog/472/3 "2022-12-15T17:09:10Z")

</div>

Thanks for writing and welcome to the forum 🙂

Good point! I didn’t remember that I added

```auto
implementation(openrndr("dialogs"))

```

years ago somewhere around [here](https://github.com/openrndr/openrndr-template/blob/master/build.gradle.kts#L258). Maybe that makes it run at least?

---

<div class="post-metadata">

**Author:** ![bluehut](https://yyz2.discourse-cdn.com/free1/user_avatar/openrndr.discourse.group/bluehut/32/675_2.png) [@bluehut](https://openrndr.discourse.group/u/bluehut)\
**Post date:** [December 15, 2022, 7:16pm UTC](https://openrndr.discourse.group/t/is-suggestedfilename-working-for-you-in-savefiledialog/472/4 "2022-12-15T19:16:38Z")

</div>

Thanks for the pointer. It ran but no suggested filename in the dialog.
