[Bug 162209] STYLES pane -- duplicate style (an additional option beside the existing new style from selection)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Jul 30 21:26:30 UTC 2024


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

--- Comment #2 from Eyal Rozenberg <eyalroz1 at gmx.com> ---
> Imagine that you want to have a variant of this style...
> a variant that's only different in one attribute... say, border color
> 
> In this case I'd go: "duplicate this style"...

If I understand correctly, and reading your other bug (bug 152189), you want to
have a style which:

1. is a direct child of the same style as my_paragraph (call it parent_style)
2. has very similar modifications relative to parent_style

I... have to admit that this is a legitimate desire, certainly with the way
styles are right now; and you're denied this ability. Even if you start from a
child of my_paragraph and move it up (e.g. by drag-and-drop) - you'll get: 

  parent_style + (my_paragraph_copy - my_paragraph)

instead of:

  parent_style + ((my_paragraph - parent_style) + (my_paragraph_copy -
my_paragraph))

which is what you wanted.

I will, however, ask you this: In your example, you listed:

* my_paragraph orange border
* my_paragraph azure border

this is _not_ the right feature to give you that. Instead, you should use style
composition: bug 149271. LO doesn't have it yet, but it could, and should. In
your example, your will have three styles:

1. my_paragraph
2. orange_border
3. azure_border

which are all defined as "deltas"

and you will be able to apply (1.) and (2.), or (1.) and (3.), to the same
paragraph at once. Would that be satisfactory, in your opinion, without the
ability to duplicate styles?

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


More information about the Libreoffice-ux-advise mailing list