Skip to content

color picker: restrict histogram to selection #5689

@caiux

Description

@caiux

Describe the bug

When selecting "area mode" and "restrict histogram to selection" in color picker, the restricted histogram is substituted by the full image histogram as soon as any adjustment to the image is performed.

To Reproduce

  1. Go to 'color picker'
  2. Select 'area' mode
  3. Select image area
  4. Activate 'restrict histogram to selection' to show the selected area histogram on the histogram panel
  5. As soon as any adjustment to the image is made, the histogram panel refreshes to the full image histogram, although 'restrict histogram to selection' is still checked
  6. One has to uncheck and check again 'restrict histogram to selection' to get it back

Expected behavior

The restricted histogram should be maintained visible. It would be useful to see how the adjustments change the selected histogram.

Platform (please complete the following information):

  • Darktable Version: 3.1.0+2405~g08c1dcd75 (latest on git)
  • OS: macOS Catalina 10.15.5
  • No OpenCL activated

Additional context

Same behaviour in 3.0.2, official macOS release

Metadata

Metadata

Assignees

Labels

bug: pendingsomeone needs to start working on thatdifficulty: hardbig changes across different parts of the code basescope: UIuser interface and interactions

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions