Bug 512988

Summary: Export excludes some metadata.
Product: [Applications] kphotoalbum Reporter: Randall Rude <rsquared42>
Component: Import/ExportAssignee: KPhotoAlbum Bugs <kphotoalbum-bugs-null>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: GIT master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Randall Rude 2025-12-05 17:46:43 UTC
SUMMARY
Export ignores some metadata.

STEPS TO REPRODUCE
* start a fresh copy of the demo
* export everything to a .kim file (I chose to include the images in the ,kim file)
* close the demo
* create an empty directory foo and start kphotoalbum with --db foo/
* import the .kim file from step 2 (I just clicked Next for all steps)
* save the db and exit kphotoalbum
* compare demo/index.xml to foo/index.xml

OBSERVED RESULT
Annotation areas from demo/index.xml are not in foo/index.xml.
The endDates from demo/index.xml are not in foo/index.xml.

EXPECTED RESULT
The annotation areas and endDates should be present in foo/index.xml

SOFTWARE/OS VERSIONS
KPhotoAlbum: v6.1.0-69-gf443fe867-dirty
KDE Frameworks: 6.20.0
Qt: Using 6.9.3 and built against 6.9.3
Ubuntu 24.04.3 LTS (Xcb)
Build ABI: x86_64-little_endian-lp64
Kernel: linux 6.8.0-88-generic

ADDITIONAL INFORMATION
If testing without https://invent.kde.org/graphics/kphotoalbum/-/merge_requests/57, there will be many other metadata differences in the XML files.