[Libreoffice-bugs] [Bug 50639] Format Paint Brush doesn't change background highlighted text color to 'no > fill'

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Oct 18 08:49:12 UTC 2020


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

Mike Kaganski <mikekaganski at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugs.documentfounda
                   |                            |tion.org/show_bug.cgi?id=13
                   |                            |5871

--- Comment #17 from Mike Kaganski <mikekaganski at hotmail.com> ---
Using Style Inspector (tdf#134554) new feature in master, all paragraphs have
Default Paragraph style applied, no paragraph-level DF; all the pieces of text
in attachment 74032 have no character styles, and some have character-level DF.

First line:

* "yellow": char color 0xffff00; char transparence 0.
* "black": char color 0x000000; char transparence 0.
* "green": char color 0x008000; char transparence 0, char back color
0xffffffff, char back transparent true, char shading value 0.
* "auto": no DF at all.

Second line (in fact, third paragraph):

* "yellow": char back color 0xffff00, char back transparent false, char shading
value 0.
* "black": char back color 0x000000, char back transparent false, char shading
value 0.
* "green": char back color 0x008000, char back transparent false, char shading
value 0.
* "nofill": no DF at all.

Now when format paintbrush clones source formatting to destination, it doesn't
remove from destinations what was absent in source - it only adds/overwrites
what was *present* in source. So cloning formatting from "auto" or "nofill" is
effectively a no-op, not adding and not modifying anything in destinations.

But if you make the "no fill" attribute explicit - e.g., select "nofill" and
apply "No Fill" from Highlight Color tool's dropdown, then cloning the
resulting formatting will work as expected, because then "nofill" would have
this DF: char back color 0xffffffff, char back transparent true, char highlight
0xffffffff, char shading value 0.

See also tdf#135871.

-- 
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/20201018/38dd751e/attachment.htm>


More information about the Libreoffice-bugs mailing list