Selections that extend beyond zoomed area are drawn over trees in visible area export

Issue #521 new
Robert Leach created an issue

USE CASE: WHAT DO YOU WANT TO DO?

Export the visible region that includes a portion of a selection and show the partial selection in the exported file.

STEPS TO REPRODUCE AN ISSUE (OR TRIGGER A NEW FEATURE)

  1. Select a region
  2. Zoom to an area that includes the bottom portion of the selection (and the top extends out of view)
  3. Command-e for export
  4. Check show selections
  5. Export

CURRENT BEHAVIOR

The selection box gets drawn over the tree in the exported image:

cltest3.PNG

EXPECTED BEHAVIOR

The selection box should stop at the edge of the exported region of the matrix

DEVELOPERS ONLY SECTION

SUGGESTED CHANGE (Pseudocode optional)

A strategy similar to the method used to draw a portion of a tree for the export should be employed, where each of the 4 lines of the selection box(es) should be drawn separately and if found to extend past the exported region, adjust the endpoint of the line. If the line lies completely outside of the exported region, don't draw it at all.

FILES AFFECTED (where the changes will be implemented) - developers only

unknown

LEVEL OF EFFORT - developers only

medium

COMMENTS

Comments (2)

  1. Robert Leach reporter
    • edited description

    Added an arrow in the image to call attention to where the aberrant highlight is.

  2. Log in to comment