Bug 316766 - Baloo does not read tags from Windows 7 tagged Images
Summary: Baloo does not read tags from Windows 7 tagged Images
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: frameworks-kfilemetadata
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.245.0
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Pinak Ahuja
URL: http://www.fiebach.de/error/030313130...
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-15 09:18 UTC by lufie
Modified: 2024-03-05 17:29 UTC (History)
5 users (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 lufie 2013-03-15 09:18:51 UTC
Images that tagged using MS Windows Explorer (Windows 7) are not searchable with Nepomuk.
I think the used exif fields are differnt.


Reproducible: Always

Steps to Reproduce:
1. try this Image http://www.fiebach.de/error/030313130024.jpg
2.
3.
Actual Results:  
No Metadata

Expected Results:  
Tag's shown in Dolphin
Comment 1 Simeon Bird 2013-05-05 03:59:13 UTC
The windows tags seem to be stored in an exif field Tags
Comment 2 Simeon Bird 2013-05-05 04:04:09 UTC
Bah...

The windows tags seem to be stored in an exif field called "XP Keywords"; it might be possible (and maybe desirable) for the fileindexer to turn those into tags.

You should know though that nepomuk tags are not stored with the file, so any changes you would make to them using dolphin would not be seen back in windows.
Comment 3 lufie 2013-05-05 08:14:57 UTC
Note ;-) One of the best features are that Meta Information Saved into the Image not Database.
Meta Information are always and everywhere correct.
Comment 4 Vishesh Handa 2014-11-20 11:46:35 UTC
Reassigned to Baloo and marking as confirmed.
Comment 5 Pinak Ahuja 2015-03-08 08:23:27 UTC
We expect tags to be stored as xAttr right? Windows stores them as 'XP Keywords' exif field as mentioned above. A quick fix could be to make KFileMetaData::userMetaData::tags() read that exif field and return those tags along with the xAttr tags? Or should this be handled by the exif extractor?
Comment 6 Vishesh Handa 2015-03-09 12:58:45 UTC
(In reply to Pinak Ahuja from comment #5)
> We expect tags to be stored as xAttr right? Windows stores them as 'XP
> Keywords' exif field as mentioned above. A quick fix could be to make
> KFileMetaData::userMetaData::tags() read that exif field and return those
> tags along with the xAttr tags? Or should this be handled by the exif
> extractor?

I was hoping to expand KFileMetaData to add the ability to extract and write back tags. However, I don't want to club it into the UserMetaData class as it's nice to have a simple os independent wrapper over xattr.

Eventually, we can create a wrapper on top of both these mechanisms, if required.
Comment 7 Pinak Ahuja 2015-03-09 13:05:22 UTC
(In reply to Vishesh Handa from comment #6)

> I was hoping to expand KFileMetaData to add the ability to extract and write
> back tags. However, I don't want to club it into the UserMetaData class as
> it's nice to have a simple os independent wrapper over xattr.
So we extend the  exiv extractor to read the exiv field and write them as xattrs?
Comment 8 Vishesh Handa 2015-03-09 13:14:52 UTC
(In reply to Pinak Ahuja from comment #7)
> (In reply to Vishesh Handa from comment #6)
> 
> > I was hoping to expand KFileMetaData to add the ability to extract and write
> > back tags. However, I don't want to club it into the UserMetaData class as
> > it's nice to have a simple os independent wrapper over xattr.
> So we extend the  exiv extractor to read the exiv field and write them as
> xattrs?

Not quite. Here is what I was imagining -
* Extractor provides some way to read tags
* A new class to write the tags/metadata back into the file
* We keep the UserMetaData class

users of the kfilemetadata library can then decide what they want to use. If we want we can later create a wrapper over all 3.

from a kde user point of view, I'm not too sure what we should be doing by default. Reading/Writing from both? People often do not like their files to be modified as it changes the sha1 hash and what not.
Comment 9 Stefan Brüns 2023-11-16 20:51:18 UTC
Git commit 06d98a1b9ad475332af12df7de503ee4bb93478f by Stefan Brüns.
Committed on 16/11/2023 at 21:46.
Pushed by bruns into branch 'master'.

[Exiv2Extractor] Add support for XMP DC Title, Subject, Description

The XMP Dublin Core metadata may contain title, subject and description
values, extract it.

Update JPEG, JXL and WebP test images to include Title and Subject.
Related: bug 428967

M  +17   -3    autotests/exiv2extractortest.cpp
D  +0    -25   autotests/exiv2extractortest.h
M  +-    --    autotests/samplefiles/test.jpg
M  +-    --    autotests/samplefiles/test.jxl
M  +-    --    autotests/samplefiles/test.webp
M  +25   -0    src/extractors/exiv2extractor.cpp

https://invent.kde.org/frameworks/kfilemetadata/-/commit/06d98a1b9ad475332af12df7de503ee4bb93478f
Comment 10 Stefan Brüns 2024-03-05 17:29:12 UTC
Waiting for confirmation