Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix multiple window movement issue #5521

Open
wants to merge 1 commit into
base: next
Choose a base branch
from

Conversation

slyshot
Copy link
Contributor

@slyshot slyshot commented Jun 1, 2023

This solves #5382. The issue is caused because there's no container between the workspace and the windows, and when focus is moved up to the workspace, tree_move will refuse to move workspaces.

I was planning on making a change elsewhere(Making the split container if they'd otherwise attach to the workspace at all), but as I mentioned in my comment on the issue, the windows attaching directly to the workspace seems specifically intentional based on comments in code. For this reason, making the change at tree_move instead of earlier seems needed to respect that intention. If I'm mistaken in any way, or making the earlier change seems like a good idea anyways, let me know.

Thanks.

@slyshot slyshot changed the title Fixed the multiple window movement issue from #5382 Fixe multiple window movement issue Jun 1, 2023
@slyshot slyshot changed the title Fixe multiple window movement issue Fix multiple window movement issue Jun 1, 2023
@slyshot slyshot force-pushed the moving_multiple branch 2 times, most recently from 860c930 to 9ccff4c Compare June 5, 2023 06:52
@slyshot slyshot force-pushed the moving_multiple branch 2 times, most recently from db6dc2b to ff7be20 Compare June 18, 2023 15:44
@slyshot slyshot mentioned this pull request Jun 18, 2023
@slyshot slyshot force-pushed the moving_multiple branch 3 times, most recently from 98978e1 to 07bf19d Compare June 19, 2023 17:24
@slyshot slyshot force-pushed the moving_multiple branch 4 times, most recently from 5ac043e to 6f2a85b Compare June 28, 2023 18:20
@orestisfl orestisfl marked this pull request as draft July 15, 2023 09:01
@orestisfl orestisfl added the waiting Waiting for feedback/changes from the author of the issue/PR. Make sure to notify us with a comment. label Jul 15, 2023
@orestisfl
Copy link
Member

Converted to a draft since it depends on #5529

@orestisfl orestisfl marked this pull request as ready for review July 21, 2023 11:53
@orestisfl
Copy link
Member

@slyshot please rebase onto next

@orestisfl orestisfl removed the waiting Waiting for feedback/changes from the author of the issue/PR. Make sure to notify us with a comment. label Jul 23, 2023
Copy link
Member

@orestisfl orestisfl left a comment

Choose a reason for hiding this comment

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

Thank you for your pull request.

Since this is a purely behavioral change, we will need some tests that cover this behavior. Let me know if you need help with them.

@orestisfl orestisfl added the waiting Waiting for feedback/changes from the author of the issue/PR. Make sure to notify us with a comment. label Jul 23, 2023
@Samueru-sama
Copy link

Will this be merged? I've been using patch ever since it came out and everything performs like it should.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting Waiting for feedback/changes from the author of the issue/PR. Make sure to notify us with a comment.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't move two focused windows to a different monitor without first toggling back to a different view mode.
3 participants