[Libreoffice-ux-advise] [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
Sun Oct 8 07:13:43 UTC 2017


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

--- Comment #7 from Heiko Tietze <tietze.heiko at gmail.com> ---
Let's include possible solutions. If the property is not part of the style it
is removed when unapplied. "Hello <b>bold</b> world" -> "Hello bold world"
instead of "Hello <n>bold</n> World" with n=normal weight. Doesn't work (well)
when the style contains bold and you toggle it on/off. Undo in terms of
checking whether bold has been set before is also not an option as we would
need to save all interactions. Could work somehow during the current session
but would be very error-prone IMHO.

The only solution is to implement the first option and "forget" all previous
direct formattings after a style is applied. Meaning unsetting a property
removes it but also applying a style let it disappear when equal. That leads to
confusions too and we should weight which of the two options is less weird or
more convenient.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list