native-dialog-rs
native-dialog-rs copied to clipboard
`show_confirm()` method on `MessageDialog` shows nothing and returns false on Linux Mint
File dialog, and alert messages all work, but confirmation message does not show up and just returns false.
code in question although I don't think it will help:
let yes = MessageDialog::new()
.set_type(MessageType::Warning)
.set_title("File already exists")
.set_text("File already exists! Override?")
.show_confirm()
.unwrap();
println!("{yes}"); // prints false, if i change above to show_alert(), it works.
if !yes {
return;
}
Will provide more information if needed, I just don't really know what's relavant
I encountered a similar issue on Linux (Ubuntu) with the Zenity implementation. I'll create a pull request for a fix that solved the issue for me, not certain it will help you but it might.