Developer-Mike / obsidian-advanced-canvas

⚡ Supercharge your Obsidian.md canvas experience! Create presentations, flowcharts and more!
GNU General Public License v3.0
365 stars 17 forks source link

[BUG] IOS crash when zoomed in #93

Open semyhran opened 3 months ago

semyhran commented 3 months ago

It is constantly reload Obsidian on IOS with this plugin and only when canvas open, and it zoomed in enough.

Developer-Mike commented 3 months ago

I would appreciate a video to troubleshoot this issue further. Thanks

semyhran commented 2 months ago

I would appreciate a video to troubleshoot this issue further. Thanks

https://github.com/user-attachments/assets/7e4ce3b6-41f2-4058-a557-4b57636bad2b Here is a vide, sorry for being late

Developer-Mike commented 2 months ago

I can't reproduce the crash. Make sure it isn't caused by any other plugin. Additionally, it would be helpful if you share your canvas file.

yuboWw commented 4 weeks ago

I would appreciate a video to troubleshoot this issue further. Thanks

I have the exact same issue here.

Obsidian app on mobile, both iOS and iPadOS, keeps crashing and then repeatedly reloads itself when zooming in and zooming out on canvas.

I have troubleshot and identified the option "disable font size relative to zoom" in advanced canvas to be the triggering factor here. Namely, when performing zooming action on canvas:

  1. the app doesn't crash or reload when the plugin is disabled
  2. the app crashes and reloads repeatedly, whenever zooming action is performed, when the plugin is on with the option off
  3. the app doesn't crash or reload when the plugin is on with the option on
  4. the app doesn't crash or reload when the plugin is on with the option off, but the zooming action is only performed on a small canvas with less labels that need to be relatively adjusted to zooming level

Seems like the plugin is having trouble handling too many labels needing to be adjusted to the zooming level. The plugin is currently unusable with this option turned off

yuboWw commented 4 weeks ago

I can't reproduce the crash. Make sure it isn't caused by any other plugin. Additionally, it would be helpful if you share your canvas file.

Possibly reproducible in a canvas with:

  1. lots of groups with text labels
  2. lots of connection arrows with text labels
  3. the option "disable font size relative to zoom" off