Hi, using LO Writer 188.8.131.52 on macOS 10.14.6.
The Image Properties box should contain information about the image file's original name and path (if added from local filesystem).
Perhaps the Image>Properties>Options>Name field could be populated with the original filename by default?
It would be more efficient for the user if they need to locate an image inserted from their filesystem eg for editing and replacement.
Just fpor clarification: I can't find Image>Properties>Options>Name field. But I can see Image Properties => Image => Link You can add link and name manually. Your idea is, to add this by default?
Related to bug 80510
I got that menu sequence by mouse Right-Clicking on Image in Writer document:
R-Click on Image>Properties>Options>Name
And Yes, the idea is to add the original filename and perhaps local file path by default (may need to add a field for filepath).
I think the original name is more important – because in my use case – I can use that to search locally for the original file.
The original filepath would also be useful, obviously as long as the original file was not subsequently moved. If this was included then the term "Original filepath" should be used with the understanding that tracking the movement of files on the local system is the User's responsibility and that this is a timestamp of the file location at the time of insertion into the document only.
(In reply to dihan.wijewickrama from comment #2)
> I got that menu sequence by mouse Right-Clicking on Image in Writer document:
> R-Click on Image>Properties>Options>Name
> And Yes, the idea is to add the original filename and perhaps local file
> path by default (may need to add a field for filepath).
Thanks for clarification
cc: Design-Team for further input and decision
I classify such an entry as "personal information", which must be considered under security aspects. That is, it needs to be removed, if the option "Remove personal information on saving" is checked.
Another problem is, how to store such information in the file. Currently I can only think of svg:desc, which would correspond to Properties > Options > field "Description".
We had a similar request in bug 109203.
Users, who want to track such information, might use a macro, that inserts the image and writes the source path into "Description". But I am against this happening automatically.
I hadn't thought of the security aspects of the image details – it's an important point.
There are two relevant aspects to the file's original properties – it's name and it's path.
Automatically populating an Image>Properties field with the file's location would have clear security implications by elucidating the user's local filesystem structure.
But what would be the security risk(s) of automatically populating an Image>Properties field with the original file name?
The filename alone would be sufficient to deliver the increased usability benefit – so perhaps the name only could be autopopulated in the Properties box?
You can insert another image with this link field and it's file name but not path would be stored in <draw:image xlink:href=<filename>...> (making the image not accessible after moving just the document).
Storing just the name is not much, I guess. The intended use case might be to find out later what image exactly was used and without the path this is barely possible.
We discussed this topic in the design meeting. Storing the path is a privacy issue but we could store the name in Image Properties > Options > Name. The benefit besides better transparency what image is used, the image name is listed at the Navigator and any <Foo> is better than just Image1.
If the image name exists (source from different directories) it should extended by *_1 to _n.
It sounds also like a good plan, to delete these information if personal data is not saved. However, we didn't figure the actual option- the one under File > Properties > General is just about user's full name. Regina, what exactly do you mean?
But to deal with the issue in general, having companies in mind, we suggest to add an expert option that allows to disable the usage of file names (and keeps the current behavior).
(In reply to Heiko Tietze from comment #7)
> It sounds also like a good plan, to delete these information if personal
> data is not saved. However, we didn't figure the actual option- the one
> under File > Properties > General is just about user's full name. Regina,
> what exactly do you mean?
I mean Tools > Options > LibreOffice > Security options and warnings > Options
There is the check box "Remove personal information on saving", which currently removes information from File > Properties > General. It might need to be extended to remove paths.
And there is the section "Warn if document contains recorded changes, version, hidden information or notes:" which might need to be extended to be triggered if paths are used.