Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ColorCalib] update label to reflect whether color mapping is active #16810

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ralfbrown
Copy link
Collaborator

@ralfbrown ralfbrown commented May 18, 2024

This PR is in response to the repeated occurrences where someone unknowingly had color mapping activated and some recent suggestions on pixls.us. The label on the collapsible section for the color mapping controls now shows whether color mapping is active.

Update: figured out how to get immediate updates of the label text.

@ralfbrown ralfbrown added the scope: UI user interface and interactions label May 18, 2024
@TurboGit TurboGit added this to the 5.0 milestone May 18, 2024
@ralfbrown ralfbrown changed the title RFC: [ColorCalib] update label to reflect whether color mapping is active [ColorCalib] update label to reflect whether color mapping is active May 19, 2024
@elstoc elstoc added the documentation-pending a documentation work is required label May 20, 2024
ralfbrown added a commit to ralfbrown/dtdocs that referenced this pull request Jun 5, 2024
elstoc pushed a commit to darktable-org/dtdocs that referenced this pull request Jun 7, 2024
@elstoc elstoc added documentation-complete needed documentation is merged in dtdocs and removed documentation-pending a documentation work is required labels Jun 7, 2024
Copy link
Member

@TurboGit TurboGit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The "active" text seems to be always on on my side. Also when I switch from a RAW (where it is active) to a JPG where the module is disabled the active text is still displayed.

@ralfbrown
Copy link
Collaborator Author

"(active)" should be displayed whenever (and only when) the target is other than L 50 / chr 0.0, which is what is happening for me. The tag will display whether or not the module is active, because it will affect the results when the module does get turned on.

When color-mapping chroma is 0, the hue slider has no effect, so say
"active" only when either L != 50 or chroma != 0.

Update the section label inside the value-changed callback for
the items in the collapsible section so that we can immediately
see the update instead of having to wait until an image is
opened in darkroom view.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation-complete needed documentation is merged in dtdocs release notes: pending scope: UI user interface and interactions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants