Bug 136281 - Feature request: link clone formatting to a "selectable" paragraph mark at the end of a paragraph, to apply as style to a new or existing paragraph
Summary: Feature request: link clone formatting to a "selectable" paragraph mark at t...
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsUXEval
Depends on:
Blocks:
 
Reported: 2020-08-30 07:28 UTC by Dmitry
Modified: 2022-02-28 09:34 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Can not copy/paste paragraph information (825.33 KB, video/x-matroska)
2022-02-22 08:05 UTC, Dmitry
Details
copy/paste in *nix (266.29 KB, video/x-matroska)
2022-02-25 11:30 UTC, Dmitry
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry 2020-08-30 07:28:32 UTC
Description:
If you allow to copy and paste the paragraph sign shown when non-printing characters are visible, and it will contain all formatting information of the paragraph, it will give a drastically help in creating complicated formatted texts.

Actual Results:
I can not select the paragraph sing

Expected Results:
I can copy a single paragraph sing, then I paste it to any other place of the document, or in any other document, resulting a new paragraph to appear that keeps the same formatting as the original, from which I have copied the characher.


Reproducible: Always


User Profile Reset: No



Additional Info:
do not know what to add
Comment 1 Dieter 2020-08-31 15:45:32 UTC
Thank you for reporting the bug. Could you lease provide a clearer set of step-by-step instructions on how to reproduce the problem? Perhaps a sample document also might help.(Please note that the attachment will be public, remove any sensitive information before attaching it)
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the steps are provided.
Comment 2 QA Administrators 2021-02-28 04:01:37 UTC Comment hidden (obsolete)
Comment 3 Dmitry 2021-02-28 08:39:52 UTC
(In reply to Dieter from comment #1)
> Thank you for reporting the bug. Could you lease provide a clearer set of
> step-by-step instructions on how to reproduce the problem? Perhaps a sample
> document also might help.(Please note that the attachment will be public,
> remove any sensitive information before attaching it)
> I have set the bug's status to 'NEEDINFO'. Please change it back to
> 'UNCONFIRMED' once the steps are provided.

Sorry for the delay. I have missed the request since I was on my vacation. Thankf for the reminding.

1. Open a LO Writer document.
2. Toggle Formatting marks with Ctrl+F10 to make them visible.
3. If the document is empty, add a line
4. At the end of the line you see the paragraph mark.
5. Try to select it, then copy, and then paste to any new place.

Expected result:

You should be able to select, copy and paste the paragraph mark.
After you have pasted it the new paragraph becomes all the formattings the original paragraph have. 

 Actual result:

You can not even select the paragraph mark.

P.S. Hope it is clear enough. ;-)
Comment 4 Dmitry 2021-02-28 14:15:20 UTC
The idea is to place all formatting information into the paragraph sing making it behave as a symbol though not visible.
Comment 5 Dieter 2021-03-05 12:03:59 UTC
So problem is "I can't select, copy and paste a single paragraph formatting mark of" correct?

