https://bugs.documentfoundation.org/show_bug.cgi?id=141747

--- Comment #17 from Christian Lehmann <[email protected]> ---
1) As to the master-document issue: ODT files which are part of a master
document are probably in a minute minority [any usage statistics available?].
It does not seem profitable to block a solution to a problem just because there
does not appear to be a way to solve it for master documents, too. As long as
it is not solved for master documents, a hint might be added to the Help text
on master documents saying that the integrity of references in parts of master
documents is currently not guaranteed.

2) Heiko is right that if the user is deleting the target of a reference, thus
orphaning the reference without being conscious of it, he must be told
_immediately_. Consider the following scenario: While working on your 100 pages
document, you delete the target of a reference. Another day, when revising the
document, you come across a passage "Error: reference source not found" and
want to put this right. It is _very_ cumbersome to find out what the target of
this reference had been. (Essentially, you have to resort to a backup of an
earlier version of the file.) It is not clear how your "orphaned list" would
address this problem.

3) In order to warn the user immediately, Writer would indeed have to check
whether the file contains references to the thing being deleted. If this leads
to performance problems, as you say, then a preliminary solution to the problem
at hand might be: Allow user to do a Find on references to a certain target. He
may then choose to do this, for safety's sake, before deleting a thing that he
is not sure whether it is referenced somewhere. While this would be a
preliminary solution, it would be work presupposed by a definitive solution.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to