visit-dav / visit

VisIt - Visualization and Data Analysis for Mesh-based Scientific Data
https://visit.llnl.gov
BSD 3-Clause "New" or "Revised" License
428 stars 111 forks source link

Line tool appearing behind 2d plot during hot-point interactions #17774

Open biagas opened 2 years ago

biagas commented 2 years ago

Describe the bug

When line tool is activated for a 2D plot, user interaction with the hotpoints to move the endpoints or entire line causes the line to be drawn behind the 2d plot. Once the hot-points aren't active, the line reappears in front of the plot. The labels for the end-points hot points show in front of the plot, but not the hotpoints themselves or the lines.

Here's a snapshot. The pinkish line is the original location of the line tool. The black labels and partial view of the line is where I was moving it. linetool

To Reproduce

  1. Open curv2d.silo, create a Pseudocolor plot and draw
  2. Enable the line tool
  3. Use the line tool's hotpoints to move the line around, see it disappear

Expected behavior

I expected the entire line to remain visible even when using the hot points to move it around. I tried develop, 3.1 installed on lc and 2.13 installed on LC. All exhibit the same behavior, so perhaps my expectation is wrong ??

Desktop

markcmiller86 commented 2 years ago

If we do any work to fix this, I would like to propose that we also make one enhancement to Line tool and that is to compute and display the length/distance of the line as part of the middle hash mark that is already being tracked but with no text. The two end-point hash marks of Line tool display their global coordinate values and displaying the length would also be useful.

cyrush commented 1 month ago

we will check if this still happens with 3.4.x series.

biagas commented 1 month ago

Yes. Still a problem with 3.4.x on Windows, Linux.