Issue 17815 - Gradient fill is changed on loading
Summary: Gradient fill is changed on loading
Status: ACCEPTED
Alias: None
Product: Draw
Classification: Application
Component: ui (show other issues)
Version: OOo 1.1 RC2
Hardware: PC Windows 2000
: P3 Trivial (vote)
Target Milestone: AOO Later
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
: 29202 (view as issue list)
Depends on:
Blocks:
 
Reported: 2003-08-03 16:31 UTC by fkereki
Modified: 2017-05-20 11:30 UTC (History)
1 user (show)

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


Attachments
Drawing file (8.98 KB, application/octet-stream)
2003-08-03 16:32 UTC, fkereki
no flags Details
STANDARD.SOG, as required (4.66 KB, application/octet-stream)
2003-08-07 13:42 UTC, fkereki
no flags Details
also wrong gradient on load (63.50 KB, application/vnd.sun.xml.impress)
2004-06-08 13:33 UTC, clippka
no flags Details
same problem also in the xml version (7.52 KB, application/vnd.sun.xml.impress)
2004-06-08 13:33 UTC, clippka
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description fkereki 2003-08-03 16:31:42 UTC
When you load the attached file, two boxes show in a different color than when 
saved.

To view the error:
   * open the file
   * see the two blackish boxes, with red arrows pointing to them
   * click on any of those boxes
   * the format bar shows that they should rather be "GRADIENT 7"

I tried many times re-coloring the boxes, saving the file to disk, and opening 
it again, but the result is always the same: those two boxes change color, and I 
cannot find any reason.
Comment 1 fkereki 2003-08-03 16:32:34 UTC
Created attachment 8232 [details]
Drawing file
Comment 2 wolframgarten 2003-08-05 09:20:30 UTC
The filling of those two boxes is displayed as "[Gradient 7]". The
brackets are visible because this used to be a gradient but it was
deleted from the list in the area/gradient dialog. Now only the
objects with this special filling still have it but the filling cannot
be applied to new objects.
What are you exactly doing when trying to recolor the boxes? Thanks in
advance.
Comment 3 fkereki 2003-08-06 02:20:11 UTC
I wasn't doing anything special -- and I only tried to recolor the
boxes after I found they had changed color.
As to the deleted gradient, I didn't delete it -- or at least, I
didn't do it on purpose!  As a matter of fact, I had to invent a few
different gradients -- one for the blue rectangles, another for the
green ones, and I think there was a fourth one.
Comment 4 wolframgarten 2003-08-06 07:47:10 UTC
Sorry for not being exact enough:
when I open the document I can see the two boxes with a black to white
gradient filling which is named [Gradient7] in the area drop down box.
When I select one of the boxes and change the fillin to another color
or gradient this is easy done. No problems. Doesn't this work on your
side? Are you using the drop down boxes in the object bar or are you
using context menu/area for changes? Thanks for your help.
Comment 5 fkereki 2003-08-07 00:45:20 UTC
There are some important (I guess) differences with what happens in my
machine. 

When I open the drawing (and no box is selected) the fill combo shows
"Blue 7". When I click on one of the two black-to-white boxes, the
drop down changes to "Gradient 7" --*without* the brackets-- and
correctly colored green. However, the box is still black-to-white. 

If I use the drop down list to re-color the boxes, they change to the
green gradient, but after saving the file and quitting the program,
when I open the drawing again, the boxes are black-to-white again.

To sum it up: the box is black-to-white horizontal gradient, but when
selected, the fill drop down shows it to be "Gradient 7", which is a
green-to-dark-green diagonal gradient -- there is no agreement between
 them. Changing the box to the correct color and saving the file
doesn't fix the problem -- the box is back to the (wrong) fill the
next time.

Hope I managed to be clearer!

Other boxes were colored "Gradient 8" (orange-to-brown) and "Gradient
9" (light-blue-to-blue) and those do show up correctly. I always use
the drop down list to pick colors.
Comment 6 wolframgarten 2003-08-07 08:19:05 UTC
Thanks for the explicit description. But sadly I cannot reproduce the
problem. When opening the posted file the boxes have a black to white
gradient and this is indicated as [Gradient7]. Changing the gradient
is no problem and it stays after saving the file. Since you have only
problems with Gradient 7 (all fillings for the other boxes work well)
it seems something went wrong when you defined Gradient 7. What about
deleting the Gradient 7 entry in the area dialog and defining it new?
The last idea from my side would be to attach the gradient list file
user/config/standard.sog to see if something is wrong there. Thank you
for your helping so far.
Comment 7 fkereki 2003-08-07 13:42:19 UTC
Created attachment 8303 [details]
STANDARD.SOG, as required
Comment 8 fkereki 2003-08-07 13:43:02 UTC
Here is the STANDARD.SOG file; I'll try later deleting/re-creating the
gradient.
Comment 9 fkereki 2003-08-07 13:49:47 UTC
I tried deleting "Gradient 7", re-creating it... and now a "[Gradient
10]" appears, which I cannot delete. The gradient doesn't show up when
I right-click AREA and then GRADIENTS.
Comment 10 wolframgarten 2003-08-07 14:16:42 UTC
Set to new.
Comment 11 wolframgarten 2003-08-07 14:18:58 UTC
Thanks for posting the file. Now I can reproduce the mistake.
Reassigned to Armin. How to reproduce:
Load the bugdoc and then load the sog file. Change one of the boxes to
(green) Gradient 7 and save the file. Reload: the box has a black
gradient again.
Comment 12 Armin Le Grand 2003-09-12 15:38:18 UTC
AW->CL: Looking into the user's standard.sog shows that there is
indeed a 'Gradient 7'. In a current version after loading the file
tareas.sxd indeed the gradients are loaded, thus "Gradient 7",
"Gradient 8" and "Gradient 9" are indeed defined, but not used. In
content.xml there are 2 references to 'gradient 7' which seem not to
be solved on load time. Maybe standard.sog needs to be loaded before
importing a user file when the user has added the gradients to the the
*.sog file? Is this done?
Comment 13 Armin Le Grand 2003-09-12 15:57:12 UTC
AW: Reassigned to cl
Comment 14 clippka 2003-09-29 13:03:46 UTC
will have a look
Comment 15 clippka 2004-06-08 13:33:19 UTC
Created attachment 15737 [details]
also wrong gradient on load
Comment 16 clippka 2004-06-08 13:33:43 UTC
Created attachment 15738 [details]
same problem also in the xml version
Comment 17 clippka 2004-06-08 13:34:20 UTC
attached files from duplicate issue 29202
Comment 18 ooo 2004-06-21 09:29:31 UTC
retargeted due to lack of resources
Comment 19 christian.guenther 2004-07-15 17:21:32 UTC
*** Issue 29202 has been marked as a duplicate of this issue. ***
Comment 20 christian.guenther 2004-08-24 10:52:59 UTC
Please have also a look to issue 29202.
It's duplicate to this one.
Comment 21 Marcus 2017-05-20 11:30:08 UTC
Reset assigne to the default "issues@openoffice.apache.org".