After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 564552 - incorrect handling of --file-selection --filename=foo
incorrect handling of --file-selection --filename=foo
Status: RESOLVED FIXED
Product: zenity
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Zenity Maintainers
Zenity Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-12-15 03:57 UTC by Matthias Clasen
Modified: 2009-01-09 00:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch by Gilles Detillieux (682 bytes, patch)
2008-12-15 04:00 UTC, Matthias Clasen
committed Details | Review

Description Matthias Clasen 2008-12-15 03:57:55 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.
Comment 1 Matthias Clasen 2008-12-15 04:00:13 UTC
Created attachment 124700 [details] [review]
patch by Gilles Detillieux
Comment 2 Lucas Rocha 2009-01-09 00:08:22 UTC
Commited in trunk, thanks!