Apache OpenOffice (AOO) Bugzilla – Issue 32500
Paste doesn't copy attribtues properly
Last modified: 2013-08-07 14:38:26 UTC
To reproduce, do this: 1) new document 2) type in the following text: ab c d 3) mark the 'b' with color red 4) select all text and copy 5) new document 6) paste into new document -> OK 7) select text in new document, paste again -> 'd' has wrong color
Because of a shortage of resources we have to retarget this issue to OOo later.
A similar problem I encountered was this: 1) type ab cd 2) colour 'b' red 3) colour 'd' green 4) select the second line 'cd' and copy 5) select the first line and paste The colour of 'd' is preserved (green) but the colour of 'c' in the first line changes to red. Could someone also look at issue 69958 and see if it's a duplicate of this one?
I was able to successfully reproduce this bug (both descriptions listed above). My configuration: OS: Windows XP Home Edition 2002 SP2 Machine: AMD Sempron 3000+ (1.58 GHz, 1.18 GB RAM) OpenOffice: v2.3.1 Here is a more detailed sequence of steps for the first description: 1. Open a new document in OpenOffice Writer. Call it "doc1". 2. Type in the following text: ab c 3. Mark the 'b' with color 'red 1' (or any other color) by using the 'Font color' button on toolbar at the top. 4. Select all text by using Ctrl-A OR by going to 'Edit->Select All'. 5. Copy the text by using Ctrl-C OR by going to 'Edit->Copy'. 6. Open another new document. Call this "doc2". 7. Paste the text into the 'doc2'. 8. Everything appears the same as after step 3. 9. Select all text in 'doc2' using Ctrl-A. 10. Paste the text in 'doc2' using Ctrl-P or by going to 'Edit->Paste' 11. The 'b' appears in red colour (as expected), however, 'c' appears in red colour as well (unexpected). The sequence of steps in the second description is detailed enough. Here is a little follow-up test on the second description of the problem: 1. Open a new document in OpenOffice Writer. 2. Type in the following text: abc def 3. Mark the letters with the following colours using the 'font colour' button on the main toolbar: 'b' -> red 'c' -> yellow 'e' -> green 'f' -> blue 4. Select the second line ('def'). 5. Copy the selected text by using Ctrl-C OR by going to 'Edit->Copy'. 6. Select letters 'ab' ONLY. 7. Paste the text copied in step 5 by using Ctrl-P. 8. The letters 'defc' appear on the first line with the following colours: d->red (unexpected), e->green (expected), f->blue(expected), c->yellow (expected) 9. Press Ctrl-Z in order to UNDO the changes done in step 8. The two lines of letters appear in the same condition as right after step 3. 10. Select letters 'abc' (i.e. select all the letters in the first line) 11. Paste the text copied in step 5 by using Ctrl-P. 12. The letters 'def' appear in the first line with the following colours: d->yellow (unexpected), e->green (expected), f->blue(expected) From the above test, it appears that the colour of the last selected letter affects the colour of the first 'pasted' letter.
Here is even shorter and simpler description of the steps required to reproduce the original bug: 1. Open a new document in OpenOffice Writer. 2. Type in the following text: ab c 3. Mark the 'b' with color 'red 1' (or any other color) by using the 'Font color' button on toolbar at the top. 4. Select all text by using Ctrl-A OR by going to 'Edit->Select All'. 5. Copy the text by using Ctrl-C OR by going to 'Edit->Copy'. 6. Select all text using Ctrl-A. 7. Paste the text using Ctrl-P or by going to 'Edit->Paste' 8. The 'b' appears in red colour (as expected), however, 'c' appears in red colour as well (unexpected).
Created attachment 73634
Reset assignee on issues not touched by assignee in more than 2000 days.