
chromiumembedded - issue #1572
Linux: cefclient: Save dialog does not display the suggested file name
What steps will reproduce the problem? 1. Download a file using cefclient on Linux.
What is the expected output? What do you see instead? The Save File dialog should show the desired file name in the suggested name box. Instead, the suggested name box is empty.
Please use labels and text to provide additional information. The GTK implementation in ClientDialogHandlerGtk::OnFileDialog() uses gtk_file_chooser_set_filename() for all dialog box types, which is incorrect. The gtk_file_chooser_set_filename() function should only be used for the save dialog and only if the requested path actually exists. Otherwise, the gtk_file_chooser_set_current_name() function should be used. Related GTK documentation: https://people.gnome.org/~shaunm/girdoc/C/Gtk.FileChooser.set_filename.html
Comment #1
Posted on Mar 10, 2015 by Quick HorseFixed in trunk revision 2072.
Status: Fixed
Labels:
Type-Defect
Priority-Medium