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

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:

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?

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

Thanks for writing and welcome to the forum :slight_smile:

Good point! I didn’t remember that I added

implementation(openrndr("dialogs"))

years ago somewhere around here. Maybe that makes it run at least?

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