mdelobelle / metadatamenu

For data management enthusiasts : type and manage the metadata of your notes.
https://mdelobelle.github.io/metadatamenu
MIT License
520 stars 27 forks source link

Metadata menu opens on Obsidian startup #568

Closed ziahassan closed 7 months ago

ziahassan commented 7 months ago

I've noticed that one of my classes opens up automatically everytime I open obsidian on Desktop or mobile. Not sure what I did to inspire this behavior but it slows down mobile a lot. I looked at the global settings as well as the class settings and not sure.

mdelobelle commented 7 months ago

Do you have a tab opened on a fileclass view in your mobile app? I'm not 100% sure of how the mobile app sequence works when one opens Obsidian but if it's trigerring a relaunch of the plugin, then - like on desktop - it's looking for tabs that were opened on a fileclass view prior to the shut down of the app and automatically reopen them at start. You could ensure that you close the fileclass view's tab when you don't need it anymore on mobile to prevent this unwanted behaviour

ziahassan commented 7 months ago

Thank you for that! It could be what was happening - but I closed the tab and reopened and the same thing happened.

BUT THEN, I had to wipe my phone for an unrelated reason and reinstalled all the plugins. So far, it hasn’t happened yet (along with a ton of other performance enhancements just from starting from scratch).

I’ll keep you posted but I appreciate the reply.

On Feb 13, 2024, at 2:24 PM, mathieu @.***> wrote:

Do you have a tab opened on a fileclass view in your mobile app? I'm not 100% sure of how the mobile app sequence works when one opens Obsidian but if it's trigerring a relaunch of the plugin, then - like on desktop - it's looking for tabs that were opened on a fileclass view prior to the shut down of the app and automatically reopen them at start. You could ensure that you close the fileclass view's tab when you don't need it anymore on mobile to prevent this unwanted behaviour

— Reply to this email directly, view it on GitHub https://github.com/mdelobelle/metadatamenu/issues/568#issuecomment-1942229304, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAH4SD34MTG2NYRR63ZGMITYTO4WNAVCNFSM6AAAAABDEARDLWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBSGIZDSMZQGQ. You are receiving this because you authored the thread.

mdelobelle commented 7 months ago

Glad to hear that. I'll close this issue. If it's happening again, you could also try to disable the plugin, close all fileclass tabs, enable the plugin. This should flush the cache database that may be in a weird state.