[Libreoffice-bugs] [Bug 119753] Direct formatting control text Highlighting mode <Esc> not toggling off

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Sep 12 23:40:54 UTC 2018


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

--- Comment #8 from Maxim Monastirsky <momonasmon at gmail.com> ---
(In reply to V Stuart Foote from comment #7)
> While the help article notes <Esc> as toggling off the formatting
The previous items there are:

1. On the Formatting bar, click the Highlight Color icon.
2. Select the text that you want to highlight.

So that section clearly talks about the bucket mode only. And esp. as toggling
off the formatting is actually covered by the next section "To Remove
Highlighting". So while we might try to improve the wording, there is nothing
really wrong with the help in that regard.

> a. <Esc> does not work
And it shouldn't, as it doesn't toggle off any other kind of formatting like
bold or italic.

> Clicking the button again does not toggle--at odds with behavior of other
> direct formatting button actions like Bold, Italic, Underline or Strike
> through.
...
> b. clicking the Highlight toolbar button, enables paint mode
The problem here is that we try to have 2 different functions on top of a
single button. We want it to toggle formatting like the other formatting
buttons, and we want the bucket mode. But we can't do both at the same time, so
how to decide what to do when the button is clicked? Does the user want to
toggle the formatting of the current text, or to highlight another text? We
can't read his mind. So what we do is this: If there is already some text
selected, the button acts as a toggle button similar to the other formatting
buttons, otherwise it just activates the bucket mode. It might be that this
behavior doesn't fit someone's workflow, but there's nothing else we can do to
keep both functions. And AFAIK that's the same behavior as in MS Word, so
people coming from there should be familiar with it.

> Meaning--the *only* way to end Highlight DF is select the last character,
> and use Context menu -> Character dialog's Highlight panel and set to None.
It can be done with the toolbar button too, in one of two ways:

1. Click the dropdown arrow of the toolbar button, select "No Fill", and paint
over the last character. (It might be reasonable to make this work also w/o
selecting "No Fill".)

2. First select the last character, and then click the toolbar button (no
painting is needed).

-- 
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/20180912/4c7e5f76/attachment.html>


More information about the Libreoffice-bugs mailing list