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: 2023-04-20 14:17 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