obsidian-bartender
obsidian-bartender copied to clipboard
After latest update, can't open or close folders when custom sorting
My version is 0.5.3 and I'm on the latest insider Obsidian release. Today, for the first time, I couldn't open or close folders when custom ordering was selected. If I change it to one of Obsidian's default orders (e.g. by file name ascending) I can open and close folders.
Same issue and I don't file view when using folder note (from @aidenlx)
EDIT : Last update fix everything for me ! Thanks you
The last update 0.5.4 didn't fix the issue for me :(
Boy, the latest Obsidian releases -- and changes to the API -- have wreaked havoc on plugins, it seems.
This is the case even when the "drag to rearrange" button is disabled? Please make sure you leave that disabled unless you're actively moving items around.
How do you disable the "drag to rearrange" button? Right now, I have to disable the entire plugin if I want to reveal the contents of folders. But if I do that, I lose my ordering.
Currently, I can change the sort order of files at the base level of the vault. I cannot change the sort order of files within a folder. Nor can I change the sort order of folders.
How do you disable the "drag to rearrange" button? Right now, I have to disable the entire plugin if I want to reveal the contents of folders. But if I do that, I lose my ordering.
There's a button?
If that was sarcasm, it's unnecessary. Clicking on the button — which I tried even before filing the original bug report — does nothing. I'm attaching a 20-sec video of what I'm seeing. You'll observe that:
- The video starts with standard folder name alpha order, and the folders open.
- I then select custom order from the sort button (⇵), the "drag to rearrange button" (▤)appears and the folders are now arranged in my custom order. But they can not be opened.
- I attempt to click on "drag to rearrange button" (▤) and nothing happens. The button is unresponsive. Is that the expected behavior?
With respect, Jack
https://user-images.githubusercontent.com/10992411/174656420-3915e7a1-d442-4331-a867-040e5173128b.mov
If that was sarcasm, it's unnecessary. Clicking on the button — which I tried even before filing the original bug report — does nothing.
I seem to have misunderstood your issue with the button. I was under the impression that you didn't know where the button was. Your theme appears to be making the fact that the button is activated very difficult to discern. Note how it looks in the default theme when activated:
Regardless, it appears the button isn't directly related to your issue. Videos like this help considerably in understanding what you're seeing. That being said, I can't replicate this at all. Can you please try a new/sandbox vault with Bartender installed and see if you see the same behavior?
Also, just double checking, have you restarted Obsidian since upgrading to 0.5.4? Unfortunately due to the changes Bartender makes, you must restart Obsidian after each plugin upgrade.
Edit: To clarify, it should not be possible to drag a folder when the "drag to rearrange" button is disabled. What you're seeing is that when you click on a folder, even with the button disabled, the drag action is being activated immediately and preventing any other activity. I don't see any way for that to happen in the current code base.
Also, your cursor is changing to the drag action and I don't see any way for that to happen either since the current code base doesn't change the cursor on drag. So, I'm thinking an old version of Bartender, lack of restart, or unfortunate interaction with another plugin.
These are very helpful. I'll follow your directions and see if I can narrow in on the issue. My hunch is that it's an unfortunate interaction with another plugin, but we'll see. Many thanks!
These are very helpful. I'll follow your directions and see if I can narrow in on the issue. My hunch is that it's an unfortunate interaction with another plugin, but we'll see. Many thanks!
Hi @jebeaudoin, I'm having the same exact issue. I have a lot of plugins, so I'll try looking into what is causing it, but it may take some time. Please do let me know if you figure it out first!
Hey @corinnekaryiu,
So I've got a sandbox with no other plugins and Bartender is working as expected. That's the good news. So the bad news is that it's interacting with another plugin. Like you, I've got more than a few, so it will take me some time to see if I can isolate it. I'll report back in if I can find it.
Well, faster than I thought. If I turn off cMenu, bartender works as expected. @corinnekaryiu -- are you using cMenu?
@nothingislost - Has anyone else reported issues using cMenu? If that's the issue, what's the next step? I'm happy to put in the legwork to get this reconciled.
Well, faster than I thought. If I turn off cMenu, bartender works as expected. @corinnekaryiu -- are you using cMenu?
@nothingislost - Has anyone else reported issues using cMenu? If that's the issue, what's the next step? I'm happy to put in the legwork to get this reconciled.
Thank you! I haven't seen any reports regarding cMenu but I can definitely replicate this with cMenu enabled. I should be able to fix this now that I know what's going on.
@jebeaudoin Yes, thank you so much! I was using cMenu and have disabled it for now.
Please try https://github.com/nothingislost/obsidian-bartender/releases/tag/0.5.7
Updated Bartender to 0.5.7 in my sandbox vault. Closed and reopened vault. Enabled cMenu.
- cMenu visible in main pane.
- Bartender functions as expected.
Thanks for this quick fix!