[Libreoffice-bugs] [Bug 112852] Should unapplying Bold remove the attribute or force text to Regular?

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Oct 6 02:19:12 UTC 2017


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

--- Comment #4 from Octavio Alvarez <octallo at alvarezp.org> ---
Yousuf's question is not easy to answer. I gave it a deep thought before
submitting the suggestion and could not come to a clear and obvious answer but
I have a suggestion.

I suggest that attribute removal should only occur when using Direct Formatting
applying/removal tools (like the Bold toolbar button or the Character dialog
from the Context menu).

So if it were on my hands I would do option (b): The "LibreOffice" word had
been set to Weight:Regular and changing the underlying style does not remove
the Weight:Regular DF.

Rationale: I can only affirm that user expectation is broken when unapplying DF
attributes. This may happen on styles too but I cannot affirm this. So let's
tackle the DF experience for now. Most probably users that know styles
understand DF a better than those who don't.


Additionally, I would like to share a small experiment I just did on Word to
compare behaviors:

1. Set "Heading 1" style to be Bold.
2. Write "Red Bold Regular".
3. Set "Red" to red color.
3. Hit Ctrl+B twice on "Regular".
4. Set the paragraph to the "Heading 1" style.

"Regular" will also be bold, but "Red" will keep its red color. This is the
expected behavior.


Another idea: explicitly add "inherit" options to each attribute, for example,
the Bold button would be a dropdown with "Inherit from Styles, Bold and
Regular". But maybe this would be too cumbersome.

-- 
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/20171006/5970c14a/attachment.html>


More information about the Libreoffice-bugs mailing list