Bug 111698 - LO Properties dialog should show LibreOffice version number, i.e. the meta:generator string
Summary: LO Properties dialog should show LibreOffice version number, i.e. the meta:ge...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: File-Properties
  Show dependency treegraph
 
Reported: 2017-08-11 17:45 UTC by david.fraser
Modified: 2020-10-12 07:27 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description david.fraser 2017-08-11 17:45:52 UTC
In a saved LibreOffice Writer or Draw file, File, Properties, General tab, Type shows only "Open Document Text" or "Open Office Drawing", respectively.  In Windows Explorer, right-click on a file, Properties, Type of file shows the same description.

Compare to a Word file. In Windows Explorer, right-click on a file, Properties, Type of file shows e.g., "Word 2007 Document (.docx)".

I would like to see LibreOffice File, Properties, Type of file show the LibreOffice version as well as the above Type of file current description.  E.g., "Open Document Text 5.3.5", or "LibreOffice 5.3.5 Open Document Text".  Similarly, the version would show in Windows Explorer, right-click on a file, Properties, Type of file, and in other operating systems.

This applies to the last modified version of the file.  A separate similar description could be given for the LibreOffice version used for the original creation of a file.
Comment 1 Jean-Baptiste Faure 2017-08-12 06:17:08 UTC
I disagree because "OpenDocument Text 5.3.5" is not a file format. You are confusing the version of the file format (eg. ODF 1.2) of the file and the version of the software which produced this file (eg. LibreOffice 5.3).

Correct information could be something like that: 
"OpenDocument Format 1.2 last saved by LibreOffice 5.3"
or 
"Extended OpenDocument Format 1.2 last saved by LibreOffice 5.3"

For non ODF file, like .docx I don't what could be the best wording.

Best regards. JBF
Comment 2 david.fraser 2017-08-14 01:53:33 UTC
Either of Jean-Baptiste Faure correct information suggestions would be OK.  All I was suggesting that the version of LibreOffice used to create or update/modify a LibreOffice file should be available information somewhere, such as as a File Property.
Comment 3 Yousuf Philips (jay) (retired) 2017-08-14 01:58:28 UTC
As JBF stated, the file type should show 'OpenDocument Text (.odt)', as it does today, but in the Details tab, it should show file properties like the version of ODF used in the file, which version of LO last modified the file, etc., etc.
Comment 4 V Stuart Foote 2017-08-14 04:03:00 UTC
@Jay, why would this be linked to the Windows Explorer bundled extension? First effort should be to extend the LibreOffice Properties dialog as the OP requested.

That addition could more effectively be made cross platform adjusting the SfxDocumentInfoItem structure in dinfdlg.cxx/hxx [1][2][3]and reflected in documentpropertiesdialog.ui  

Also, we already hold properties in the ODF archive's meta.xml, strings from SfxDocumentMetaData.cxx [4] with some other Dublin Core (dc:) attributes.  Would think adding meta:generator, and some of the other dc: attributes, could be added to the LibreOffice Properties dialog.

Get the additional properties including generator working correctly in the Properties dialog cross platform, then can do something about adding it to the Windows shell via the Windows Explorer Extension.

=-refs-=
[1] https://opengrok.libreoffice.org/xref/core/sfx2/source/dialog/dinfdlg.cxx#204
[2] https://opengrok.libreoffice.org/xref/core/include/sfx2/dinfdlg.hxx#60
[3] https://opengrok.libreoffice.org/xref/core/sfx2/uiconfig/ui/documentpropertiesdialog.ui
[4] https://opengrok.libreoffice.org/xref/core/sfx2/source/doc/SfxDocumentMetaData.cxx#378