Skip to content

Fix issue with zoom column commands - #7796

Merged
melissa-barca merged 13 commits into
masterfrom
bugfix/zoom-panes
Sep 15, 2020
Merged

melissa-barca merged 13 commits into
masterfrom
bugfix/zoom-panes

Conversation

@melissa-barca

Copy link
Copy Markdown
Contributor

Intent

Fixes #7687

The main purpose of this PR is to fix an issue affecting the Zoom Left Column and Zoom Right Column commands when user has additional source columns open. The issue is primarily caused by the fact that the "left column" is no longer the left column with additional source columns.
This also fixes and issue whereWindowEnsureVisibleEvent was never updated to handle multiple source windows but was being initiated by source columns.

Approach

This PR only ensure both commands work as they used to (zooming on the right column or left/center column). Another one will need to be created to have the wording of the commands updated and commands to zoom on the additional source columns.

The majority of the new logic is to ensure clean animation when transitioning to/from a zoomed state. Existing logic was only for the right side which always has one panel. For the left side, I need to calculate the total size to be displayed and then allocate those pixels so that they loaded left -> right or right -> left.

QA Notes

These issues only happen when using additional source columns. We should make sure different orderings of the zoom commands work as they did in 1.3.

}

// The following commands need to be updated to fit the new layout with additional source
// columns. The mismatched names/actions are temporarily intentional until this is handled.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Do we have an issue open on this?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I've created one here: #7801

@melissa-barca melissa-barca changed the title Bugfix/zoom panes Fix issue with zoom column commands Sep 15, 2020

@gtritchie gtritchie left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM!

@jmcphers jmcphers added this to the v1.4 milestone Sep 15, 2020
@melissa-barca
melissa-barca merged commit 21f8832 into master Sep 15, 2020
@melissa-barca
melissa-barca deleted the bugfix/zoom-panes branch October 7, 2020 14:47
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.

Additional source column and zoom not working

3 participants