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 125306 - Linear histogram in Levels tool
Linear histogram in Levels tool
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Tools
git master
Other All
: Normal enhancement
: ---
Assigned To: GIMP Bugs
GIMP Bugs
: 72951 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-10-23 14:19 UTC by Jack Zagaja
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Jack Zagaja 2003-10-23 14:19:33 UTC
Linear histogram in Levels would be much better when adjusting white
 and black points. That is not clear why linear histogram is available
 only in histogram tool.


Regards --Jack,
Comment 1 Sven Neumann 2003-10-24 08:18:00 UTC
The following change makes the histogram scale a tool option. This
means it can be set individually and this setting is saved across
sessions.

2003-10-24  Sven Neumann  <sven@gimp.org>

  * app/tools/Makefile.am
  * app/tools/gimphistogramoptions.[ch]: new tool options class
  GimpHistogramOptions, derived from GimpColorOptions.

  * app/tools/gimpcoloroptions.c (gimp_color_options_gui): add
  gimp_histogram_options_gui() when called with GimpHistogramOptions.
  This a bit weird since the class hierarchy is the other way around
  but it makes things easier.

  * app/tools/gimphistogramtool.c
  * app/tools/gimplevelstool.c
  * app/tools/gimpthresholdtool.c: use GimpHistogramOptions and
  connect the histogram views to the "histogram-scale" property.
  Perhaps not perfect GUI-wise but it let's you choose the histogram
  scale and stores this setting per tool. Fixes bug #125306.

  * app/widgets/gimphistogramview.c: prefixed property names with
  "histogram-" so they match the GimpHistogramOptions property.
Comment 2 Sven Neumann 2003-10-24 08:23:21 UTC
*** Bug 72951 has been marked as a duplicate of this bug. ***