[Libreoffice-ux-advise] [Bug 70759] FORMATTING: "Clear formatting" does not result in "Default Style"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jun 7 08:29:52 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=70759

V Stuart Foote <vstuart.foote at utsa.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|NOTABUG                     |---
           Severity|normal                      |minor
                 CC|                            |libreoffice-ux-advise at lists
                   |                            |.freedesktop.org,
                   |                            |vstuart.foote at utsa.edu
          Component|Writer                      |ux-advise
     Ever confirmed|0                           |1

--- Comment #2 from V Stuart Foote <vstuart.foote at utsa.edu> ---
Cor, *,

Looking at remaining issue of bug 71233 and in reviewing that, picked up this
issue.  Reopening, setting minor and pointing to UX-advise for discussion. 

I would suggest that there is a difference between the Format -> Clear Direct
Formatting (Ctl+M) menu and the Styles and Formatting menu bar - Apply Style
drop down action "Clear Formatting"

And the OP does raise a valid issue, that clearing style results in assignment
of "Text Body" style rather than "Default Style"

I believe the Format menu action now correctly only applies changes to elements
that diverge from a defined style. 

On Windows 7 sp1, 64-bit with
Version: 4.3.0.0.beta2
Build ID: a06aa316117a6ff0f05c697c82831c227812d810

To demonstrate:

1. Create, or open, a Writer document and use paragraph styles other than
default.

2. Select some block of text within a paragraph and make some formatting change
against the style.

3. Select half of that block, and select the Format -> Clear Direct Formatting.
That half of the selected text reverts to the assigned style for the paragraph.
The unselected remains as changed against the style.

4. Now select the remainder of the paragraph. And use the Apply Style drop down
to "Clear formatting" from the selection.  The result is that the selection
loses both its direct formatting -- as well as its assigned style. Becoming
"Text Body"

This distinction between styles vs. direct formatting is subtle, but is being
handled correctly, especially as we try to encourage folks to more completely
adopt use of styles for document formatting.

But, IMHO the available Apply Style tool bar action to remove a style from a
paragraph should not then assign a specific style to the paragraph ("Text Body"
as here), but rather should honor the generic "Default Style" that a new
paragraph would be created with.

OP issue is valid. But also, regards the <F11> dialog window, and its
implementation in the SideBar (bug 71233), there should be an Apply Style ->
Clear formatting action.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list