Global location outline wrong when a small file opened after a big file

Issue #559 closed
Robert Leach created an issue

USE CASE: WHAT DO YOU WANT TO DO?

Have accurate white location outline in the global matrix view representing the current visible portion of the matrix all the time.

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

  1. Open large_6kx6k
  2. Zoom in 7 times using the "+" button (might not be necessary)
  3. Open small_133x133.cdt
  4. Zoom in 7 times using the "+" button

CURRENT BEHAVIOR

The white outline in the global matrix view shifts down and to the right, but does not come in from the right or bottom. Note in this screen shot, I am zoomed into the center of the matrix, but the white outline thinks I'm in the lower right quadrant:

GMV_outline_wrong.png

EXPECTED BEHAVIOR

Regardless of the order in which I open the files, the white outline should accurately represent the size and location of where I am in the interactive matrix view.

DEVELOPERS ONLY SECTION

SUGGESTED CHANGE (Pseudocode optional)

unknown

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

unknown

LEVEL OF EFFORT - developers only

minor

COMMENTS

Marked as major because this affects user confidence.

Comments (3)

  1. Robert Leach reporter

    Resolved issue 559 - GMV location wrong.

    I just needed to update the matrix once it was done loading. There's a minimum size for the viewport rectangle and when either setXMap or setYMap are called, the sizes there are not initialized to the newly loaded data. In fact, I should remove that useless code for setting the minimum viewport size in those methods for that reason.

    → <<cset 4bcb02eada65>>

  2. Log in to comment