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

            Bug ID: 154428
           Summary: Shapes suddenly vanish from a Writer Frame after edit
           Product: LibreOffice
           Version: 7.5.1.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: bugzi...@rhynas.com

Whilst updating an existing Writer document, I discovered (belatedly) that
several standard shapes used in diagrams have vanished completely!  This was
only apparent AFTER document Reload. At the time of edit (and save) all
graphics were present OK. 

The document uses several Frames, each containing some text plus a small
diagram comprising basic shapes and lines.

I'm using LO 7.5.1.2 via the Ubuntu PPA on Mint 21.1. The issue is also present
with the 7.5.1.2 AppImage, but the 7.4.6.2 AppImage works OK. Note the problem
is particularly insidious as the 'damage' is not detected until you next open
the document. (At first I wondered if the shapes had somehow become hidden, but
then realised they had disappeared from Style Inspector as well)


STEPS TO RE-CREATE
------------------
This may not be the only sequence to provoke the defect, but it is repeatable.

1. Open a new Writer document and add a Frame via Insert > Frame >
Interactively.

2. Insert a few (e.g. four) graphics objects e.g. square, circle, hexagon,
triangle. The default Anchor is 'Paragraph' and default Wrap is 'Through'.

3. Save the document, then Reload.  All shapes should appear as originally
added.

4. Group two objects, then Save & Reload.  Observe the grouped objects have
moved hard-left and Wrap changed to 'Parallel' without user intervention. This
is suspicious and does not happen with LO 7.4.6.2 AppImage. 

5. Select and drag the grouped object back to original position, Save/Reload
and no further change observed.

6. Select original Group and change Anchor to 'Frame'. Save/Reload, no change
observed.

7. Create another shape and add to existing group. This enlarged group will
still be anchored to 'Frame'.

8. Save/Reload. Observe the newly extended group has vanished, including from
Style Inspector.


Version Information
-------------------
Version: 7.5.1.2 (X86_64) / LibreOffice Community
Build ID: 50(Build:2)
CPU threads: 2; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-GB
Ubuntu package version: 4:7.5.1~rc2-0ubuntu0.22.04.1~lo1
Calc: threaded

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

Reply via email to