org-roam / org-roam-ui

A graphical frontend for exploring your org-roam Zettelkasten
GNU General Public License v3.0
1.99k stars 109 forks source link

Opens lot of browser tabs when Emacs starts [BUG] #213

Closed simakovpa closed 2 years ago

simakovpa commented 2 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Just default setup:

Expected behavior I expect one tab in my browser

Screenshots ORUI-bug

What browser were you using? Chrome

Additional context I use Windows 10, Emacs 27.2, compile emacs-sqlite.exe with MSYS2 (or use the exe from github )

I think it opens one browser tab for each opened in Emacs org-file (I use saved desktop for saving my work space).

ORUI-bug-2

tefkah commented 2 years ago

Hmmm that is kind of weird, I guess I don't know how how this saved-desktop works, but I imagine that it starts all the minor modes for every file that was open, thus triggering orui a bunch. I'm not sure how to fix this atm, but you can set org-roam-ui-open-on-start to nil for the time being to at least mitigate this. Thanks for the report!

simakovpa commented 2 years ago

Thank you for answer. It works for my workflow better than I wanted. Now I can to open/close my graph when I need.