Issue 117634

Summary: style is not preserved when I copy a object with style from a document to another document.
Product: Draw Reporter: himajin100000 <himajin100000>
Component: formattingAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Normal    
Priority: P3 CC: Armin.Le.Grand, hdu, issues, mark
Version: OOo 3.3 RC10   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description himajin100000 2011-03-31 19:39:48 UTC
1.Run OpenOffice.org
2.File->New->Drawing (Untitled 1)
3.File->New->Drawing again in draw.(Untitled 2)
4.Format->Styles and Formatting on Untitled 1 to show the "Styles and Formatting" window.
5.Format->Styles and Formatting on Untitled 2 document to show the "Styles and Formatting" window.
6.on Untitled1, select "Styles and Formatting" window, right click, and select "new"
7.on "Graphics Styles" window, select "Area" tab 
8.select "Dark violet" 
9.select "OK"
10.you will see "Untitled1" style in "Styles and Formatting" window
11 select Rectangle from the drawing toolbar, and place a rectangle on to the Untitled1 document
12. with the rectangle on step 12 selected, apply "Untitled1" style via "Styles and Formatting"
13. with the rectangle on step 12 selected,right click, and select copy
14. select "Untitled 2" window
15. right click
16. paste
17. close the two document



Actual Result:
step 16
on Untitled 2,
"Styles and Formatting" window does not have "Untitled1" style.
"Untitled1" style is not applied to the pasted rectangle 

step 17
crash.

Expected Result:
step 16
on Untitled 2, 
"Styles and Formatting" window should have "Untitled1" style.
"Untitled1" style should be applied to the pasted rectangle 

step 17.
no crash
Comment 1 alkaatibu 2011-10-03 00:13:08 UTC
I'd like to confirm this bug, which did not seem to exist prior to version 3.3. Here is another way to reproduce.

1. Download http://www.lautman.net/mark/coo/Basic_Network_Shapes.odg and open the file in OO Draw.
2. Select the Tape Drive. (Note the tape drive has style "MintGray.")
3. File > New > Drawing.
4. Into the new drawing, paste (Ctrl V).
Pasted shape does not look like original shape; the style is "Default." 

The initiator reported this bug on Windows XP. I reproduced it on Xubuntu using LibreOffice 3.3.3 OOO330m19 (Build:301).
Comment 2 hdu@apache.org 2011-10-04 12:18:35 UTC
Confirmed recipe of comment 1 with AOOo build as of 2011/10/04 on Win and Linux.
Comment 3 Armin Le Grand 2012-02-09 17:33:00 UTC
ALG: Probably double to #118772#
Comment 4 Oliver-Rainer Wittmann 2012-06-13 12:26:59 UTC
getting rid of value "enhancement" for field "severity".
For enhancement the field "issue type" shall be used.