Issue 62378

Summary: pasting shapes (triangles/rectangle) from one doc to another looses area style => result is invisible
Product: Impress Reporter: radekdoulik <rodo>
Component: editingAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues, mmeeks
Version: OOo 2.0.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
ooo1
none
ooo2 none

Description radekdoulik 2006-02-21 10:27:26 UTC
paste rectangle with triangles from ooo2 to ooo1. it pastes empty shapes - with
reset area style.

it doesn't happen when pasting to newly created presentation, so it must be
something broken in ooo1 (which was created by reducing/deleting complex
presentation where it first occured to make simple test case)

it happens here in m152.
Comment 1 radekdoulik 2006-02-21 10:28:02 UTC
Created attachment 34343 [details]
ooo1
Comment 2 radekdoulik 2006-02-21 10:28:31 UTC
Created attachment 34345 [details]
ooo2
Comment 3 mmeeks 2006-02-21 10:36:57 UTC
NB. ooo1 and ooo2 are not versions - but test sheets :-) this is an OO.o 2.0.2
bug (at least b1).
Comment 4 mmeeks 2006-02-23 15:24:02 UTC
It seems to be related to the Default shape style in the ooo1.odp presentation.
When I alter the default shape properties there, everything works well.

OTOH - the effect is highly non-intuitive; nor is it clear to me why anyone
would want or have set the Default shape styles to be completely invisible ;-)
Comment 5 thb 2006-02-23 16:34:59 UTC
Confirmed - this really seems to be some brokenness in ooo2. Although the shapes
appear to carry hard formatting, they _do_ listen to the default style (modify
default fill style to bitmap - all shapes in ooo2 change. keep fill style as
color, but change the actual color - the shapes keep their color. Really
strange). Accordingly, when pasted to ooo1, all shapes get fill style invisible. 
Thus, the real brokenness should be in ooo2, AFAICT.

@cl: please have a look
Comment 6 thb 2006-02-23 16:36:09 UTC
Set a (preliminary) target.
Comment 7 clippka 2006-06-20 16:46:07 UTC
changing target
Comment 8 clippka 2007-01-05 13:25:39 UTC
there is no but here, works as expected. If you change your fill and line style
to invisible, then this is what you obviously wanted? If you changed the default
style by error, thats nothing OOo can detect. And please not again a discussion
like "but using foo with blup and bar with blip is obviously a user error!"

Rule 1 of OOo coding club, there is no magic that works
Rule 2 of OOo coding club, the user is always right

To go into technical details, the shapes in OOo2 all have a fill color hard set,
but not a fill style. Why is this usefull? Well you could create template shapes
that have a nice color, a nice hatch, a nice gradiend and also a nice bitmap
filling set at the same time. Which one is used can then be choosen by the style.

cl->cgu: please verify and close
Comment 9 christian.guenther 2007-01-08 10:42:59 UTC
In my mind this is an enhancement.
When we copy/paste objects from one document to another we should check if the
style of the object already exists. When the style already exists we should
compare if the styles are identical or different and when the styles are
different we should open a dialog if the user like to keep the style of the
object (now the area fillings, linestyles, ... are hard formated because they
are different to the style in the document) or if he want to assign the style
from the new (target) document or if he want to overwrite the style in the
target document with the old style (from the source document).