Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buttons unloaded when renaming note #396

Closed
4 of 8 tasks
Simon40000 opened this issue Aug 6, 2024 · 2 comments
Closed
4 of 8 tasks

Buttons unloaded when renaming note #396

Simon40000 opened this issue Aug 6, 2024 · 2 comments
Labels
bug Undesired behavior caused by this plugin

Comments

@Simon40000
Copy link

Please fill out these Check-boxes

  • I checked for existing similar issues
  • I checked that the plugin is up to date
  • The issue persist with all other plugins and themes disabled

Plugin Version

1.1.3

This Issue Occurs on

  • Windows
  • Linux
  • macOS
  • Android
  • iOS

Debug Info

It might be this is not considered a bug but it creates problems in my workflow. No output in console when this happens.

Describe the Issue

I have multiple buttons in my templates. When creating a new note the first action at hand is to rename the note. After renaming the note all buttons are unloaded. Perhaps I can prevent this behaviour somehow? The work around is to edit every button but it is to tedious to to.

Steps to Reproduce

  1. Create a new note
  2. Add a button
  3. Rename note
    4.All buttons are unloaded. Instead of the button I see "[MB_UNLOADED] button".

or to demonstrate in my use case

  1. Create a template with muliple buttons.
  2. Create a new note based on the template
  3. Set a name of the new note
  4. All buttons are unloaded. Instead of the button I see "[MB_UNLOADED] button".

Expected Behavior

The button remains loaded.

@Simon40000 Simon40000 added the bug Undesired behavior caused by this plugin label Aug 6, 2024
@mProjectsCode
Copy link
Owner

As stated in similar issues, this is intended. The plugin currently can not handle file renaming, and to protect your notes from unintended behavior, it unloads all active fields and buttons in the renamed note.

@mProjectsCode mProjectsCode closed this as not planned Won't fix, can't repro, duplicate, stale Aug 7, 2024
@Simon40000
Copy link
Author

Yes, it was my gut feeling as well. Since I posted I have found ways to set the note title before creating the note such as using the QuickAdd plug in which minimise occurrences when I need to rename. Also adding a hotkey to "reload app without saving" command is very helpful!

//Simon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Undesired behavior caused by this plugin
Projects
None yet
Development

No branches or pull requests

2 participants