Steps to reproduce
Open obsidian
Split pane (splits: 1/2, 1/2)
Adjust the split separation (splits: 1/2, 1/2
Split within one of the splits (e.g. left) This will cause a division of the left split only, as expected (splits 1/4, /1/4, 1/2)
Close one of the left 1/4 side splits
Did you follow the troubleshooting guide? [Y]
Expected result
splits: 1/2, 1/2
Actual result
1/4, 3/4
Environment
SYSTEM INFO:
Obsidian version: v1.7.0
Installer version: v1.6.7
Operating system: Darwin Kernel Version 23.5.0: Wed May 1 20:12:58 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T6000 23.5.0
Login status: logged in
Catalyst license: supporter
Insider build toggle: on
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none
Additional information
Basically what happens is that.
If the split size separator is not touched, it works as expected and splits are always equally divided.
When the separator is adjusted the behavior is buggy - not consistent with the separator.
The solution should be trivial:
When split separators are adjusted, treat the local configuration as you do for bot split and unspilt (closing splits). So the readjustment post a split pane close should snap back to the local “split boundary”.
Note that this needs to be recursive - in the sense that every time a split is manually adjusted it should form two sides that are now independently managed.
If the above is not clear, please ask and I can try to clarify.
- Incorrect pane resizing after pane split followed by close - #4 by WhiteNoise
- Pane resizing does not stick - #2 by DrBrush
- Panes resize slightly when clicking the divider - #3 by clehene
Here’s how it behaves without adjusting splits. This is how it should also behave after adjusting it - only that the behaviors should be “local” within the inner most
- here’s how it behaves incorrectly, post resize