Bug 348067

Summary: "File > Document information" mismatch
Product: [Applications] krita Reporter: mvowada <freebox64>
Component: UsabilityAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 2.9.4   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description mvowada 2015-05-21 15:44:20 UTC
Krita apparently supports Exif, e.g. saving to TIFF it saves "description". And it seems it aims to be XMP-DCMI standard-compliant (https://community.kde.org/Krita/Metadata#Metadata_Framework_in_Krita2).

Dublin Core (DCMI) defines the element "description" as a "free-text account of the resource"(http://dublincore.org/documents/dcmi-terms/#terms-description), and the element "abstract" as best suited for summaries.

- The textarea in "File > Document Information > General > Comments", it maps to the xml node "description" in *kra documentinfo.xml.
- The textarea in "File > New > Custom/Clipboard > Contents > Description", it maps to the xml node "abstract" in *kra documentinfo.xml.

To show off "description" in "File > Document information" I guess you would map the textarea in "File > New > Custom/Clipboard > Contents > Description" to the node "description" in *kra "documentinfo.xml".

Reproducible: Always
Comment 1 Halla Rempt 2016-03-22 13:51:32 UTC
Git commit 25e41ba4300b21a5b2db33ef533a39fab1b3e8d2 by Boudewijn Rempt.
Committed on 22/03/2016 at 13:50.
Pushed by rempt into branch 'master'.

The document info dialog and the new image dialog both have
a description/comments field, but used different
http://www.calligra.org/DTD/document-info-1.1.dtd fields:
comments and abstract. Use abstract everywhere.

Note that the abstract, comments and description fields in the
documentinfo.xml file have nothing to do with dublin core, they
are hold-overs from the old koffice/calligra/opendocument days.

M  +4    -4    libs/odf/KoDocumentInfo.cpp
M  +1    -1    libs/ui/KisDocument.cpp
M  +3    -3    libs/widgets/KoDocumentInfoDlg.cpp
M  +3    -3    libs/widgets/koDocumentInfoAboutWidget.ui
M  +1    -1    plugins/flake/textshape/kotext/KoInlineTextObjectManager.cpp

http://commits.kde.org/krita/25e41ba4300b21a5b2db33ef533a39fab1b3e8d2