Bug 125175 - Copied text adds extra spaces
Summary: Copied text adds extra spaces
Status: RESOLVED DUPLICATE of bug 112011
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.2.2.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Paste
  Show dependency treegraph
 
Reported: 2019-05-08 15:49 UTC by david.cortes.rivera
Modified: 2019-05-13 13:01 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 david.cortes.rivera 2019-05-08 15:49:40 UTC
Steps to reproduce:
* Launch LO Writer.
* Write some words on it.
* Select a word.
* Paste the word elsewhere.

Expected behavior: should paste the word as it was selected.

Actual behavior: adds an extra space at the beginning of the pasted word.

Reproducible: always.
Comment 1 Dieter 2019-05-12 18:55:40 UTC
I think it's a duplicate of bug 112011.

*** This bug has been marked as a duplicate of bug 112011 ***
Comment 2 david.cortes.rivera 2019-05-12 19:00:07 UTC
(In reply to Dieter Praas from comment #1)
> I think it's a duplicate of bug 112011.
> 
> *** This bug has been marked as a duplicate of bug 112011 ***

I'm not entirely sure if it's caused due to the same underlying issue, but my problem is that it adds whitespace at the beginning, and this whitespace is added when copied **outside** of LibreOffice. It also occurs with text copied from any position in the paragraph.
Comment 3 Dieter 2019-05-13 11:45:53 UTC
Results from testing:

paste word
a) in an empty paragraph => no additional space
b) at the end of a paragraph => adds always an additional space => see bug 112011
c) within a paragraph and directly before or after a word => adds always a additional space (that is what I expect => no bug)
b) within a paragraph and separated by a space before or after => no additional space is added => no bug

If there is also a problem with pasting text outside LO, you should perhaps open a new bug report for this topic.
Comment 4 david.cortes.rivera 2019-05-13 13:01:05 UTC
(In reply to Dieter Praas from comment #3)
> Results from testing:
> 
> paste word
> a) in an empty paragraph => no additional space
> b) at the end of a paragraph => adds always an additional space => see bug
> 112011
> c) within a paragraph and directly before or after a word => adds always a
> additional space (that is what I expect => no bug)
> b) within a paragraph and separated by a space before or after => no
> additional space is added => no bug
> 
> If there is also a problem with pasting text outside LO, you should perhaps
> open a new bug report for this topic.

Opened a new report highlighting that the problem is when text is pasted outside of LO: https://bugs.documentfoundation.org/show_bug.cgi?id=125262