https://bugs.kde.org/show_bug.cgi?id=501615
Bug ID: 501615 Summary: baloosearch doesn't find images with matching terms in their Subject and Description exiv metadata Classification: Frameworks and Libraries Product: frameworks-baloo Version: 6.12.0 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Baloo File Daemon Assignee: baloo-bugs-n...@kde.org Reporter: i...@skierpage.com Target Milestone: --- Created attachment 179484 --> https://bugs.kde.org/attachment.cgi?id=179484&action=edit low-res sample JPG that has Subject and Description exiv metadata SUMMARY Pictures can have embedded Subject and Description tags. KFileMetadata extracts these and `balooshow -x` shows them. But a simple Baloo search will not return images with matching terms in subject and description. STEPS TO REPRODUCE (These assume you're on a Linux system like Fedora that appends "6" to all the baloo command-line tools in KDE Frameworks version 6.) 1. Find a picture with embedded Subject: and Description: meta tags with English words (I attached one). 2. Put it in a location that Baloo indexes, say ~/Pictures/pic_with_subject_description.jpg 3. Confirm that `balooshow6 -x ~/Pictures/pic_with_subject_description.jpg` has "Cached properties" of the picture including the terms in the Subject and Description, in the attached file these include "Miguel Rojas" 4. Search for the terms that aren't in the filename with baloosearch, for the attached file `baloosearch6 Miguel Rojas` OBSERVED RESULT Cached properties: Artist: Justin Sullivan Title: 62769411 Subject: compost, environment, garbage, green, landfill, recycle, reuse, trash, waste ... Description: SAN FRANCISCO, CA - DECEMBER 10: Recology worker Miguel Rojas throws a bag of compostable material into his truck on December 10, 2010 in San Francisco, California. One year after the San Francisco board of supervisors passed the nation's strictest recycling law, the residents of San Francisco have composts more than any other city in the country, with a 200 percent one year jump in composting. The city has also achieved a better than expected 77 percent diversion from landfill goal that was set at 75 percent by 2010, the nation's highest for any city. (Photo by Justin Sullivan/Getty Images), SAN FRANCISCO, CA - DECEMBER 10: Recology worker Miguel Rojas throws a bag of compostable material into his truck on December 10, 2010 in San Francisco, California. One year after the San Francisco board of supervisors passed the nation's strictest recycling law, the residents of San Francisco have composts more than any other city in the country, with a 200 percent one year jump in composting. The city has also achieved a better than expected 77 percent diversion from landfill goal that was set at 75 percent by 2010, the nation's highest for any city. (Photo by Justin Sullivan/Getty Images) Internal Info File Name Terms: Fdescription Fjpg Fpic Fsubject Fwith XAttr Terms: Plain Text Terms: 62769411 justin sullivan ... Property Terms: Mimage Mjpeg T4 X15-62769411 X16-compost X16-environment X16-garbage X16-green X16-landfill X16-recycle X16-reuse X16-trash X16-waste X17-2017 X17-adobe X17-cc X17-macintosh X17-photoshop X22-2010 X22-getty X22-images X26-600 X27-398 X30-canon X31-1d X31-canon X31-eos X31-iv X31-mark X32-2017-10-19T16:31:54Z X33-1 X34-16 X35-2400 X36-1592 X37-2010-12-10T09:34:56Z X38-20 X40-0.004000000189989805 X41-5 X42-4.625 X43-0 X44-0 X45-5 X46-1250 X78-10 X78-200 X78-2010 X78-75 X78-77 X78-a X78-achieved X78-after X78-also X78-any X78-at X78-bag X78-better X78-board X78-by X78-ca X78-california X78-city X78-compostable X78-composting X78-composts X78-country X78-december X78-diversion X78-expected X78-for X78-francisco X78-from X78-getty X78-goal X78-has X78-have X78-highest X78-his X78-images X78-in X78-into X78-jump X78-justin X78-landfill X78-law X78-material X78-miguel X78-more X78-nation's X78-of X78-on X78-one X78-other X78-passed X78-percent X78-photo X78-recology X78-recycling X78-residents X78-rojas X78-san X78-set X78-strictest X78-sullivan X78-supervisors X78-than X78-that X78-the X78-throws X78-truck X78-was X78-with X78-worker X78-year X9-justin X9-sullivan ... subject: compost environment garbage green landfill recycle reuse trash waste imageDateTime: 2017-10-19T16:31:54Z title: 62769411 description: 10 200 2010 75 77 a achieved after also any at bag better board by ca california city compostable composting composts country december diversion expected for francisco from getty goal has have highest his images in into jump justin landfill law material miguel more nation's of on one other passed percent photo recology recycling residents rojas san set strictest sullivan supervisors than that the throws truck was with worker year EXPECTED RESULT I should be able to find this picture using terms from its subject and description in Baloo search, but it doesn't work. Looking at the `balooshow6 -x` output, it seems Baloo only puts the Artist and Title attribute values (Justin Sullivan 62769411) into its Plain Text Terms. Sure enough, I can find the picture searching for these. So Plain Text Terms should include the terms from Subject and Description; I'm not sure about all the many other fields. SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE Plasma Version: 6.3.3 KDE Frameworks Version: 6.12.0 Qt Version: 6.8.2 ADDITIONAL INFORMATION Is there a way to search for terms in particular attribute values in Baloo? E.g. `baloosearch --attribute description Miguel Rojas` specifically searching the description? -- You are receiving this mail because: You are watching all bug changes.