Bug 269336 - Show contents of folders found with search - or libraries for dolphin
Summary: Show contents of folders found with search - or libraries for dolphin
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: search (show other bugs)
Version: 16.12.2
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-24 19:58 UTC by Todd
Modified: 2017-09-03 05:31 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Todd 2011-03-24 19:58:47 UTC
Version:           unspecified (using KDE 4.6.1) 
OS:                Linux

One feature a friend of mine pointed out that he likes from windows 7 (he is a gnome user) is what are called libraries, basically virtual folders that show the contents from several real folders.  

I was thinking that this would not be particularly difficult with nepomuk.  All you would really need is a search for all folders with a particular tag, but instead of displaying the folders themselves you display the contents of those folders.  This search could then be saved as a folder or place.  

There would need to be some way to specify the target directory when you drop a file in the virtual folder, but that could just be the folder with the highest star rating (or the one that comes alphabetically first if they are equal).

Reproducible: Always
Comment 1 Peter Penz 2011-03-24 20:29:25 UTC
This should be possible already: Just search for the things you want and add the result with "Add to Places" to the places panel. Is there something missing?
Comment 2 Todd 2011-03-24 20:42:59 UTC
The issue is that when you do this you see the folders show up as folders.  The whole point of this idea is that the folder contents are shown, the user doesn't see the folders themselves.

So to give an example, say you have this folders that would show up in a search:

Folder A:
  File 1 a
  File 2 a
Folder B:
  File 1 b
  File 2 b
Folder C:
  File 1 c
  File 2 c


Under the current system, the user would see:

Search Folder:
  Folder A
  Folder B
  Folder C


My proposal is for the user to see:

Search Folder:
  File 1 a
  File 1 b
  File 1 c
  File 2 a
  File 2 b
  File 2 c

Note that this wouldn't replace the existing search, it would be an alternative way to show search results that would only be useful when searching for folders.
Comment 3 Todd 2011-07-31 08:49:23 UTC
To clarify, the folder does not just list files, it preserves the structure of the folders.  For example:

Folder A:
  File 1 a
  File 2 a
  Folder A a:
    File 1 aa
    File 2 aa
    Folder A a:
      File 1 aaa
      File 2 aaa
Folder B:
  File 1 b
  File 2 b
  Folder B a:
    File 1 ba
    File 2 ba
  Folder B b:
    File 1 bb
    File 2 bb
Folder C:
  File 1 c
  File 2 c

The search folder would show:

Search Folder:
  File 1 a
  File 1 b
  File 1 c
  File 2 a
  File 2 b
  File 2 c
  Folder A a:
    File 1 aa
    File 2 aa
    Folder A a:
      File 1 aaa
      File 2 aaa
  Folder B a:
    File 1 ba
    File 2 ba
  Folder B b:
    File 1 bb
    File 2 bb
Comment 4 Jeroen van Meeuwen (Kolab Systems) 2012-08-24 16:20:05 UTC
Resetting assignee to default as per bug #305719
Comment 5 Nate Graham 2017-09-03 05:31:08 UTC
We now have a crude version of this with Dolphin's "Search For" section in the Locations pane: it shows all documents, images, audio filed, or videos. Further enhancements should be tracked with new bugs.