I cnfirm, that this is not possible, but I also assume, that this is a WONTFIX. But if your aim is to have an easy access to a certain paragraph formatting, I think you reach a better result in using paragraph styles. Please explain, why this isn't sufficient.
Comment 6 Dmitry 2021-03-05 13:16:14 UTC
(In reply to Dieter from comment #5)
> So problem is "I can't select, copy and paste a single paragraph formatting
> mark of" correct?

 No, the problem is different.

> I confirm, that this is not possible, but I also assume, that this is a
> WONTFIX. But if your aim is to have an easy access to a certain paragraph
> formatting, I think you reach a better result in using paragraph styles.
> Please explain, why this isn't sufficient.

I speak not about the paragraph symbol itself but about the formatting of the paragraph. 

I can not copy the formatting of a paragraph and then create one or more paragraphs with the same formatting. Nor can I replace the formatting of an existing paragraph with the copied one (paste the formatting into a paragraph).

What I request is an easy and natural way to do it. 

With paragraph styles I must change EVERY single attribute of the formatting. There is no copy/paste mechanism.
Comment 7 Dieter 2021-03-05 15:12:07 UTC
(In reply to Dmitry from comment #6)
> With paragraph styles I must change EVERY single attribute of the
> formatting. There is no copy/paste mechanism.

That's not true. You format a paragraph as you want and choose Styles => New Style from selection.
Comment 8 Dieter 2022-02-17 09:42:23 UTC
(In reply to Dieter from comment #7)
> That's not true. You format a paragraph as you want and choose Styles => New
> Style from selection.

Dmitry, does this solve your problem?
=> NEEDINFO
Comment 9 Dmitry 2022-02-17 10:58:38 UTC
(In reply to Dieter from comment #8)
> (In reply to Dieter from comment #7)
> > That's not true. You format a paragraph as you want and choose Styles => New
> > Style from selection.
> 
> Dmitry, does this solve your problem?
> => NEEDINFO

No, the idea is just to copy/paste the paragraph sign as any other text preserving all formats of the paragraph. KISS.
Comment 10 QA Administrators 2022-02-18 03:42:28 UTC Comment hidden (obsolete)
Comment 11 Dieter 2022-02-20 10:23:47 UTC
(In reply to Dmitry from comment #9)
> No, the idea is just to copy/paste the paragraph sign as any other text
> preserving all formats of the paragraph. KISS.

But as far as I can see, this is already possible:

1. Open a document
2. Format an empty paragraph as you like  (Paragraph Style, Character Style, direct Formatting)
3. Copy that paragraph and insert it into a new or existing document.

If this doesn't work for you, please give some detailed steps, so that somebody can tray to reproduce the bug.
=> NEEDINFO
Comment 12 Dmitry 2022-02-22 08:05:05 UTC
Created attachment 178451 [details]
Can not copy/paste paragraph information
Comment 13 Dmitry 2022-02-22 08:06:38 UTC
As you see the last paragraph is not copyable at all.
Comment 14 QA Administrators 2022-02-23 03:45:54 UTC Comment hidden (obsolete)
Comment 15 Dmitry 2022-02-23 10:25:36 UTC
Why is the bug marked as unconfirmed? Is video not enough?
Comment 16 Dieter 2022-02-25 07:57:27 UTC
(In reply to Dmitry from comment #13)
> As you see the last paragraph is not copyable at all.

O.K. let's reduce the bug to the request "should be possible to copy the formatting of th empty last paragraph of a document"

Let's give that request to design-team for further input and decision
Comment 17 Dmitry 2022-02-25 08:24:39 UTC
Even when a paragraph is not empty I need to copy only formatting.
Comment 18 Dieter 2022-02-25 09:16:41 UTC
(In reply to Dmitry from comment #17)
> Even when a paragraph is not empty I need to copy only formatting.

So you want to copy paragraph formatting without content? So why don't you use clone formatting? It works at least within the same document? Request for using it across documents is bug 53056. Would this solve your problem?
Comment 19 Dmitry 2022-02-25 11:30:29 UTC
(In reply to Dieter from comment #18)
> (In reply to Dmitry from comment #17)
> > Even when a paragraph is not empty I need to copy only formatting.
> 
> So you want to copy paragraph formatting without content? So why don't you
> use clone formatting? It works at least within the same document? 

  That's the first reason. It does not allow to move the formatting to other document. 

  The second reason is the simplicity. In *nix world to copy/paste it is enough to select the source, move the cursor to the target and click the middle button.
Clone formatting is much more complex. 

> Request for using it across documents is bug 53056. Would this solve your problem?

  No, I need a very simple and obvious solution. To copy formats with 2 clicks.
Comment 20 Dmitry 2022-02-25 11:30:58 UTC
Created attachment 178535 [details]
copy/paste in *nix
Comment 21 Dmitry 2022-02-25 13:43:14 UTC
For exaple, I copy paragraph mark, then select other paragraph mark and paste the styles to this paragraph.
Comment 22 Mike Kaganski 2022-02-28 09:02:44 UTC
This should not be implemented, for several reasons.

1. The functionality is already there (using clone tool), as explained in comment 18. The "across documents" should be implemented in bug 53056, and should not be a reason to implement a duplicating function.
2. The request aims to promote direct formatting use, instead of use of styles which is the central design element in LibreOffice. While LibreOffice provides means of working with direct formatting, they should never be promoted before styles.

Closing WONTFIX.
Comment 23 Heiko Tietze 2022-02-28 09:34:32 UTC
You better describe the use case than a particular implementation. Suggestions are very welcome but please let us consider the general need for a feature, whether to expand and generalize the request, or to recommend implementing as macro in case it applies to a very limited user group.

Let's summarize a bit:
* Your use case is to write a menu card every day with dishes in 18pt and bold, ingredients in 12pt and nutrition facts in italic and grey font color.
* You ask for a function that copies the formatting of a paragraph and suggest to do this via the pilcrow symbol (ΒΆ).

Let's start from the end: Showing the non-printable characters as a prerequisite to do something with the formatting sounds wrong and not intuitive. The *NIX example in c20 has no formatting, but anyway we have to consider users on every platform typically not tech-savvy. So the better comparison is with MS Word or other office suites.

You can select the pilcrow by increasing the selection until the beginning of the next paragraph (as shown in c12). If you allow to select the pilcrow only it would be unclear what exactly is to be copied. MS Word is an example here: you can select the pilcrow but changing attributes (font size, color) has no effect (neither copy/paste).  I understand this as a bug.

Plus, you can format the whole paragraph with styles as well as phrases with character styles. And of course apply direct formatting to both. What attributes should be copied in any case?

The mentioned clone formatting function takes this into account with accelerator keys (with/without ctrl, see [1]) but has its limitations. An alternative for your use case might be to copy the whole paragraph and to just overwrite the content. Or use the supposed workflow with templates and styles [2].

Or have I mistaken your use case?

PS: Meanwhile the ticket was resolved WF. I agree if the assumption is correct.

[1] https://help.libreoffice.org/7.3/en-US/text/shared/guide/paintbrush.html
[2] https://help.libreoffice.org/7.3/en-US/text/swriter/guide/templates_styles.html