Issue 61727 - Applied custom made gradient fills get lost after re-opening document
Summary: Applied custom made gradient fills get lost after re-opening document
Status: CONFIRMED
Alias: None
Product: Draw
Classification: Application
Component: open-import (show other issues)
Version: OOo 2.0.1
Hardware: PC Windows 2000
: P3 Trivial (vote)
Target Milestone: AOO Later
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-07 09:43 UTC by rob2
Modified: 2017-05-20 11:31 UTC (History)
1 user (show)

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


Attachments
Test file, showing a box with the lost gradient and an original converted to metafile (how it should look like). (10.67 KB, application/vnd.sun.xml.draw)
2006-02-07 09:45 UTC, rob2
no flags Details
The template file which the new drawing was derived from. (9.59 KB, application/vnd.sun.xml.draw)
2006-02-07 09:46 UTC, rob2
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description rob2 2006-02-07 09:43:09 UTC
I create a new drawing from a template file, and draw e.g. a rectangle. To the
rectangle I apply a gradient fill that I created *without entering a custom name*. 
(That means, I leave the default name offered in the input box, saying something
like "Farbverlauf 7" - I use the german version). I close the document and
re-open it, and: The box has lost the applied gradient fill, instead it uses the
_first_ gradient in the drop down list. But: this is shown in the drop down list
as a duplicate entry _at_the_very_bottom_, displayed in a manner like "[Gradient
7]" - now written in english!
I was able to reproduce this behaviour. 
Interesting: If you enter a custom name for your newly created gradient fill it
works as it should.

Hope, that helps!
Best Regards!
Comment 1 rob2 2006-02-07 09:45:15 UTC
Created attachment 33906 [details]
Test file, showing a box with the lost gradient and an original converted to metafile (how it should look like).
Comment 2 rob2 2006-02-07 09:46:56 UTC
Created attachment 33907 [details]
The template file which the new drawing was derived from.
Comment 3 wolframgarten 2006-02-07 10:05:12 UTC
Please have a look if we do the same thing:
1 open a new draw
2 insert a recangle, select it.
3 Open the area dialog
4 Select gradients tabpage
5 Customize the default gradient, change the colors.
6 Click Add-button.
7 Click ok, leave the default name.
8 Clcik ok to close the area dialog.
9 Save the file. Close it, reopen it: the rectangle has the default gradient 1.
Is that ok? But with that follow up I cannot reproduce the problem.
Comment 4 rob2 2006-02-08 08:17:05 UTC
This is not exactyl the same, but you are right: following your steps I cannot
reproduce the problem, too. The decisive difference may have to do something
with the attached template file (id 33907). Please try this:

1 Save the attachment 33907 [details] (D33_zeichnung.odt) to your pc.
2 Create a new drawing from this template.
3 insert a recangle, select it.
4 Open the area dialog
5 Select gradients tabpage
6 Customize the default gradient, change the colors.
7 Click Add-button.
8 Click ok, leave the default name (at my pc it is "Farbverlauf n", in german, n
beeing an automatically incremented number).
9 Click ok to close the area dialog.
10 Save the file. Close it, reopen it.
11 Select the rectangle. Have a look at the area fill dropdown list.

I retried these step just before with this result:
a) The area fill dropdown list still shows the created area fill "Farbverlauf n"
b) The area fill dropdown list shows one more entry "[Gradient n]".
c) The area fill dropdown list shows "[Gradient n]" as applied fill for the
rectangle. But this should be "Farbverlauf n".
d) What is new (and weird): yesterday "[Gradient n]" was exactly the same like
the first gradient style in the list. Today "[Gradient n]" looks like
"Farbverlauf n". 

The behaviour seems to have a constant aspect and another varying one:
a) constant: A new gradient is created if I leave the default name, now named in
English. (Can this have something to do with the choosen language of the
installation, German?)
b) varying are the properties of the new gradient. They seem to depend on
something else. 
(Sorry, this is rather speculative, but it is what the instinct says).
Comment 5 wolframgarten 2006-02-08 10:10:41 UTC
The wrong wording "gradient in a german version is reproducible but not the loss
of the custom gradient..
Comment 6 Marcus 2017-05-20 11:31:34 UTC
Reset assigne to the default "issues@openoffice.apache.org".