Bug 348067 - "File > Document information" mismatch
Summary: "File > Document information" mismatch
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Usability (other bugs)
Version First Reported In: 2.9.4
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-21 15:44 UTC by mvowada
Modified: 2016-03-22 13:51 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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