Bug 380303 - KFind does not search into Extended Attributes (xattrs) such as Tags and Comments. File-type specific metadata search works.
Summary: KFind does not search into Extended Attributes (xattrs) such as Tags and Comm...
Status: REPORTED
Alias: None
Product: kfind
Classification: Applications
Component: general (show other bugs)
Version: 24.01.90
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
: 473864 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-05-29 07:17 UTC by funkybomber
Modified: 2024-01-26 00:50 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot of the problematic search (419.74 KB, image/png)
2017-05-29 07:17 UTC, funkybomber
Details
Example of a KFind search in xattrs not returning results. (153.93 KB, image/png)
2023-02-07 07:44 UTC, funkybomber
Details

Note You need to log in before you can comment on or make changes to this bug.
Description funkybomber 2017-05-29 07:17:27 UTC
Created attachment 105750 [details]
Screenshot of the problematic search

Hello,

When I try to do a file search using the metadata of the file, I get no results.
For example, have a look at the screenshot attached. I tried to do a search for the file "07.Olivia - All.Mp3" that contains the metadata "Artist: Olivia".

No results were returned. 

Also, in the "Name/Location" tab I used the following options:
Named: *.*
Look in: /home/funkybomber/Documents
Include Subfolders: Enabled
Comment 1 funkybomber 2018-01-30 06:41:18 UTC
I have just posted a bounty for this bug. Happy coding! :)

https://www.bountysource.com/issues/54392387-kfile-does-not-search-into-the-metadata-values-ie-artist-of-the-files
Comment 2 Christoph Feck 2018-02-14 22:20:33 UTC
Does the Dolphin search find them? KFind unfortunately has no maintainer to investigate issues.
Comment 3 funkybomber 2018-02-17 06:07:55 UTC
@ Christoph Feck

No, the Dolphin search does not return these results either. I don't think that Dolphin does any search in the metadata. KFind on the other hand is supposed to have this functionality.
Comment 4 Yuri Chornoivan 2018-12-20 07:18:50 UTC
Hi,

Can you try the latest version (Applications 18.12)?

I believe that after this patch

https://cgit.kde.org/kfind.git/commit/?id=0f8642a78ba2021f1cad5047a7d9de587dd87cbe

the problem is solved.

Thanks in advance for your help.
Comment 5 funkybomber 2018-12-20 10:53:19 UTC
@Yuri Chornoivan

Hello, good job! This patch brings us almost there! The search returned the correct results for a string that exists in metadata like "Artist" and "Title" but it did NOT return any results for a string that exists in the metadata "Tags" or "Comment".

I think that we should leave this bug open, as we have not yet reached a complete metadata search functionality through KFind.

It seems we are on the right track though! :D
Comment 6 Yuri Chornoivan 2018-12-20 10:57:53 UTC
Changed to REPORTED until KFileMetaData has the complete support of tags and comments.
Comment 7 Justin Zobel 2023-01-19 00:18:44 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 8 Bug Janitor Service 2023-02-03 05:01:24 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 9 funkybomber 2023-02-07 07:44:47 UTC
Created attachment 156017 [details]
Example of a KFind search in xattrs not returning results.

The problem can still be reproduced on the latest version of KDE Neon User Edition. The KFind search failed to retrieve the files based on their xattrs Tags and Comment. (see screenshot for example)

Tested in VirtualBox 7.0.6 with the following system:

KFind Version: 22.12.2
Operating System: KDE neon 5.26
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Kernel Version: 5.15.0-58-generic (64-bit)
Graphics Platform: X11
Processor: 1 × Intel® Core™ i3-4150 CPU @ 3.50GHz
Memory: 1.9 GiB of RAM
Graphics Processor: llvmpipe
Manufacturer: innotek GmbH
Product Name: VirtualBox
System Version: 1.2
Comment 10 funkybomber 2024-01-26 00:43:30 UTC
*** Bug 473864 has been marked as a duplicate of this bug. ***