phibr0 / obsidian-commander

Commander - Obsidian Plugin | Add Commands to every part of Obsidian's user interface

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: Adding a button causes all commander buttons to go to bottom of ribbon

Smitty010 opened this issue · comments

Describe the bug

If I add a new button to my ribbon, all of the other commander buttons (icons) are moved to the bottom of the ribbon list.

Relevant errors (if available)

No response

Steps to reproduce

  1. Add a command to the ribbon.
  2. Use the Ribbon menu in the "Appearance" to move the command to the top of the ribbon
  3. Add a second command to the ribbon.
  4. Both commands are now on the bottom of the ribbon buttons.

Expected Behavior

The new command could go to the bottom. The existing command(s) should stay put

Additional context

No response

Operating system

Windows

I should add that if there were multiple commands when you created the new command, the existing commands return to the order they were created (and show in the commander options dialog). So, not only do they go the bottom but they also reorder themselves based on the order they were created (which is different from the order I specified in the Appearance/ribbon menu dialog.

I get this a lot too. Exiting obsidian and letting it reload the workspace often fixes it.