Issue 112687 - user defined graphics styles are not inserted when inserting other file
Summary: user defined graphics styles are not inserted when inserting other file
Status: CONFIRMED
Alias: None
Product: Draw
Classification: Application
Component: code (show other issues)
Version: OOo 3.2.1
Hardware: PC All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-25 12:03 UTC by julisys
Modified: 2017-05-20 10:48 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description julisys 2010-06-25 12:03:54 UTC
When inserting other draw documents, the graphics styles are not inserted. The
same problem appears in impress.

To reproduce the error follow these steps:

- open new draw document
- draw a rectangle on the page
- press F2 while rectangle is selected and type "Text"
- select "x" in "Text" and set font size to 96
- press F11 to open "Style and Formatting"
- create a new graphics style "test" with area color red and font size 40
- assign the graphics style to the rectangle
- save file
- open a new draw document
- via menu: "Insert | File..."

expected result (verified in OOo 3.1.1):
- a page with a red rectangle is loaded
- text has font size 40 ("x" has size 96)
- the graphics styles contain the style "test"

actual result in OOo 3.2.1:
- a page with a blue rectangle is loaded
- text has not size 40 ("x" has size 96, since not defined in style)
- the graphics styles does not contain the style "test"
Comment 1 Joost Andrae 2010-06-25 16:04:01 UTC
The behavior is absolutely correct. Styles are document based. If you want to
transfer a style from one to another document then you can drag&drop the style
by using the dialog at menu item /file/templates/organize. Within that dialog
just switch the view to show to 'documents' and double click onto the documents
shown eg. MySavedDocument vs. Untiteled2 and then double click onto the 'Styles'
to show all custom styles within that document. Whilst dragging one style to the
other document press the Ctrl key to switch to copy mode. Afterwards both
doocuments contain that style.

Resolving issue as 'worksforme'
Comment 2 Joost Andrae 2010-06-25 16:04:21 UTC
closing issue
Comment 3 julisys 2010-06-25 16:36:58 UTC
OOo worked as expected until 3.1.1 (I think even until 3.2.0).
In 3.2.1 the behavior was changed.

When I insert an other document I expect the objects to appear as designed in
the other document. Due to the new behavior I have to find the mentioned dialog
(I finally found it, cause you told me how to find it), do dragging and dropping
(in my tests handle several OOo crashes ;-), afterwards I have to reassign the
inserted objects to their style (since I forgot to transfer the styles before
importing the file).

You don't really want to tell me that this is user friendly...
Comment 4 jbf.faure 2010-09-14 05:27:33 UTC
Hi ja,

I do not understand: the styles of the inserted file is part of this file so, if
styles are document based, they should be added to the receiver file as the
other objects from the inserted file.


Kind regards. JBF
Comment 5 wolframgarten 2010-09-15 14:03:23 UTC
This has changed since 3.0 so I think this is a bug, too. Reproducible. Reassigned.
Comment 6 clippka 2010-09-16 11:01:53 UTC
adapted summary
Comment 7 py_samyn 2010-09-23 06:55:24 UTC
Hello

ja wrote : 
"Styles are document based. If you want to transfer a style from one to another
document then you can drag&drop the style by using the dialog at menu
item/file/templates/organize."

I do not agree...

With versions prior to 3.2.1 (Verified ok in 1.1.5, 2.4.2 and 3.1.1) the copy of
a shape of a document to another copy of the customed style associated with this
form.

If the style did not exist in the document recipient, it was created. This is
not the case with this 3.2.1

Nota : 
- same default with the 330m8(Build:9527) 
- Here there is something more "trivial": a simple copy and paste of an object
(not when inserting a file).

Recall that:

- This worked until 3.2.1 ... and
- It *always * works in 3.2.1 for the other modules (writer, calc... the pasting
of a paragraph formatted with a custom style keeps this style for instance).
- According to me, another hint of malfunction : if you copy the style before
pasting, the pasted object keeps the style (it is not obligated to reassign).

Best regards
Comment 8 julisys 2011-04-13 12:03:59 UTC
Will this error be fixed in 3.4?
Comment 9 clippka 2011-04-13 18:10:19 UTC
No 3.4 is already in showstopper mode.

But this is something that fits in the theme of the currently planned feature to have a better user interface to merge presentation. Even if the focus will be impress, the implementation is the same so also draw should benefit from changes in that area.

cl->fs: please keep this issue in mind when you start working on said feature.
Comment 10 Frank Schönheit 2011-04-18 08:32:04 UTC
cc'ing Chris, as he's the UX guy for the "Merge Slides" thingie.
@clu: Please see the previous comment ...
Comment 11 Marcus 2017-05-20 10:48:12 UTC
Reset assigne to the default "issues@openoffice.apache.org".