Bug 120825 - proposal to apply character styles : with 'paint bucket' cursor, as for colors.
Summary: proposal to apply character styles : with 'paint bucket' cursor, as for colors.
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.2.0.0.alpha0+
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Clone-Formatting
  Show dependency treegraph
 
Reported: 2018-10-23 09:37 UTC by jlucschoon
Modified: 2018-12-03 15:28 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jlucschoon 2018-10-23 09:37:32 UTC
Hello, I have a revolutionary proposal to apply character styles :
to apply bold, italic, ..., and all 'Format Character' styles in the same way as color, with the 'paint bucket' cursor.

For example, by adding a double click additional function to the 'color selection button'.

Currently:
-With a simple click on the 'color selection button' :
It activate the 'paint bucket' mode to apply a color to text portions, selected afterwards.

My proposal:
-With a double click on that 'color selection button' :
It would be possible to choose also bold, italic, ... and all the 'Format Character' styles in addition to color.
And of course, as for color, it would be possible to change style, as selections are going on.

It would make possible to apply styles to a whole document in one pass, as for color ! 

Have a good day!
Comment 1 V Stuart Foote 2018-10-23 12:29:13 UTC
A defined or modified Character style, or Paragraph style can be applied as indicated. Use the Style deck of the Sidebar.
Comment 2 jlucschoon 2018-10-25 08:45:55 UTC
Hello, I don't understand your answer.

Of course I can select a text portion, then apply a style of character, select another, then apply a style of character, ... But it's long and repetitive.

What I proposed is to select first a style of character (bold, italic, a color, ...) and then apply that on text portions with 'paint bucket' cursor. 
 
It's possible to do this for colors : first click on the 'color selection' button, choose a color, and then select portions of text with the 'paint bucket' cursor.
Unfortunately, bold italic... buttons, and style selections in 'FormatCharacter' are not taken into account.

I'd like to use 'paint bucket' cursor to apply for example - bold, Times new novel 18, Borders - to several text portions, then do the same without bold on others,...

This new fuction of 'color selection' button could be activated by double click.

Have a good day
Comment 3 V Stuart Foote 2018-10-25 13:40:54 UTC
And you can perform exactly the work flow you suggest using the Sidebar <F11> "Stylist" deck. Open it, choose Character deck and either create new or modify a style to your liking.

At the top of the deck is the "Fill format mode" paintbrush icon, press to enter paint mode. Cursor in the document canvas changes to the "pouring paint bucket" and text highlighted will receive the style exactly as predefined--words, sentences, whole paragraphs (though better to apply paragraph style there).

Style applied to a drag through the text, or single click to word, or triple click to sentence, four clicks to paragraph.

IMHO resolved => WFM
Comment 4 Heiko Tietze 2018-10-26 08:28:58 UTC
Basically I like the idea to improve consistency and having bucket modes on more functions is worth a second thought. But OTOH it's not a very common feature and would rather be used by freaks. And as Stuart pointed out we have exactly this mode but only at the sidebar. So I'm resolving as WFM.

Thing is that bold, italic etc. at the toolbar format directly and don't apply a character styles. A problem raises also from the fact that some properties are toggled and the bucket mode would not only set a property but also unset at the same time depending on the previous target state.
Last but most important I struggle a bit with the use case. The freaky bucket mode changes a property in a batch process, meaning you apply it to many items/words. And I doubt that this is really the usual workflow.

But thanks for your input. Even freaky ideas are always welcome.
Comment 5 jlucschoon 2018-10-28 10:00:43 UTC
Thank you for your explanation. Yes with F11 it's possible, but rather complicated.

What I proposed is a bit similar to 'Style Clone' button (with double click, for multiple selections), which allows to apply a style and a color with 'Paint Bucket' cursor.
But with that, it's not possible to change style or color applied during use (any modifications are only applied to current selection).

With 'Color Selection' button, it's possible to change color applied during use, but style is not taken into account.

I think it would be really fun to apply styles as easyly as colors, wouldn't it be ?

Now it's up to you

Best regards from France

Have a good day
Comment 6 V Stuart Foote 2018-10-28 14:48:24 UTC
(In reply to jlucschoon from comment #5)
> I think it would be really fun to apply styles as easyly as colors, wouldn't
> it be ?

And therein lies the problem. While fun, it would not encourage disciplined use of styles. 

Creating or modifying a style from the <F11> "Stylist" and then applying it--to prior selection, or with paint mode--is a controlled action. The "style" is assigned a reasonable identity, and appears in the style selector--named and available for reuse.

Generating and applying multiple "styles" on the fly from toolbar would quickly generate unmanageable ODF documents that would have stability issues on reopening. Using styles as haphazardly as direct formatting would be a backwards step.

The existing UI--providing the <F11> "Stylist" as a deck on the Sidebar, the new but restrained scope "Formatting (Styles)" toolbar, and the Format -> Clone Formatting button widget to apply style of a selection--is suitable to task.

IMHO=> WF
Comment 7 Heiko Tietze 2018-10-31 10:28:32 UTC
(In reply to V Stuart Foote from comment #6)
> IMHO=> WF

No need to add needsUX again in that case (I closed the ticket but jlucschoon reopened). As I never close reopened ticket again it's up to QA. My comment 4 still holds true.
Comment 8 Xisco Faulí 2018-12-03 15:28:14 UTC
The enhancement described is already implemented as Fill Format mode when using styles.
+1 for closing as RESOLVED WORKSFORME...