Skip to content

Well path name fix, histogram zoom-all, and histogram tree selection visibility - #14644

Merged
magnesj merged 3 commits into
OPM:devfrom
magnesj:test-adjustments
Aug 31, 2026
Merged

Well path name fix, histogram zoom-all, and histogram tree selection visibility#14644
magnesj merged 3 commits into
OPM:devfrom
magnesj:test-adjustments

Conversation

@magnesj

@magnesj magnesj commented Aug 28, 2026

Copy link
Copy Markdown
Member

Summary

  • Bug: Well name is not stored in project file #14538 Well path: Preserve renamed file well name without breaking legacy projects
    Reworks the previous fix for Bug: Well name is not stored in project file #14538 so that a renamed well path name is preserved across
    project reloads, while still initializing the name from the source file for legacy projects
    that never serialized a well path Name (e.g. TestCase_RFT_PLT/RegressionTest.rsp, which
    was broken by the original fix).
  • Grid statistics: Zoom all on histogram plot after creation
    When creating a histogram from grid cell results (e.g. PERMX) via "Create Grid Statistics Plot",
    the plot is now zoomed to fit the data right after creation.
  • Histogram: Make selected sub-plot visible in histogram multi plot
    Selecting a curve or a plot inside a RimHistogramMultiPlot in the project tree now scrolls
    the multi plot view to make the containing histogram plot visible, mirroring existing behavior
    for RimSummaryMultiPlot.

Testing

  • Built ApplicationLibCode and ResInsight.exe (Debug) successfully after each change.
  • Restored/verified the test_rmswell_renamed_name_persists Python round-trip test.

… legacy projects

Reverts the unconditional change from commit 74ffc82 and replaces it with
a safer fix: only skip re-initializing the well path name from the source
file on reload when a name has already been set. Older projects that never
serialized the well path Name field (e.g. TestCase_RFT_PLT/RegressionTest.rsp)
still get their name populated from the file on load, while renamed well
paths in newer projects keep their custom name across reloads.

Restores the RMS well round-trip test that verifies a renamed well path
name persists after save/reopen.
When creating a histogram from grid cell results (e.g. PERMX) via
"Create Grid Statistics Plot", zoom the histogram plot to fit the data
right after the curve is populated, instead of leaving it at default axis
ranges.
Selecting a curve or a plot inside a RimHistogramMultiPlot in the project
tree now scrolls the multi plot view to make the containing histogram plot
visible, mirroring the existing behavior for RimSummaryMultiPlot.

@kriben kriben left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM!

@magnesj
magnesj merged commit 377751e into OPM:dev Aug 31, 2026
10 checks passed
@magnesj
magnesj deleted the test-adjustments branch August 31, 2026 08:28
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.

2 participants