[Libreoffice-bugs] [Bug 144350] Allow to open linked documents when trying to edit protected sections

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Sep 24 06:37:28 UTC 2021


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

--- Comment #6 from Mike Kaganski <mikekaganski at hotmail.com> ---
(In reply to Heiko Tietze from comment #5)
> If the context doesn't apply, hide the control.

Which is exactly what I mentioned: you need to provide the information from the
action into the dialog.

And note the current logic: now the action checks if there is *any* locked
content affected by *any* operation; often it doesn't need to analyze
everything, and may break when encountered *the first* locked element affected.
What would need to be done is to analyze *everything* (to build the correct
context for the interaction), which would introduce this complexity into all
actions that could potentially give this warning; the analysis before the
interaction would take longer (for bigger selections). It might make sense,
though - but I don't think it's an easy change at all.

-- 
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/20210924/c5190d0d/attachment.htm>


More information about the Libreoffice-bugs mailing list