Skip to content

CSSTUDIO-3661 Bugfix: Take into account Range.isReversed() when computing the alarm limits for the tooltip of a widget#3709

Open
abrahamwolk wants to merge 1 commit intomasterfrom
CSSTUDIO-3661
Open

CSSTUDIO-3661 Bugfix: Take into account Range.isReversed() when computing the alarm limits for the tooltip of a widget#3709
abrahamwolk wants to merge 1 commit intomasterfrom
CSSTUDIO-3661

Conversation

@abrahamwolk
Copy link
Collaborator

@abrahamwolk abrahamwolk commented Feb 25, 2026

An instance of Range may be reversed such that,e.g., in the case of alarm limits, LOW is Range.getMaximum() and HIGH is Range.getMinimum() instead of the other way around.

This pull request fixes the code that generates the tooltip to consider Range.isReversed() when computing the alarm limits shown in the tooltip.

I have tested the change manually.

  • Testing:

    • The feature has automated tests
    • Tests were run
    • If not, explain how you tested your changes
  • Documentation:

    • The feature is documented
    • The documentation is up to date
    • Release notes:
      • Added an entry if the change is breaking or significant
      • Added an entry when adding a new feature

…ting the alarm limits for the tooltip of a widget.
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant