Bug 165874 - Copying and pasting bolded text does not consistently paste bold face on last line
Summary: Copying and pasting bolded text does not consistently paste bold face on last...
Status: RESOLVED DUPLICATE of bug 88380
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.2.7.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-23 08:57 UTC by rjavier441
Modified: 2025-03-28 16:52 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rjavier441 2025-03-23 08:57:13 UTC
Description:
When attempting to copy-paste multi-line blocks of text, I noticed that LibreOffice Writer did not always preserve the bold-face properties of text on the last line. To illustrate with an example, let's assume in the example text below that upper-case letters represent bolded text while lower-case letters:

```
SOME BOLDED TEXT: some normal text
SOME OTHER BOLDED TEXT: some other normal text
```

Copying such text in LibreOffice Writer and pasting somewhere later would ***sometimes*** remove the bold from the last line:

```
SOME BOLDED TEXT: some normal text
some other bolded text: some other normal text
```

(the bolding is removed from the last line).

Steps to Reproduce:
1. Open a new LibreOffice Writer document.
2. Write multiple contiguous lines of text (e.g. line-after-line, no newline characters separating different lines).
3. Bold some of the characters in the last line.
4. Copy the entire block of text.
5. Paste the text somewhere after the copied text.
6. (Occasionally) Observe that the last line lost its bolding. You may need to do this repeatedly since it is not consistent.

Actual Results:
The last line of text that I pasted lost its bolding.

Expected Results:
The last line of text that I pasted should have kept its bolded characters in bold.


Reproducible: Sometimes


User Profile Reset: Yes

Additional Info:
Version: 24.2.7.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 12; OS: Linux 6.11; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Ubuntu package version: 4:24.2.7-0ubuntu0.24.04.3
Calc: threaded
Comment 1 Juan Q. 2025-03-24 00:53:39 UTC
Hello rjavier,

Thank you for reporting this bug, I was not able to reproduce using

Version: 25.2.1.2 (X86_64) / LibreOffice Community
Build ID: d3abf4aee5fd705e4a92bba33a32f40bc4e56f49
CPU threads: 12; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 1d8ff7bd62249ad0f825eaca18ea524d9d7c6c2e
CPU threads: 12; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

It seems you're using an older version of LibreOffice.
Could you please try to reproduce it with the latest version of LibreOffice
from <https://www.libreoffice.org/download/download-libreoffice/> ?
I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the bug is still present in the latest version.
Comment 2 Buovjaga 2025-03-28 16:52:49 UTC
I think we can close as duplicate of an earlier report.

*** This bug has been marked as a duplicate of bug 88380 ***