Bug 116727 - EDITING: Undo while Clone Formatting leads to text having double font size (see comment 4)
Summary: EDITING: Undo while Clone Formatting leads to text having double font size (s...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
3.5.0 release
Hardware: All All
: lowest minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Undo-Redo Clone-Formatting
  Show dependency treegraph
 
Reported: 2018-04-01 00:13 UTC by Gerald Pfeifer
Modified: 2023-08-22 08:12 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample document (564.94 KB, application/vnd.oasis.opendocument.presentation)
2018-04-01 00:13 UTC, Gerald Pfeifer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerald Pfeifer 2018-04-01 00:13:24 UTC
Created attachment 141005 [details]
Sample document

How to reproduce:

 1. Open attached document
 2. Change text background of cell ONEONEONE
 3. Clone formatting of cell ONEONEONE to cells TWO, THREE, FOUR, and FIVE
 4. Undo (<Ctrl><Z>)
 5. Observe how the change is reverted, but font size doubles! Another 
    undo step reverts the font size to normal again.
Comment 1 Buovjaga 2018-04-03 17:57:14 UTC
(In reply to Gerald Pfeifer from comment #0)
>  2. Change text background of cell ONEONEONE

Please describe how you do this exactly.

Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the information.
Comment 2 Gerald Pfeifer 2018-04-03 18:01:03 UTC
(In reply to Buovjaga from comment #1)
>>  2. Change text background of cell ONEONEONE 
> Please describe how you do this exactly.
> 
> Set to NEEDINFO.
> Change back to UNCONFIRMED after you have provided the information.

I'm using the button in the toolbar that has a textual description
of "Highlight Color".
Comment 3 Buovjaga 2018-04-03 18:26:53 UTC
For the cloning, are you cloning to the 4 target cells all at once? Or doing 4 different clones?

I find that if I try to do all at once, it either has no effect OR the font size is doubled. It will also remove the borders of the 4 cells.

If I do only 1 clone per cell, everything works as expected and there is no undo problem (although there is no undo problem in the "all at once" method either).

Arch Linux 64-bit
Version: 6.0.2.1.0+
Build ID: 6.0.2-1
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Comment 4 Gerald Pfeifer 2018-04-03 18:41:16 UTC
(In reply to Buovjaga from comment #3)
> For the cloning, are you cloning to the 4 target cells all at once?
> Or doing 4 different clones?

I am cloning by double clicking the cloning icon in the toolbar and
then cells TWO, THREE, FOUR, and FIVE, one after the other.
 
> I find that if I try to do all at once, it either has no effect OR the 
> font size is doubled.

I also got this once in one my of tests.

Working on this a bit more, I managed to simplify (and hopefully
clarify) the reproducer:

 1. Open attached document
 2. Change text background of cell ONEONEONE by using the "Highlight Color"
    icon in the toolbar.
 3. Clone formatting of cell ONEONEONE to cells TWO and FIVE by double
    clicking the "Clone Formatting" icon in the toolbar and then clicking
    on TWO and then clicking on FIVE. 
 4. Undo (<Ctrl><Z>)
 5. Observe how the change is reverted, but font size doubles in cell FIVE!
    Another undo step reverts the font size to normal again.

libreoffice-6.0.3.1-1.1.x86_64 on openSUSE Tumbleweed.
Comment 5 Buovjaga 2018-04-04 08:46:37 UTC
(In reply to Gerald Pfeifer from comment #4)
>  1. Open attached document
>  2. Change text background of cell ONEONEONE by using the "Highlight Color"
>     icon in the toolbar.
>  3. Clone formatting of cell ONEONEONE to cells TWO and FIVE by double
>     clicking the "Clone Formatting" icon in the toolbar and then clicking
>     on TWO and then clicking on FIVE. 
>  4. Undo (<Ctrl><Z>)
>  5. Observe how the change is reverted, but font size doubles in cell FIVE!
>     Another undo step reverts the font size to normal again.

Ok, with *these* steps I do repro. Note that it does not depend on "highlight" - font colour can also be used.

Arch Linux 64-bit
Version: 6.1.0.0.alpha0+
Build ID: 6acda2a36c9025e0d3fe94d6ca8788ab60c3203e
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on April 2nd 2018

It is already seen in 3.5.0 (tested on Win 10)
Comment 6 QA Administrators 2019-04-05 02:59:18 UTC Comment hidden (obsolete)
Comment 7 Gerald Pfeifer 2019-08-21 10:05:41 UTC
Still there with

Version: 6.3.0.4
Build ID: 30(Build:4)
CPU threads: 4; OS: Linux 5.2; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded


Note: to reproduce per comment #4 undo (<Ctrl><Z>) while the bucket
icon is still visible.
Comment 8 QA Administrators 2021-08-21 03:50:18 UTC Comment hidden (obsolete)
Comment 9 Gerald Pfeifer 2021-08-21 04:05:39 UTC
Still reproducible with

Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: da006fbe2d4c5891933390d72f6e6026b28d39fc
CPU threads: 8; OS: Linux 5.13; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-08-19_11:31:56

Note this only appears reproducible when clone mode is still active. If
I hit <Esc> after cloning, things appear fine.
Comment 10 QA Administrators 2023-08-22 03:05:40 UTC Comment hidden (obsolete)
Comment 11 Gerald Pfeifer 2023-08-22 08:12:02 UTC
Still there with

  Version: 7.6.1.0.0+ (X86_64) / LibreOffice Community
  Build ID: 86d39aec6ab4205955921406d2512d6eab8d3fe8
  CPU threads: 8; OS: Linux 6.4; UI render: default; VCL: gtk3
  Locale: en-US (en_US.UTF-8); UI: en-US


Current 24.2 alphas do not show any text (font color = background color),
but manually overriding this still exhibits the undo issue.