Skip to content

refactor(view): swap StandardView.cur_layout atomically#291

Merged
dlyongemallo merged 1 commit into
mainfrom
fix_merge_extra_pane
Jul 11, 2026
Merged

refactor(view): swap StandardView.cur_layout atomically#291
dlyongemallo merged 1 commit into
mainfrom
fix_merge_extra_pane

Conversation

@dlyongemallo

Copy link
Copy Markdown
Owner

Publishing the incoming layout to self.cur_layout before create resolved let update_files_impl's debounced ensure_layout trip Layout:recover mid-swap, leaving a stray diffview://null split next to the freshly opened diff after staging a resolved merge conflict. Stage the new layout via _stage_layout and assign self.cur_layout only after create returns.

Publishing the incoming layout to `self.cur_layout` before `create`
resolved let `update_files_impl`'s debounced `ensure_layout` trip
`Layout:recover` mid-swap, leaving a stray `diffview://null` split next
to the freshly opened diff after staging a resolved merge conflict.
Stage the new layout via `_stage_layout` and assign `self.cur_layout`
only after `create` returns.
@dlyongemallo dlyongemallo merged commit c0b5064 into main Jul 11, 2026
8 checks passed
@dlyongemallo dlyongemallo deleted the fix_merge_extra_pane branch July 11, 2026 10:45
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.

1 participant