Bug 147372 - EDITING: Pasting text into the first item of a list un-itemizes that item
Summary: EDITING: Pasting text into the first item of a list un-itemizes that item
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.5.0
Keywords:
Depends on:
Blocks: PPTX-Paragraph
  Show dependency treegraph
 
Reported: 2022-02-11 10:44 UTC by Gerald Pfeifer
Modified: 2022-12-06 15:39 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample slide (PPTX) (21.12 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2022-02-11 10:44 UTC, Gerald Pfeifer
Details
Screenshot: before - after (37.37 KB, image/png)
2022-02-11 10:46 UTC, Gerald Pfeifer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerald Pfeifer 2022-02-11 10:44:59 UTC
Created attachment 178218 [details]
Sample slide (PPTX)

How to reproduce:

 1. Open sample document.
 2. Mark the word "middle" (by double clicking on it).
 3. Copy that selection (by <Ctrl><Ins>).
 4. Move the cursor in between the words "Before" and "After".
 5. Paste (by <Shift><Ins>)
 6. Observe how the first list item, the one we just pasted that into,
    is demoted, i.e., the bullet point is gone and text no longer indented.
    See attached screenshot before/after.


If I save the PPTX document as ODP and use that - the problem is gone.

If I then save that ODP as PPTX again (a full round trip) - problem is back.


Reproduced with Version: 6.4.8.0.0+
Build ID: 99b065ec31d032fc08ab14f66430dac4fef904a5
CPU threads: 8; OS: Linux 5.16; UI render: default; VCL: gtk3; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:libreoffice-6-4, Time: 2020-10-08_08:57:08

...and probably older; still in

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 703fb7739a5e604d90e147db6f67917b8d141150
CPU threads: 8; OS: Linux 5.16; UI render: default; VCL: gtk3
Comment 1 Gerald Pfeifer 2022-02-11 10:46:15 UTC
Created attachment 178219 [details]
Screenshot: before - after
Comment 2 Ezinne 2022-02-17 07:39:39 UTC
Reproducible in:

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 845e53ea13b317bd8ef4dc42cd60ea51359f34ab
CPU threads: 8; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 3 Timur 2022-03-09 11:57:08 UTC
(In reply to Gerald Pfeifer from comment #0)
> If I save the PPTX document as ODP and use that - the problem is gone.
With PPTX and PPT bullet is gone, with ODP font size changes from 20 to 18.
Comment 4 Gerald Pfeifer 2022-12-06 14:16:53 UTC
This appears fixed on trunk which is LibreOffice 7.5 right now:

  Version: 7.5.0.0.alpha1+ (X86_64) / LibreOffice Community
  Build ID: c9e961e6803a70587bd4686d05abdd4ac11de434
  CPU threads: 8; OS: Linux 6.0; UI render: default; VCL: gtk3
  Locale: en-US (en_US.UTF-8); UI: en-US

Still there on the 7.4 and 7.3 branches:

Version: 7.3.8.0.0+ / LibreOffice Community
Build ID: 0f7fb0a2decec3f8869098ae5e47ee6055545486
CPU threads: 8; OS: Linux 6.0; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US

Version: 7.4.3.0.0+ / LibreOffice Community
Build ID: f9a3adc186b31bac198d944a03a7b53dd926da23
CPU threads: 8; OS: Linux 6.0; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US

Version: 7.4.4.0.0+ / LibreOffice Community
Build ID: df6ff2392701b04bbafddb1119e1ac43cac71fae
CPU threads: 8; OS: Linux 6.0; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US


For lack of a concrete commit closing this as WORKSFORME.
Comment 5 Aron Budea 2022-12-06 15:39:46 UTC
Reverse bibisect using repo linux-64-7.5 revealed this got fixed by the following commit from Justin Luth, originally for bug 148810, thanks for that!

https://cgit.freedesktop.org/libreoffice/core/commit/?id=f7b5eefc36f6a7627e867651bafe38bdeb2f9c00
author		Justin Luth <jluth@mail.com>	2022-07-28 09:03:13 -0400
committer	Miklos Vajna <vmiklos@collabora.com>	2022-08-02 08:15:26 +0200

tdf#148810 pptx import: Depth set by EE_PARA_OUTLLEVEL