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 149096 - Select Pattern doesn't work in Trash
Select Pattern doesn't work in Trash
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Trash
2.7.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-08-02 19:39 UTC by Jonas De Vuyst
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8


Attachments
fixes pattern selection in Trash and on Desktop (6.31 KB, patch)
2004-10-08 18:22 UTC, Jimmy Do
none Details | Review

Description Jonas De Vuyst 2004-08-02 19:39:06 UTC
1. Open Trash folder
2. Press Ctrl+S or otherwise activate edit/select pattern
3. Type * or some other pattern

Observe: nothing gets selected, unlike for other folders.
Comment 1 Olav Vitters 2004-08-02 20:00:20 UTC
Confirmed on Nautilus 2.7.3 (cvs actually). Updating version. Seems specific to
Trash (tried fonts:///, burn:///, computer).
Comment 2 Jimmy Do 2004-10-08 18:22:02 UTC
Created attachment 32409 [details] [review]
fixes pattern selection in Trash and on Desktop

Now that ctrl-S  also works on the desktop in CVS HEAD, the desktop also
experiences the same problem.

I've attached a patch that allows pattern selection to work properly both in
the Trash and on the Desktop.

Changes:
* Modified libnautilus-private/nautilus-directory.c &
libnautilus-private/nautilus-directory.h to make
nautilus_directory_get_file_list() into a public virtual method.

* Modified libnautilus-private/nautilus-desktop-directory.c to override
nautilus_directory_get_file_list() so that it can include $HOME/Desktop's
contents in the list of files.

* Modified libnautilus-private/nautilus-merged-directory.c to override
nautilus_directory_get_file_list() so that it will include all files in the
list of merged directories.
Comment 3 Alexander Larsson 2004-10-11 15:52:39 UTC
Fixed in cvs. Thanks for the patch.