Skip to content

Conversation

@interstateone
Copy link
Contributor

When the info pane was simply hidden, the split view would still allow you to resize the remaining split (note the cursor in the first recording), which resulted in weird behaviour. Instead, just remove the info pane split and then the split view doesn't let you resize. Had to move where the global "cancel install" alert is in the view hierarchy as a result, because it might have to be presented even if the info pane isn't part of the view hierarchy.

I tried changing the alert so it wasn't a part of the main window at all, and was instead local to the buttons that triggered its presentation, and this worked for all but the case where the CancelInstallButton was used from the Xcode menu. So for now I left it close to where it already was.

Before:

CleanShot.2021-02-06.at.18.01.31.mp4

After:

CleanShot.2021-02-06.at.18.26.48.mp4

When it was hidden the split view would still allow you to resize the remaining split, which resulted in weird behaviour. Instead, just remove the info pane split and the split view doesn't let you resize. Had to move where this global alert lives as a result because it might have to be presented even if the info pane isn't visible.

I tried changing the alert so it wasn't on the main window, and was instead local to the buttons that triggered its presentation, and this worked for all but the case where the CancelInstallButton was used from the Xcode menu. So for now I left it close to where it already was.
@interstateone interstateone added the bugfix Fixes a bug label Feb 7, 2021
@interstateone interstateone requested a review from a team as a code owner February 7, 2021 01:33
@interstateone interstateone merged commit 519df4e into main Feb 8, 2021
@interstateone interstateone deleted the fix-split-view branch February 8, 2021 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants