Bug 154748 - Copy&paste creates "List Style Name" paragraph direct formatting attribute
Summary: Copy&paste creates "List Style Name" paragraph direct formatting attribute
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.4.6.2 release
Hardware: x86-64 (AMD64) All
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Paste Bullet-Number-Outline-Lists
  Show dependency treegraph
 
Reported: 2023-04-10 19:55 UTC by Tyler
Modified: 2025-04-20 03:15 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot of style inspector (43.95 KB, image/png)
2023-04-13 12:48 UTC, Buovjaga
Details
List1 para before copy. The selected text "bbb " will be copied. (121.83 KB, image/png)
2023-04-15 21:46 UTC, Tyler
Details
List1 para after copy. The green text "bbb " has been copied. (115.29 KB, image/png)
2023-04-15 21:47 UTC, Tyler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tyler 2023-04-10 19:55:41 UTC
Version: 7.4.6.2 / LibreOffice Community
Build ID: 5b1f5509c2decdade7fda905e3e1429a67acd63d
CPU threads: 16; OS: Linux 5.10; UI render: default; VCL: kf5 (cairo+xcb)
Locale: de-DE (de_DE.UTF-8); UI: en-US
Calc: threaded

(Possibly related to bug142190 and bug108868)

How to reproduce:

* libreoffice7.4 --safe-mode --writer
* Choose "Continue with safe mode"
* Open the style inspector
* Set the "list style" attribute in the builtin "List 1" paragraph style
* Write a few words, style that paragraph using "List 1"
  (style inspector shows "list style name" under "paragraph styles",
   as expected)
* Copy & paste some text inside that paragraph

The style inspector now shows "list style name" under "paragraph direct formatting". Furthermore, "Format-->Clear direct formatting" has no effect, that is, it doesn't clear the "list style name" attribute.
Comment 1 Buovjaga 2023-04-13 12:48:00 UTC
Created attachment 186637 [details]
Screenshot of style inspector

I don't seem to reproduce this. The screenshot shows the status for the pasted paragraph. I deleted the original paragraph to make it clear.

Can you confirm this is OK?

Arch Linux 64-bit, X11
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 9470fca71139f9e439ce61b4c93dd33022c2cc6d
CPU threads: 8; OS: Linux 6.2; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 13 April 2023
Comment 2 Tyler 2023-04-15 21:46:11 UTC
Created attachment 186694 [details]
List1 para before copy. The selected text "bbb " will be copied.
Comment 3 Tyler 2023-04-15 21:47:03 UTC
Created attachment 186695 [details]
List1 para after copy. The green text "bbb " has been copied.
Comment 4 Tyler 2023-04-15 21:53:26 UTC
Nah, you're doing it wrong :)

I copy text *within* the paragraph, not the whole paragraph.
The first "bbb " is the original (copy source), the second "bbb " is the copy, marked green in the "after" screenshot.
Comment 5 Buovjaga 2023-04-20 14:17:30 UTC
Repro

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 68912948e376ce0b080a0d2a76dd9d951f8bcdf6
CPU threads: 8; OS: Linux 6.2; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 3ec73488e447a693a14a773a7fb96938036c0324
CPU threads: 2; OS: Windows 10.0 Build 22621; UI render: default; VCL: win
Locale: en-US (en_FI); UI: en-US
Calc: threaded
Comment 6 QA Administrators 2025-04-20 03:15:08 UTC
Dear Tyler,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug