GNOME Bugzilla – Bug 564552
incorrect handling of --file-selection --filename=foo
Last modified: 2009-01-09 00:08:22 UTC
This was reported in Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=473143 There is a long-standing problem (at least since Fedora Core 3) in zenity's file selection dialog, when used for opening rather than saving files. If given a file name via the --filename= option, zenity will not select that file name, but instead triggers a failed assertion. There is nothing in zenity's documentation to suggest --filename should only be used with the --save option, and it's reasonable to expect that you should be able to provide a default or current filename for an open dialog, so I'd call this a bug.
Created attachment 124700 [details] [review] patch by Gilles Detillieux
Commited in trunk, thanks!