! 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 !
add konqueror-like filter feature
Status:
RESOLVED: MOVED
Severity:
enhancement

Comments

Description Kresimir Spes 2006-09-13 20:18:12 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1b2) Gecko/20060821 Firefox/2.0b2
Build Identifier: 

Feature request: to add a small textbox somewhere in the program that filters all displayed items by displaying only those items which names contain the string specified in the filter.

Reproducible: Always
Comment 1 Mike Massonnet editbugs 2006-09-30 19:05:36 CEST
  Konqueror, afair, does something really simple and nifty, you can type in the address bar (accessible in any view with Ctrl-L in Thunar) a regexp after the directory, e.g.: /home/mike/*.txt.  If I remember very good, the regexp is enclosed with brakets [] like /home/mike/[*.txt].

  This avoids to overload the UI with a supplement text entry.

  How about using the address bar from Thunar to filter a view?
Comment 2 Benedikt Meurer editbugs 2006-10-01 11:24:34 CEST
Hm, not really user friendly. Atleast not really obvious. Dunno. Maybe ask on the ML for opinions.
Comment 3 Benedikt Meurer editbugs 2006-11-04 19:48:34 CET
Moving to 1.0.0final.
Comment 4 Erlend Davidson 2007-01-02 17:50:20 CET
Tracker (sometimes called metatracker) could probably be used for this.  Filtering is just searching within constraints.  It could also find matching files in subdirectories.
http://freedesktop.org/wiki/Software/Tracker
Comment 5 Christian Dywan 2007-01-26 10:35:43 CET
A filter integrated into the address bar would be nice. I'd suggest a menu item/ dialog additionally so that anyone can use it and see how it works.
Comment 6 denis.prost 2009-06-24 15:29:09 CEST
I'm using thunar 1.0.0. Is file filtering implemented in this release ? I saw de target milestone was 1.0.0final but can't find out how to do it.
If it's not, I still think this would be a real improvement to thunar (already great file manager !)
Comment 7 Mike Massonnet editbugs 2009-06-26 19:36:31 CEST
I had say a filter bar just like in Dolphin would just do it. Have a menu item available under "View" just under "Show hidden files" (to me that is the best place) and with a GTK+ accelerator (e.g. Ctrl+I). Activating it shows a new bar at the bottom and entering for example "m3u" shows only the playlist file in the view.

(In reply to comment #5)
> A filter integrated into the address bar would be nice.

Imho that will be confusing, looking like a hacky tricky thing. The address bar is where you type the location, not the files you had like to display in the view. And then you can have the address bar (toolbar mode) and a more simple location bar.
Comment 8 Mike Massonnet editbugs 2009-08-14 21:20:44 CEST
*** Bug 5655 has been marked as a duplicate of this bug. ***
Comment 9 Mike Massonnet editbugs 2011-10-15 21:01:48 CEST
*** Bug 7515 has been marked as a duplicate of this bug. ***
Comment 10 ben.opp 2016-03-15 13:24:29 CET
The target milestone was 1.2.0, current version of Thunar in Debian Jessie is 1.6.3.
Any news on this feature?
There's also a Bounty on it: https://www.bountysource.com/issues/3547153-add-konqueror-like-filter-feature
Comment 11 denis.prost 2016-05-21 22:47:52 CEST
Thanks for pointing to that bounty, I contributed to it, but till now, it looks like I'm the only one who is ready to (or can) pay for that - so useful - feature...
Comment 12 tenrag1+xfce 2016-08-05 21:16:17 CEST
I just swiched to thunar and this would be so nice.. PCManFM has it under ctrl+e.

I am not a GTK developer by any streach but I see all the important pieces of core are already there.
I mean:
- Textbox for the pattern could be copied from 'ctrl+F' search
- To get the list of files use 'select by pattern' code (ctrl+S)
- Invert the selection to get not wamted files
- Use mechanism similar to hiding files starting with '.' to filter them.

I would love to hear from someone who actuall knows the codebase and find out if this functionality is actually hard to implement.
Comment 13 Cyrille Pontvieux 2016-08-20 15:25:57 CEST
I've done the implementation and it's working so far… unfortunately Thunar enhance is frozen until gtk3 port is done. I'm trying to do it right now and hopefully port my patch in gtk3 right after it. Probably available in a couple of weeks (at least for review).

Sorry if it looks like a teaser…
Comment 14 alexxcons editbugs 2019-11-11 10:47:33 CET
(In reply to Cyrille Pontvieux from comment #13)
> I've done the implementation and it's working so far… unfortunately Thunar
> enhance is frozen until gtk3 port is done. I'm trying to do it right now and
> hopefully port my patch in gtk3 right after it. Probably available in a
> couple of weeks (at least for review).
> 
> Sorry if it looks like a teaser…

Gtk3 port is finished, so if you are still interested in porting your feature to the current thunar master, that would be very welcome !

If you dont ahve time/interest any more, it would be great if you could drop a patch for the old thunar, or a link to your repo, so that someone else can do the port.
Comment 15 alexxcons editbugs 2020-03-22 00:48:22 CET
*** Bug 16581 has been marked as a duplicate of this bug. ***
Comment 16 Git Bot editbugs 2020-05-26 23:04:47 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/2.

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 #2316

Reported by:
Kresimir Spes
Reported on: 2006-09-13
Last modified on: 2020-05-26
Duplicates (3):
  • 5655 Filter files by pattern
  • 7515 Allow for filtering the files displayed by thunar using patterns
  • 16581 Add filter on right click to only show specific file types

People

Assignee:
Jannis Pohlmann
CC List:
13 users

Version

Version:
0.4.1svn

Attachments

Additional information