[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
Tue Oct 3 04:50:33 UTC 2017


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

--- Comment #1 from Mike Kaganski <mikekaganski at hotmail.com> ---
IMO, it's not good to implement such non-trivial processing. Imagine a case
when user selects a text run where multiple formatting is applied: paragraph
style with bold; paragraph style with regular; char style with bold and another
with regular; direct formatting with both... and their different
superpositions. Now what would come if user clicks Bold? The text run should be
analyzed part-by-part, and each part given its own new formatting just to make
it Bold? or non-bold (like in "toggle")? Even if we decide to make it all Bold,
then, while visually it will be what user expects, internally this "bold" will
be a number of independent runs with different combination of style and direct
formatting... and then behavior of such text run will be inconsistent with what
user intended.

Pressing buttons of direct formatting is just that: applying direct formatting.
No need to try to figure some more clever processing, to find then that another
user finds it confusing. Better emphasize that it's direct formatting, and
deprecate it visually in favor of styled approach.

-- 
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/20171003/52afc470/attachment.html>


More information about the Libreoffice-bugs mailing list