deathau / sliding-panes-obsidian

Andy Matuschak Mode as a plugin
747 stars 29 forks source link

Leaf Auto Width not Working v3.3.0 #110

Open andrewjbarton opened 2 years ago

andrewjbarton commented 2 years ago

The "Leaf Auto Width" feature is exhibiting some random behavior. Sometimes, panes slid off the right edge and disappear. Other times the widths seem incorrect.

I am attaching some screen shots to demonstrate. For all of these, I have 4 documents open.

Fourth document selected: This is pretty close although the third tab is too wide.

fourth_doc_selected

Third document selected: This looks right to me.

third_doc_selected

Second document selected: I have lost the fourth tab. I can no longer switch to this document.

second_doc_selected

First document selected: The forth document is still gone. The tabs on the right look wider then when they are stacked on the left.

first_doc_selected

This is just one example. With different numbers of documents I get different behaviors and the order in which I select documents seems to affect how the tabs re-arrange themselves.

ebullient commented 2 years ago

Stacking works correctly to the left. Things disappear when stacking to the right.

trainbuffer commented 2 years ago

Obsidian v0.15.6 x2 (just updated today) Sliding Panes v3.3.0 x2 macOS 10.13.6 Windows11 21H2

I don't know why this would be the case, but sliding panes is working fine on my Windows laptop, but I'm experiencing this issue using my older Mac (haven't tried a newer Mac yet). I removed the plugin, restarted Obsidian, and reinstalled 3.3.0 on both. Mac still has a problem.

edit: after using the Windows machine for a few hours, the leaf width is acting strange with panes stacked to the right.

Something is amiss.

pauljacobson commented 2 years ago

I have the same issue. I noticed that my panes disappear off to the right too, and I can't find them unless I use the hotkey to shift focus to the right.

Obsidian v0.15.6 Sliding Panes v3.3.0 macOS 12.4

I tried removing the plugin, restarting Obsidian, and then reinstalling the plugin again. This did't help. Here are my plugin options:

Capture_2022-07-13 at 09 12 01@2x

andrewjbarton commented 2 years ago

I am using Sliding Panes more effectively with Leaf Auto Width disabled, it's just not as nice IMO. I didn't mention my computer configuration in my original post. I am using an M1 MacBook Pro (16-inch, 2021).

slonik-az commented 2 years ago

This is a regression in v3.3.0. Auto Width works correctly in v3.2.5 and earlier.

nhan000 commented 2 years ago

I'm experiencing same issue

Stefan-59 commented 2 years ago

Same here. The issue occurs when I switch the left or right sidebar on and off. With both sidebars OFF it works as expected, sidebar ON and the panes can be moved (I use a two-finger-slide to the side on my touchpad), but they get stuck somewhere and don't move completely to the right. The width where they get stuck are the same as the width of the sidebar: image

image

hschmiedhofer commented 2 years ago

Same issue here. Had to switch it off until resolved.

welpdx commented 2 years ago

RemindMe! 1 month "Check if there is a new update to sliding panes obsidian plugin to fix auto width issue"

Edit: Reverting to V3.2.4. Fixed my issue for now.

Celeblith commented 2 years ago

Glad to know it's not just me. Auto width no longer works after 3.3.0. Looking forward to this being fixed as I like to switch between auto-width and fixed width depending on whether I want to focus or multi-task.

Edit as of 10 September 2022: Still broken :/

Lulullia commented 1 year ago

Hi, I also have an issue with Leaf Auto Width, but not in the same way (I don't have any disappearing panes or anything) For me, toggling the option just doesn't do anything at all. In both states the panes have a fixed size and work as if the option was off. What's more I can't change the fixed size even using the option "Leaf Width on Desktop". As others have mentioned, reverting to 3.2.4 fixes the issues.

I'm on Obsidian 0.15.9, windows 10.

nhan000 commented 1 year ago

From 0.16, I use the Pane Relief plugin's sliding pane feature. Works very well