Bug 167029 - Copy&paste in lists – level and format depends on insert position
Summary: Copy&paste in lists – level and format depends on insert position
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
25.2.4.3 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Paste Bullet-Number-Outline-Lists
  Show dependency treegraph
 
Reported: 2025-06-15 14:49 UTC by Michael H
Modified: 2025-09-07 07:11 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Overview for better unterstanding (147.86 KB, application/pdf)
2025-06-15 14:49 UTC, Michael H
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael H 2025-06-15 14:49:25 UTC
Description:
When copy list paragraphs into a list in impress the outline level and the format of the paragraph changes depending on the position where the text is inserted.

When the text is inserted after the bullet in line with text the level and the format will not be changed.

When the text is inserted at the end of the line the level will changed to level which is copied. The format is kinda unclear which is not correspondig to the master slide or the copied text: This is the bug which is reported.


Additional information and thoughts:
When the text is inserted after a bullet in an empty line the level (assumption this like insertion at the end) and format will change to the text copied

I think it should work consistently to help new users of Impress and allow for an efficient workflow. When inserting text or a list paragraph into a list paragraph then the level and the format of the destination should rule even when direct formatting was used. When inserting a list paragraph into a paragraph without a list then the source text and list format should be used

Steps to Reproduce:
1. Create a new presentation with template BEEHIVE
2. Change to slide 2
3. Create an unordered list:
Text unordered, Level 1
	- Text unordered, Level 2
	- Text unordered, Level 2
	- Text unordered, Level 2
4. Copy first paragraph to the position X
	- XText unordered, Level 2
	- Text unordered, XLevel 2
	- Text unordered, Level 2X /*this is the problem line */
	-X
X

Actual Results:
Text line 3 where the insertion was made at the end of the line changed the level  (now 1) and got a new format. The font size is changed to 21pt which is assigned to level 2.

Expected Results:
Text line 3 where the insertion was made at the end of the line stays at level 2 and the format of the destination is applied to the copied text.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
for better unterstanding see attachement 1
Comment 1 Michael H 2025-06-15 14:49:52 UTC
Created attachment 201294 [details]
Overview for better unterstanding
Comment 2 Michael H 2025-06-23 09:44:51 UTC
After checking the bug again, I have improved the description for better understanding:

When copying list paragraphs from impress into a list in impress, the outline level and the format of the paragraph change depending on the position at which the paragraph is inserted.

When the text is pasted at the end of a line of text, the level is changed to the level that is copied. The format is kinda unclear as it does not match either the master slide or the copied text: This is the bug being reported with this ticket.

If the text is inserted specifically after a bullet point in a line with text, the level and format are not changed.

Additional information and thoughts:
When the text is inserted after a bullet in an empty line the level (assumption this like insertion at the end) and format will change to the text copied

I think it should work consistently to help new users of Impress and allow for an efficient workflow. When inserting text or a list paragraph into a list paragraph then the level and the format of the destination should rule even when direct formatting was used. When inserting a list paragraph into a paragraph without a list then the source text and list format should be used

Steps to Reproduce:
1. Create a new presentation with template BEEHIVE
2. Change to slide 2
3. Create an unordered list:
Text unordered, Level 1
        - Text unordered, Level 2
        - Text unordered, Level 2
        - Text unordered, Level 2
4. Copy first paragraph to the position X
        - XText unordered, Level 2
        - Text unordered, XLevel 2
        - Text unordered, Level 2X /*this is the problem line */
        -X
X

Actual Results:
Text line 3 on slide 2 where the insertion was made at the end of the line changed the level  (now 1) and got a new format. The font size is changed to 21pt which is assigned to level 2.

Expected Results:
Text line 3 on slide 2 where the insertion was made at the end of the line stays at level 2 and the format of the destination is applied to the copied text.
Reproducible: Always


User Profile Reset: Yes

Additional Info:
for better unterstanding see attachement 1
Comment 3 Balázs Varga 2025-07-14 08:09:44 UTC
Confirmed in:

Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 149ab970e9c87baa6cf081f22e8ea07c43b25c53
CPU threads: 20; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: CL threaded