! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Enhance Thunar search facility with patterns
Status:
RESOLVED: MOVED
Severity:
enhancement

Comments

Description Tassilo Horn 2011-04-20 12:48:15 CEST
When searching for files in a thunar window, the search string has to match exactly the start of the files.  So if you have a folder with files

  1-foo.x
  2-bar.y
  3-foo.x
  4-bar.y
  5-foo.y

and you are interested in files containing "foo" in their name, you cannot use the search facility at all, because the prefix is different.

It would be very nice if the search could interpret globbing patterns (*-foo.*) or regular expressions (.*-foo\..*).
Comment 1 Nick Schermer editbugs 2011-04-21 09:08:50 CEST
Searching is for selecting 1 item, and there already is a pattern search which supports wildcards (Ctrl+S).
Comment 2 Tassilo Horn 2011-04-22 09:03:14 CEST
Searching is indeed for selecting one item, but I don't see why that has to be the first item.  Ctrl-f p will select the first item starting with p, but I'd expect to cycle thru matching files with additional Ctrl-f hits.

And Ctrl-s selects all files matching a pattern.

What I'm looking for is the ability to use patterns in Ctrl-f plus a way to cycle thru all possible matches.
Comment 3 Nick Schermer editbugs 2012-09-26 14:14:00 CEST
*** Bug 4862 has been marked as a duplicate of this bug. ***
Comment 4 Mike Massonnet editbugs 2012-09-29 23:32:11 CEST
(In reply to comment #2)
> Searching is indeed for selecting one item, but I don't see why that has to
> be the first item.  Ctrl-f p will select the first item starting with p, but
> I'd expect to cycle thru matching files with additional Ctrl-f hits.
> 
> And Ctrl-s selects all files matching a pattern.
> 
> What I'm looking for is the ability to use patterns in Ctrl-f plus a way to
> cycle thru all possible matches.

You can already cycle, just type the arrow keys up/down, that's an in-built behavior of such a search entry.
Comment 5 Karl 2014-09-14 10:52:59 CEST
hi !

beating a dead cow, however, i also think that having a find utility that only finds text at the beginning of the filenames is somewhat limited. After all if i know how the filename starts i can just scroll there..

My use case is this: I have several hundred folders which are named date_patient-name_assay, and i want to find all folders from patient x.

So if the ctrl-f would also find stuff inside filenames i could just type the name, then use arrows to go through all folders which contain the name.

Is it difficult to implement this ? Why ?

Thanks,
Karl
Comment 6 alexxcons editbugs 2018-01-23 14:42:37 CET
*** Bug 11294 has been marked as a duplicate of this bug. ***
Comment 7 alexxcons editbugs 2018-01-24 10:12:39 CET
*** Bug 12571 has been marked as a duplicate of this bug. ***
Comment 8 Git Bot editbugs 2020-05-26 23:10:02 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/thunar/-/issues/28.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #7514

Reported by:
Tassilo Horn
Reported on: 2011-04-20
Last modified on: 2020-05-26
Duplicates (3):
  • 4862 Searching should look if the token is somewhere in the filename, not at the binning
  • 11294 add wildcards to thunar search
  • 12571 Search on whole file names

People

Assignee:
Jannis Pohlmann
CC List:
7 users

Version

Attachments

Additional information