[Libreoffice-bugs] [Bug 143792] FORMATTING: Style changes not applied to specific cells with multiple selection

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Aug 9 15:32:39 UTC 2021


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

--- Comment #2 from Mike Kaganski <mikekaganski at hotmail.com> ---
(In reply to fabio from comment #0)
> - Selecting only the B1 cell, the "Bold" button works as expected.

In fact, no. It only works "as expected" when the cell is *focused* (i.e., when
you click on it, and it receives the bold border showing focus, but not filling
showing selection). But *selecting* this single cell (e.g., starting selection
from this cell, extending to a neighbor, and then moving the mouse back to B1
to only have a single cell selected) shows the same behavior (Bold not applied
to the contents of the cell).

And the reason for the difference is that applying a property to *cells
selection* only applies it to cell level; while applying it to a focused cell
in the absence of selection *additionally* goes inside the cell, and for each
span inside the cell, also resets the direct formatting related to this
property. This is similar to Writer's relations between Paragraph-level and
Character-level direct formatting, with character-level one taking precedence.

Not a bug IMO.

-- 
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/20210809/fbf5a8bc/attachment.htm>


More information about the Libreoffice-bugs mailing list