Download it now!
Bug 128719 - FORMATTING: Clone Formatting should allow typing when in multiple selection mode
Summary: FORMATTING: Clone Formatting should allow typing when in multiple selection mode
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Clone-Formatting
  Show dependency treegraph
 
Reported: 2019-11-11 17:56 UTC by documentfoundation
Modified: 2020-05-09 22:45 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 documentfoundation 2019-11-11 17:56:59 UTC
Description:
Clone Formatting should not exit multiple-selection mode when the user enters text; it should remain in multiple-selection mode until the paintbrush is clicked off, or until ESC is pressed. This way, a formatting style can follow the cursor throughout the document, so the user does not have to paste the formatting after typing in each new location.

Steps to Reproduce:
1.Double-click on the paintbrush to enter clone formatting multiple-selection
2.Click in cell2 and type with same format
3.Click on cell3, type more text

Actual Results:
The format was not cloned onto cell3 because the multiple-selection mode was deactivated as soon as the user began typing into the cell. Consequently, the user must select clone formatting after each newly typed cell, or use multiple selection mode then identify each of the new cells and select them. Both work-arounds are tedious.

Expected Results:
Clone Formatting Multiple-selection mode should persist until clicking on the paintbrush again, thus allowing formatted typing to follow the cursor until the user exits Clone Formatting mode deliberately by clicking on the paintbrush again.


Reproducible: Always


User Profile Reset: No



Additional Info:
Note that the Help does not mention that the clone formatting multiple selection mode will be disabled as soon as the user starts typing.
From https://help.libreoffice.org/Common/Copying_Attributes_With_the_Clone_Formatting_Tool

You can use the Clone Formatting tool to copy formatting from a text selection or from an object and apply the formatting to another text selection or object.
Note.png 	In Calc, the Clone Formatting tool only applies to cell formatting.

    Select the text or object whose formatting you want to copy.

    On the Standard Bar, click the Clone Formatting icon.
    The cursor changes to a paint bucket.
    If you want to apply the formatting to more than one selection, double-click the Clone Formatting icon
    Icon
    . After you apply all the formatting, click the icon again.
    Select or click the text or object that you want to apply the formatting to.

Tip.png 	By default only the character formatting is copied ; to include paragraph formatting, hold down Ctrl when you click. To copy only the paragraph formatting, hold down Ctrl+Shift when you click.
Comment 1 documentfoundation 2019-11-11 18:01:33 UTC
The fix probably consists mainly of deleting lines of code rather than adding lines of code.
Comment 2 Cor Nouws 2020-05-05 18:21:45 UTC
Hi,

(In reply to documentfoundation from comment #0)
> ...... This way, a formatting
> style can follow the cursor throughout the document, so the user does not
> have to paste the formatting after typing in each new location.
> ....
> Steps to Reproduce:
> 1.Double-click on the paintbrush to enter clone formatting multiple-selection
> 2.Click in cell2 and type with same format
> 3.Click on cell3, type more text
I would try to use cell styles to format stuff in the first place, but.. I FWIW see no objection to the change of the behavior.
Comment 3 Heiko Tietze 2020-05-07 14:49:14 UTC
This new stickiness is not restricted to Calc it would apply also to Writer. You pick the yellow background from somewhere, put the cursor at places to write "inline comments" and type with the yellow background. Sounds reasonable. ONly drawback is for people who are familiar with the current workflow and expect the duplication to toggle off when typing. I think it's not too hard to learn that escape does the trick.