Issue 125681 - spurious style number in copyPaste
Summary: spurious style number in copyPaste
Status: CLOSED DUPLICATE of issue 63827
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: 4.1.1
Hardware: All All
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-26 19:58 UTC by TAB
Modified: 2019-05-11 15:33 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
contains string to copy (9.34 KB, application/vnd.oasis.opendocument.text)
2014-09-26 19:58 UTC, TAB
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description TAB 2014-09-26 19:58:33 UTC
Created attachment 83994 [details]
contains string to copy

Open copyPaste.odt; select 'def', hit ^c to copy it to the clipboard.
Open a plain-text file, paste (^v) into it: get '□0: def'; the '□0: ' is spurious. (I know where it originates, but it's still unexpected.)
	If you try to insert a bookmark and hit ^v to call it 'def', you get a message saying the colon (in '□0: def') îs illegal.
	PasteSpecial(^$V) does not work to insert a bookmark; in the search window (^f), it jumps out and inserts in the text. There, the number is stripped in HTML mode --what I wanted, but not where I wanted. tricky!
Comment 1 Stephanie Galbo 2014-10-08 03:38:53 UTC
This is a potential duplicate of https://issues.apache.org/ooo/show_bug.cgi?id=63827.

I downloaded the attached document and performed the following steps in OO 4.1.1 on Windows 7:

1. Selected “def” and hit ctrl+C to copy
2. Insert -> Bookmark...
3. In the title box, hit ctrl+V to paste

Expected: The text “def” appears in the text box
Actual: An error message appears “The following characters are not valid and have been removed: .”

Pasting elsewhere in the document seems to work correctly (with only the “def” being pasted), but it malfunctions in many other cases. Attempting to paste “def” into other places, such as the Find Text field or if you open a new OO document, results in the numbered style being pasted as well. Pasting into Word, Text Pad or even a browser to perform searches also results in the numbered style being pasted as well. 

This bug can also be replicated by performing the following steps in a new OO document:

1. Type “This is a test”
2. Turn numbering on by clicking the button in the toolbar or hitting F12
3. Select “test” and hit Ctrl+C
4. Paste into the destination of your choosing (Find Text, new Writer document, MS Word, Textpad, Notepad, Google Chrome, etc)

Copied text from a numbered list should not include the number as well. This makes it difficult to use OO Writer with other applications.
Comment 2 oooforum (fr) 2019-05-11 15:33:32 UTC
According to comment 1

*** This issue has been marked as a duplicate of issue 63827 ***