Bug 152202 - Copypaste adds extra space in front of word
Summary: Copypaste adds extra space in front of word
Status: RESOLVED DUPLICATE of bug 81855
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.3.2 release
Hardware: x86 (IA32) Windows (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-24 14:12 UTC by robert.be.johansson
Modified: 2024-11-06 10:14 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example of added space (68.28 KB, image/jpeg)
2022-11-24 14:16 UTC, robert.be.johansson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description robert.be.johansson 2022-11-24 14:12:24 UTC
Description:
Copypasting a word adds an additional space

Steps to Reproduce:
1. In a Writer document, type three words each separated by a tab
2. Select and copy the second word
3. Select the third word and paste

Actual Results:
The third word is replaced by the second word (intended), but with an added space in front (unintended)

Expected Results:
Word is pasted without any added space in front of it


Reproducible: Always


User Profile Reset: No

Additional Info:
Only seems to happen when pasting at the end of a sentence?
Comment 1 robert.be.johansson 2022-11-24 14:16:57 UTC
Created attachment 183755 [details]
Example of added space

When copypasting a word from row 1 to row 2, an extra space is added (upper arrow)
When copypasting a word from row 2 to row 1, an extra space is not added (lower arrow)
Comment 2 LeroyG 2022-11-24 19:51:15 UTC
Someone wants the added space/s, some other wants no added space/s.
Maybe we need an option that can be unchecked in Tools - Options - Writer - Formatting Aids.

Related question:
https://ask.libreoffice.org/t/copypaste-adds-unwanted-extra-space-in-front-of-word/84446

Reproducible with:

Version: 7.3.7.2 (x64) / LibreOffice Community
Build ID: e114eadc50a9ff8d8c8a0567d6da8f454beeb84f
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: es-MX (es_ES); UI: en-US
Calc: CL
Comment 3 Dieter 2022-11-24 21:09:22 UTC
(In reply to robert.be.johansson from comment #0)
I confirm it with
Version: 7.4.3.2 (x64) / LibreOffice Community
Build ID: 1048a8393ae2eeec98dff31b5c133c5f1d08b890
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

But for me it's the expected result, if a word is separated by a space from another word. Hope you agree.

> Additional Info:
> Only seems to happen when pasting at the end of a sentence?
This is bug 112011 => Duplicate

*** This bug has been marked as a duplicate of bug 112011 ***
Comment 4 Mike Kaganski 2024-11-06 10:14:40 UTC

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