Gradient has an option to automatically determine the number of steps between the two colors. Users can override this option and set, for instance, a small number of steps. Adding the manual configuration as a new preset (as well as modified an existing) works for all properties except the automatic checkbox, which is always on.
In area dialog go to gradient.
Select black and white for the two colors
Uncheck 'automatic' and decrease the number to 8
Add this setting as a new preset
Switch to another preset
Loading the preset has automatic always enabled
Build ID: 5.3.0-2
CPU Threads: 8; OS Version: Linux 4.9; UI Render: default; VCL: kde4; Layout Engine: new;
Locale: de-DE (en_US.UTF-8); Calc: group
skill<foo>, difficulty<foo>, code pointers
Arch Linux 64-bit, KDE Plasma 5
Build ID: 7ec0500e20cf273d70c4fbddb4063b8f8295307c
CPU Threads: 8; OS Version: Linux 4.9; UI Render: default; VCL: kde4;
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on February 18th 2016
This is a GSoC-friendly hack.
The code is in cui/source/tabpages/tpgradnt.cxx.
The meat is in ChangeGradientHdl_Impl function. Put a breakpoint into it and find out why is the checkbox (m_pCbIncrement) always set to checked/true.
A polite ping, still working on this bug
(In reply to jani from comment #4)
> A polite ping, still working on this bug
Reverting status to NEW, due to other engagement.
pv2k committed a patch related to this issue.
It has been pushed to "master":
tdf#105966 Solved Increment:Automatic checkbox problem in Area->Gradient tab
It will be available in 6.0.0.
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.