After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 523873 - Curves tool does not really remember curve type between uses
Curves tool does not really remember curve type between uses
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Tools
2.4.x
Other All
: Normal trivial
: 2.4
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2008-03-22 16:10 UTC by quazgar
Modified: 2008-10-30 20:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description quazgar 2008-03-22 16:10:10 UTC
The Curve tool does only partly remember when the curve type was set to Freehand instead of Smooth.  The "Freehand" button looks pressed, but when editing the curve it becomes appearant that "smooth" is being used.

Steps to reproduce:
1. Open/create image
2. Use Curves tool
2a. Set mode to Freehand
2b. Edit the curve
2c. Press OK
3. Use Curves tool again
3a. The "Freehand" button appears to be pressed.
3b. click onto the curve panel

Expected result:
 Clicking onto the curve panel should edit the curve according to Freehand mode.

Actual result:
 The curve is edited in Smooth mode.

Notes:
- Dragging the curve in 3b behaves like it had been always in Smooth mode (only one node).
- Once the "Smooth" button is pressed however, the current curve is fitted with 7 nodes. 

In SVN, the mode does not seem to be remembered at all.
Comment 1 Sven Neumann 2008-03-22 17:53:01 UTC
The mode is never remembered because curves are not stored in freehand mode. There's always a smoothened version stored. Freehand is only a way to enter a curve, not to store it. What you are reporting seems to be a minor glitch in the user interface. The Smooth curve type should always be selected when the tool is started.
Comment 2 Sven Neumann 2008-03-22 18:13:42 UTC
2008-03-22  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpcurvestool.c (gimp_curves_tool_initialize): set
	the curve type to the type of the initial curve, which is SMOOTH.
	Fixes bug #523873.