Viewport values should be clamped between 0 and 1 #20261
Labels
bug
Something isn't working
impact medium
Productivity partially degraded (not easily mitigated bug) or improved (enhancement)
likelihood low
Occurrence/expected use specific to data, operators, configuration, etc. or combinations thereof
Describe the bug
If Viewport coordinates get set outside the values of 0 and 1, the view calculations for zoom (and possibly others) don't work correctly.
This was reported by customer. See discussion 20260
Reproducer:
Here's the plot before zooming with the border between the reflected and non-reflected plots at x=0
And after zooming, the border between the reflected and non-reflected plots has 'moved'.
When the 2DView values are set between 0, and 1, then the view after zooming is still correct.
Expected behavior
If the view calculations won't be correct if Viewport values are outside the range of 0,1, then they should be automatically clamped.
Desktop
The text was updated successfully, but these errors were encountered: