Bug 328086 - Find => More Options are greyed out if current directory is NFS mounted
Summary: Find => More Options are greyed out if current directory is NFS mounted
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: search (other bugs)
Version First Reported In: 4.11.2
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-25 21:18 UTC by Paul Worrall
Modified: 2015-11-06 23:14 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Worrall 2013-11-25 21:18:03 UTC
Under System Settings => Desktop Search, I have selected folders to index, some of which are on NFS mounts and some are on the local HDD.

If I navigate in Dolphin to one of the folders that's on the HDD, then use Find => More Options, all the options are active, and if I do a search on Content it returns results from the local HDD and the NFS mounts.

If I navigate to one of the NFS mounted folders then all of the options under Find => More Options are greyed out.

Nepomuk Desktop, and Nepomuk File Indexer are both enabled and active.

So it seems as though the options are greyed out if the current directory is an NFS mount, even though that directory is being indexed.

Reproducible: Always
Comment 1 Frank Reininghaus 2013-11-25 21:48:27 UTC
Thanks for the bug report. To my knowledge, Dolphin doesn't even know if a folder is stored on an NFS mount or not, so I don't really see what could be the cause of this problem.

@Vishesh: do you have an idea? Is there a mismatch between DolphinSearchInformation::isPathIndexed(const KUrl& url), DolphinSearchBox::setSearchPath(const KUrl& url) and the way Nepomuk decides if a folder should be excluded from indexing? This isn't the first time I wish Nepomuk provided a simple function that takes a URL and tells us if the path is indexed or not ;-)
Comment 2 Scorch 2013-12-31 17:23:26 UTC
Have the same bug here. Don't know if it's related to NFS but options are greyed out and search fails to find files known to be on the system. . . 

Using Kubuntu 13.10.
Comment 3 Frank Reininghaus 2014-02-09 11:19:38 UTC
There have been major changes in the code that is responsible for indexing files and storing and retrieving file data and metadata. These changes will be part of KDE SC 4.13. Maybe they will fix your problem.

If you upgrade to 4.13 at some point, and you still see that the options are disabled in a directory which is indexed according to the file indexer configuration in System Settings, please let us know. Thanks for your help!
Comment 4 Paul Worrall 2014-04-07 18:51:30 UTC
I can confirm this has been fixed in 4.13, many thanks to all concerned :)
Comment 5 André Verwijs 2015-11-06 23:14:53 UTC
the same for  OpenSUSE Leap 42.1 but Leap doen't support Nepomuk...  
any alternative?