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

            Bug ID: 172601
           Summary: EDITING: Textbox in Impress loses all font attributes
                    if part of a group and the group is changed via F4
                    dialog, then undone.
           Product: LibreOffice
           Version: 26.2.4.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Impress
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 207554
  --> https://bugs.documentfoundation.org/attachment.cgi?id=207554&action=edit
Testcase highlighting the bug described.

This is a tricky bug to describe, and it's bitten me at the wrong time on more
than a few occasions.  I've attached a small "flat" ODP file that demonstrates
it as well (dark background is best, but the file should look alright on a
light background).

The general setup is having a textbox grouped with some other widgets that are
already grouped.  In the attached FODP, there are two rectangle shapes that are
grouped together.  Under them is a horizontal line that is grouped with the
rectangle group.  Under the line is a textbox, grouped with the grouped line &
rectangles (so three layers of grouping).  This seems to be a requirement for
the bug, as best as I can tell.  Not necessarily this amount of grouping, just
some amount of layered/nested grouping.  I have not tried to determine what the
minimum required amount is.

The textbox has to have some text with attributes different than a stock
textbox.  In the attached FODP, it has two lines of text.  The first line has
these properties:
  - Family: Aptos Black
  - Size: 92pt
  - Bold + Underline
  - Character spacing: 3.0

Under it is a second line with different properties:
  - Family: Calibri
  - Size: 32pt
  - Italics

The final requirement of the bug is the overall grouped object MUST be edited
via the F4 dialog and some property changed through that, like its position or
size (what I get tripped up on the most).  If the edit is made using the
slide-out panel on the right, the bug cannot be reproduced.

Once an edit is made, like changing the width/height from 16.00"x12.00" to
4.00"x3.00", hitting the Undo button or using the Undo shortcut will restore
the grouped object to its original state, but font attribute information in the
textbox is lost or altered, and this information cannot be recovered.

In the attached FODP, one need only to make the above change, then hit Ctrl+Z
and note that the second line in the textbox gains all of the attributes of the
first line.  Most of the time, when I get bit by this bug, I lose ALL font
attribute information entirely, usually going back to the textbox defaults of
Liberation Sans, size 10pt.  The attached FODP doesn't recreate this effect
exactly, but the impact is still the same, attribute information is lost and
cannot be recovered without reloading the previous save.  If I did not have a
save immediately before this, then I will have lost work, and that makes me
rather sad.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to