Public bug reported:

Overview:
While the FileChooserButton is not expanded (the FileChooserDialog is not
shown, just the list in the ComboBox) and the user selects a unmounted device,
the previously selected paths is automatically assumed.

Steps to reproduce:
1) Open gnome-search-tool (or similar tool which uses GtkFileChooserButton)
2) Select a valid path like the home folder
3) Select an unmounted device
4) Press the search button

Actual result:
The search is made in the previously selected path (eg. Home folder).
No warnings or errors are reported about the unmounted device.
Using the widget from PyGTK I've checked that no signals are fired if the user
choose an unmounted device and get_uri reports the previous path.

Expected result:
The chooser should warn or deny to choose an unmounted device.
Some signals should inform the developer that an invalid path was selected OR
BOTH get_uri and get_filename should return the correct unmounted path AND all
signals should be fired to let the developer to decide if such path is
valid/mounted.

Build Date & Platform:
Tested with:
GTK 2.14.4 from OpenSuse 11.1
GTK 2.16.1 from Ubuntu 9.04
GTK 2.18.3 from Ubuntu 9.10
GTK 2.20.1 from Debian sid
GTK 2.21.2 from Ubuntu 10.10 alpha 2

Additional information:
This bug is not strictly related to gnome-search-tool, it's reproducible with
every app that uses GtkFileChooserButton.

** Affects: gtk
     Importance: Unknown
         Status: Unknown

** Affects: gtk+2.0 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
GtkFileChooserButton uses previously selected path when choosing an unmounted 
device
https://bugs.launchpad.net/bugs/608787
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gtk+2.0 in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to