Skip to content

MultitaskingView: Fix occassions where the active workspace could be wrong#2787

Merged
leolost2605 merged 3 commits into
mainfrom
leolost/mtv-fix-ws-desyncs
Apr 28, 2026
Merged

MultitaskingView: Fix occassions where the active workspace could be wrong#2787
leolost2605 merged 3 commits into
mainfrom
leolost/mtv-fix-ws-desyncs

Conversation

@leolost2605

@leolost2605 leolost2605 commented Mar 1, 2026

Copy link
Copy Markdown
Member

Fixes #2701

I've introduced a jump method for the gesturecontroller here which also makes sure we send a commit and reset any running timeline whereas setting the progress wouldn't do that. I eventually want to make progress private set and move to this new method because having wrong commits is not really great but I'd leave that to a future PR.

I've also fixed goto comparing progress == to which could be the case - even if we won't stay at that to - when a goto was called before but the timeline hasn't started yet. This would cause an early return even though the second goto should overwrite the first.

@leolost2605 leolost2605 requested a review from a team March 1, 2026 19:12
@leolost2605 leolost2605 force-pushed the leolost/mtv-fix-ws-desyncs branch from 95bac3b to b88e092 Compare March 1, 2026 19:17
@leolost2605 leolost2605 force-pushed the leolost/mtv-fix-ws-desyncs branch from b88e092 to 3bf05bc Compare March 23, 2026 19:32
@leolost2605 leolost2605 mentioned this pull request Mar 23, 2026
@leolost2605 leolost2605 force-pushed the leolost/mtv-fix-ws-desyncs branch from 3bf05bc to 3626f46 Compare April 7, 2026 22:27
@zeebok zeebok added the Conflicts Has conflicts with the target branch label Apr 25, 2026

@zeebok zeebok left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Does the trick for me when I tested!

@leolost2605 leolost2605 force-pushed the leolost/mtv-fix-ws-desyncs branch from 3626f46 to 6e9dd24 Compare April 28, 2026 07:53
@leolost2605 leolost2605 removed the Conflicts Has conflicts with the target branch label Apr 28, 2026
@leolost2605 leolost2605 merged commit c4891b3 into main Apr 28, 2026
6 checks passed
@leolost2605 leolost2605 deleted the leolost/mtv-fix-ws-desyncs branch April 28, 2026 08:00
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.

Moving away the only window of a workspace makes an unexpected workspace switch

2 participants