GNOME Bugzilla – Bug 347672
File chooser dialog returns only one file when selecting multiple files and pressing Enter
Last modified: 2007-01-25 21:01:25 UTC
Please describe the problem: The file chooser dialog allows selecting multiple files. If the user selects multiple files and clicks the OK button (with the mouse), gtk_file_chooser_get_filenames returns all the filenames (as it should). If, however, the user selects multiple files and presses Enter, that function returns only one filename. Steps to reproduce: 1. Run "zenity --file-selection --multiple". 2. Select multiple files. 3. Press Enter. Actual results: Only one filename is printed. Expected results: All the selected files should've been printed. Does this happen every time? Yes. Other information: This is not a bug in zenity. I get the same behaviour if I create the dialog from Python (PyGTK).
This looks like another breakage of gtk_file_chooser_default_get_paths, see also bug 347066
This works fine for me in 2.10.9, but not in 2.10.6. Marking as fixed.