vipzhicheng / logseq-plugin-mark-map

This is a plugin for https://github.com/logseq/logseq to provide mindmap support based on https://github.com/markmap/markmap.
289 stars 7 forks source link

changes to page only rendered upon restarting logseq? #82

Open jaker-dotcom opened 4 months ago

jaker-dotcom commented 4 months ago

Hello there! Thanks for the plugin, I think it is promising for presenting stuff. However I found one critical thing not working and one big nuisance on my end:

  1. page links do work, but somehow the shortcut meta+[ doesn't take me back to the page before
  2. when I edit the page I have to close logseq and open it again for the markmap to refresh
  3. some unexpected shortcut behaviour + I'd wish I could change shortcuts

In this issue I'll describe the second one.

Steps to reproduce:

  1. open logseq
  2. from journal go to a page (in my case "Econometrics")
  3. From there to the page of a book (in my case "StockWatson")
  4. enter markmap
  5. close markmap, edit some stuff (in my case just move things around)
  6. open markmap again

Result: See the same markmap as before edit.

Workaround: Close logseq in between.

Maybe a refresh button would do the trick?

vipzhicheng commented 3 months ago

I was on Mac. When I edit the content of a page, and then enter markmap, I can see the updated view. So what's your env? and is there any special edit?

jaker-dotcom commented 3 months ago

Nope. Even if I just add a block with "test", it does not render upon entering markmap again. Pop!_OS 22.04 LTS

Logseq Plugins image

Logseq Version 0.10.9

polskiTran commented 2 months ago

I have this same error as well. Opening mind map will be stuck on the same mind map even if I open other page or add new content logseq 0.10.9

jaker-dotcom commented 2 months ago

Is it maybe in conjunction with #81? I think it only occured to me when I had visited a specific page. Unfortunately I totally forgot about creating the demo content needed to figure out what causes the issue and don't have the time rn.

polskiTran commented 2 months ago

Seems like this bug only happens on my most recent graph and not older one (which is weird, i dont really know how a logseq graph could be tied with versioning somehow to be strike this difference) but rolling package back to 0.4.1 fix it temporarily for me. However the render image function does not work anymore.

Edit: Forgot to mention iam on mac

jaker-dotcom commented 2 months ago

Maybe it's not the age of the graph but the content within? As in my case, if I recall correctly it appeared to be triggered by the contents of the pages I visited. After a logseq restart, the Plugin would work on other pages within the same graph.