Created attachment 161427 [details] Writer doc. showing problem with area gradient dialog Version: 6.4.4.2 (x64) Build ID: 3d775be2011f3886db32dfd395a6a6d1ca2630ff CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win; Locale: en-GB (en_GB); UI-Language: en-GB Calc: threaded 1. Open the attached document. Notice the background pattern created in the Gradient section of Page Style > Area. The important thing is that the "Increment" value was previously set to 7. 2. Open "Page style > Area > Gradient" and check the "Increment" value. EXPECTED RESULT: Should be "7", and the "Automatic" box should be UNCHECKED. ACTUAL RESULT: The "Automatic" box is checked and the value has returned to the default of "64". The graphical thumbnail also reflects this incorrect figure. 3. Untick "Automatic", reset the "Increment" value to 7 and exit. Then close the file. 4. Open the file and inspect "Page style > Area > Gradient" again. RESULT: The same problem has recurred. The underlying setting is correct but the DISPLAY is not.
On pc Debian x86-64 with master sources updated today, I could reproduce this. Regina: trying to save different values related to gradient in the file and unzipping it, I noticed there were no attribute concerning increment. Indeed, styles.xml contains this line: <draw:gradient draw:name="Gradient_20_4" draw:display-name="Gradient 4" draw:style="rectangular" draw:cx="76%" draw:cy="77%" draw:start-color="#ffd7d7" draw:end-color="#b4c7dc" draw:start-intensity="95%" draw:end-intensity="90%" draw:angle="34deg" draw:border="35%" /> Is "increment" attribute a kind of extension to ODF?
(In reply to Julien Nabet from comment #1) > On pc Debian x86-64 with master sources updated today, I could reproduce > this. > > Regina: trying to save different values related to gradient in the file and > unzipping it, I noticed there were no attribute concerning increment. > Indeed, styles.xml contains this line: > <draw:gradient draw:name="Gradient_20_4" draw:display-name="Gradient 4" > draw:style="rectangular" draw:cx="76%" draw:cy="77%" > draw:start-color="#ffd7d7" draw:end-color="#b4c7dc" > draw:start-intensity="95%" draw:end-intensity="90%" draw:angle="34deg" > draw:border="35%" /> > > Is "increment" attribute a kind of extension to ODF? No, it is ODF. But "increment" does not belong to the gradient definition in <draw:gradient>, but it is a property of the object itself. Therefore it is in the automatic-style of the object in the attribute draw:gradient-step-count. For a page you get in LO7.0 (ODF 1.3) for example: <style:drawing-page-properties draw:fill="gradient" draw:fill-gradient-name="yellow2blue30deg" draw:gradient-step-count="7" draw:background-size="full"/> LO6 is faulty in writing gradients for pages. The error here is, that the dialog does not mirror the values of the master-page, if it opens for a page. It does mirror the value if it is opened on shapes.
I didn't really read all, but looks duplicate. Please explain if not. *** This bug has been marked as a duplicate of bug 107787 ***