chrisgurney / obsidian-note-toolbar

Plugin for Obsidian providing a flexible way to create context-aware toolbars for your notes.
https://github.com/chrisgurney/obsidian-note-toolbar/wiki
Apache License 2.0
270 stars 7 forks source link

Property functions not working #142

Open l-t-k opened 23 hours ago

l-t-k commented 23 hours ago

Description of the bug The note toolbar plugins adds four new options to the command pallet: Note Toolbar: Show Properties Note Toolbar: Hide Properties Note Toolbar: Folder Properties Note Toolbar: Toggle Properties

None of them are working if I just execute them using the command pallet

Steps to reproduce Options are not doing anything. Tried with every 'properties in document' option from Editor as well: visible, source, hidden. None of them work

Plugin, Theme links, and CSS snippets (if applicable): Default

Desktop environment:

chrisgurney commented 21 hours ago

Thanks for the bug report!

  1. I'm assuming your notes have properties on them?
  2. What version of Windows are you using?
  3. Are you able to record a video/gif?
l-t-k commented 20 hours ago
  1. Yes, they do have properties on them
  2. Windows 11 Pro 22631.3880
  3. Of course: Obsidian_o6bKb3uTHc

I'm using the Blue Topaz theme btw. The grey/blue weird background (that disappears after hovering over it) on the taskbar is something strange as well. I can't find a way to get rid of it after trying every background color config with the style settings pluggin. Any idea?

chrisgurney commented 19 hours ago

Thank you for the details, that helps!

I'll look into the Blue Topaz issue as well; I've noticed similar behavior with a different theme as well.

chrisgurney commented 19 hours ago

This CSS snippet will fix your Blue Topaz issue. If all goes well testing with other themes, I'll add it to the next release.

.callout[data-callout="note-toolbar"] {
    background-color: var(--cg-nt-tbar-bg-color) !important;
}
chrisgurney commented 19 hours ago

Are you able to open the console and let me know if there's any errors reported while using those commands?

On Windows, you should be able to open the console with F12 or Control + Shift + I

So far I've been unable to reproduce the properties toggle issue on macOS. I'm hoping I can download a Windows VM next week (Monday at the earliest) and (hopefully) install Obsidian to try this out.

chrisgurney commented 19 hours ago

A couple more things:

  1. Do any other commands work, other than the Note Toolbar properties commands?
  2. Can you run the command Show debug info and copy the results to a clipboard, and provide it here?
    • The only other difference I can see based on your video might be the version of Electron -- shown as Installer version in the debug info -- but this issue hasn't been reported previously.
l-t-k commented 1 hour ago

All other commands work as expected

With the console open, and the debug level on 'all levels': executing one of the toolbar properties commands simple don't generate any debug info at all. Obsidian-git plugin, for example. is generating a lot of messages.

Where to run Show debug info? In de console window itself it is not working. On the sources tab I do have the possibility to run command but that command is not part of the list.

Can confirm that you fixed the issue with the Blue Topaz theme in the release by the way, Thanks!