[Libreoffice-ux-advise] [Bug 100604] Should "Clear Direct Formatting" uno: ResetAttribute always be enabled?

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Oct 2 15:44:23 UTC 2016


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |needsUXEval
             Status|RESOLVED                    |NEW
                 CC|                            |libreoffice-ux-advise at lists
                   |                            |.freedesktop.org,
                   |                            |vstuart.foote at utsa.edu
         Resolution|DUPLICATE                   |---
            Summary|"Clear Direct Formatting"   |Should "Clear Direct
                   |is enabled if there is      |Formatting"
                   |nothing to do               |uno:ResetAttribute always
                   |                            |be enabled?

--- Comment #4 from V Stuart Foote <vstuart.foote at utsa.edu> ---
(In reply to sworddragon2 from comment #0)
> On opening Writer and moving the cursor to any unformatted text the "Clear
> Direct Formatting" context menu entry and button in the symbol bar are not
> disabled.

Why would they be disabled? The UNO command uno:ResetAttributes remains active
at all times. It is not implemented to be a selection driven activation, but
shifts focus of its action to object that is selected.

Meaning that when cursor is present in the document canvas with no selection
made--the cleared attribute would apply to the character the text cursor is
sitting on, or the word containing it, or to the paragraph depending on the
class of attribute being cleared.

And of course the UNO ResetAttributes used for the "Clear Direct formatting"
entry in the context menu was removed at 5.2 (see bug 86606 and bug 81132 for
ongoing work to reduce context menu emphasis on Direct Formatting).

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


More information about the Libreoffice-ux-advise mailing list