native-dialog-rs icon indicating copy to clipboard operation
native-dialog-rs copied to clipboard

Maintaining compatibility with old zenity version

Open msmouni opened this issue 1 year ago • 0 comments

  • The current code version has an implementation error when passing the option "icon-name"/"icon", the code adds the option value as an other argument: zenity --question --icon dialog-information for example.

  • Currently when parsing the output of "zenity/kdialog" --version using SemVer::new() it will fail to parse it since it ends with '\n'

  • Catching and returning "zenity/kdialog" errors will help to debug better when an error occurs

msmouni avatar Jan 18 '24 15:01 msmouni