[Libreoffice-bugs] [Bug 135876] Font color is explicitly set in paragraph style, but gets overwritten by direct formatting on drag and drop

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Aug 18 11:43:14 UTC 2020


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

--- Comment #2 from Mike Kaganski <mikekaganski at hotmail.com> ---
(In reply to Telesto from comment #0)
> Steps to Reproduce:
> 3. Notice the page style being hello

Likely a typo, and paragraph style was meant

> 4. Open Sidebar -> Right click Hello -> Modify -> Font Effects tab -> Notice
> black is explicitly set 

Wrong. What is set is clear on Organizer tab's "Contains", and also in the new
Styles Inspector (experimental in master). The style does not contain text
color, only text background color.
> Actual Results:
> Text will become red
> 
> Expected Results:
> Should not be affected I think

Direct formatting always takes precedence over the styles. So even if the
"hello" paragraph style did itself define a text color (while currently it's
defined in Default Paragraph Style level), it wouldn't change the fact that
direct formatting should override it - *if* direct formatting is applied.
However, the question is if dragging text into a text span should apply the
span's formatting, not create a new span without it. Maybe a UX question, or
even a bug...

-- 
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/20200818/b03e5a54/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list