[Libreoffice-bugs] [Bug 141747] New: EDIT: protect user from deleting reference source
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sun Apr 18 14:27:22 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=141747
Bug ID: 141747
Summary: EDIT: protect user from deleting reference source
Product: LibreOffice
Version: 3.3.0 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: enhancement
Priority: medium
Component: Writer
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: christianw_lehmann at arcor.de
Description:
Deletion of an object (a heading etc.) referenced at some point of the document
leads to the replacement of the reference fields by the advice "Error:
Reference source not found". These messages are of little help to the user: He
may overlook them before printing the document; and if he detects them in time,
it is hard to find out what the intended target (Writer calls it "source") of
the reference was. The user should better be supported in his preference to
avoid these errors. Therefore:
User is applying a deletion operation to some string.
Before LibreOffice executes the deletion, it checks whether the string to be
deleted contains one or more objects to which references are found (elsewhere)
in the document. If so, these references are marked, and the user is given a
warning something like: "You are deleting [referenced object]. There are
references to it in the document!" The user can then modify the marked
references.
This is just a basic service. A further commodity would be:
"Do you want to redirect these references?"
If 'yes', the user gets engaged in the same procedure that is invoked by
right-clicking on a reference and choosing "Edit fields". He can then select a
new target. Once he gives "Okay", the existent references to the object about
to be deleted are redirected.
Then the user can proceed with his deletion operation.
Steps to Reproduce:
1. Mark a string in the document that contains a referenced object.
2. Delete it.
Actual Results:
It is deleted, and references to it are replaced by "Error: Reference source
not found".
Expected Results:
It should not be deleted without a warning.
Reproducible: Always
User Profile Reset: No
Additional Info:
I realize that his presupposes a function which identifies all the references
to a given target, so they can either be marked in the document or be replaced
by something else. Such a facility would be useful, anyway: The user may want
to find all the references to a given target in order to do something about
them. If such a function were available, it could also be offered in the "Find
and Replace" dialog.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210418/5bfc3628/attachment-0001.htm>
More information about the Libreoffice-bugs
mailing list