[Libreoffice-bugs] [Bug 135871] Highlighting no fill is not the same as no fill; there is still direct formatting present according to paragraph style

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Sep 15 22:10:11 UTC 2020


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

Thomas Lendo <thomas.lendo at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|113731                      |112185
                 CC|                            |thomas.lendo at gmail.com

--- Comment #22 from Thomas Lendo <thomas.lendo at gmail.com> ---
So much text and so much complexity in this discussion.
I assume a new feature like 'SimlifyXYZ' would it make more complicated for
users.

I want get back to the original idea: If you use a command (e.g. the highlight
color button in the toolbar) then the "no fill" option should delete the whole
formatting from the file. Now instead of a visible highlight color it gets a
transparent/invisible highlight color. You can see that perfectly in the new
styles inspector or you open the content.xml of the ODF and search for
something like <style:text-properties fo:background-color="transparent"
loext:char-shading-value="0"/> in the <office:automatic-styles> area.

Resolution should be:
Every command that adds formatting to a text should remove that formatting
completely when a 'automatic' or 'no fill' or 'undo format' option was choosen
by the user. Now the xml file is swamped with style attributes.

The only workaround now is to use Ctrl+M.

I doubt that nobody has reported something like this issue in the past.
Searching to avoid duplicates should be the work for the reporter, not for QA.
So I don't do it.

For your information, there are many bugs out there around handling of styles
and direct formatting.

* Bug 130930 - Ability to remove one specific direct formatting
* Bug 107095 - FORMATTING: Means to convert direct formatting into styles
* Bug 106556 - Add functionality that highlights all directly formatted text
* Bug 117022 (Writer-Toolbar-Formatting-Styles) - [META] Style-focused
formatting toolbar
* Bug 127250 (Formatting-Text-Diverse) - [META] Text formatting issues when
inserting or overwriting
* Bug 38194 - Style indicator in document margin
* Bug 128960 - Editing: Add a more direct way to clear character styles
* Bug 108015 - Using Ctrl + Shift + B and Ctrl + Shift + I for Emphasis and
Strong Emphasis character styles
* Bug 89826 - Allow removal/reset of individual style attributes
* Bug 98381 - Pasting text at the beginning of a style changes the style to
that of the pasted text
* Bug 88559 - Display of inherited attributes from parent styles in Styles
dialog
* Bug 90646 (Sidebar-Styles-Improvements) - Improving the "Style & Formatting"
sidebar tab
* ...


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=112185
[Bug 112185] [META] Highlight text color button/widget bugs and enhancements
https://bugs.documentfoundation.org/show_bug.cgi?id=113731
[Bug 113731] [META] Highlight bugs and enhancements
-- 
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/20200915/f82b8480/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list