cqroot / joplin-outline

A markdown outline (TOC) sidebar plugin for Joplin.
MIT License
219 stars 18 forks source link

No sidebar appears #75

Closed Hoffenbar closed 1 year ago

Hoffenbar commented 1 year ago

In my joplin, the sidebar toc isn't visible. Do I have to configure something manually? I'm using the portable version on Windows. There is no ../Joplin/JoplinProfile/outline.css, too, like mentioned in the configuration dialogue.

cqroot commented 1 year ago

I'm not sure what your problem is. You can check the following:

  1. Menu: Tools - Options - Plugins. outline is installed and enabled.
  2. Menu: Tools - Plugins:Options. Confirm whether the outline settings are displayed normally, as shown in the figure below. 2023-01-30_15-27
  3. Menu: Tools - Plugins:Options - Auto Hide. If you have Auto Hide checked, the outline panel will not be displayed when your note has no title.

By default, the outline panel is displayed on the right side of the note, and the top title is OUTLINE.

outline.css is only used to modify the style of the panel, if it does not exist, the default style will be used and will not affect the display of the panel.

If this doesn't solve your problem, please give me more information.

Hoffenbar commented 1 year ago

The settings appear, but not the outline, wether autohide is checked or not. Not toc appears on the right side of the document, even for documents with many headings. Yesterday I uninstalled and reinstalled the plugin, but this didn't helped either.

cqroot commented 1 year ago

I also don't know what the problem is. Never encountered before. Give me your system version, joplin version, plugin version, and some full screenshots.

Hoffenbar commented 1 year ago

Here is some screen shot from the layout function. Looks somewhat strange to me:

image

Maybe some interference with some other plugin....?

Hoffenbar commented 1 year ago

Ok, finally I've got it: I disabled the plugin Favorits; after that everything works as expected! I will file a ticket there...

Hoffenbar commented 1 year ago

But, another error remains: altering the layout only modifies it for the currently visible view. Switching the outline off and then on again restores the previous (wrong) layout:

image

After Switching outline off:

image

After switching outline ON again:

image

Hoffenbar commented 1 year ago

After some tests, I think this is a general layout manager thing w/Joplin. The possibilities there are somewhat strange, or I missed something yet. For now I will work with this layout:

image

which seems to stay as it should when switching on/off:

image

image

cqroot commented 1 year ago

This is a known issue with joplin layout, not related to other plugins.

Joplin has not provided plugins with an api to modify the size yet, so I can't control the size.

As you did, it is recommended to put the outline panel in the middle rather than the far right.

Hoffenbar commented 1 year ago

Ok, then this issue is clarified, thank you very much!