Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panel width for plugins do not persist #5634

Open
BeatLink opened this issue Oct 26, 2021 · 2 comments
Open

Panel width for plugins do not persist #5634

BeatLink opened this issue Oct 26, 2021 · 2 comments
Labels
backlog We'll get to it... eventually... bug It's a bug plugins Anything related to Joplin's plugin system

Comments

@BeatLink
Copy link

Environment

Joplin version: 2.4.12
Platform: Linux
OS specifics: Linux Mint Cinnamon 20.2 (Flatpak install)

Steps to reproduce

  1. Install a plugin that utilizes the Panel API (such as Outline or Agenda)
  2. Toggle the panel visibility via the plugin (Hide the panel then show it)
  3. Note that the panel does not remember its original size but instead expands to the initial width (half of the editor usually)
  4. Note also that there are no API functions to either retrieve or set the panel width, hence this issue needing to be solved upstream.

Describe what you expected to happen

Either joplin should expose an API for managing the panel's width or height (getting and setting) so developers can manage width/height themselves, or the core joplin code should automatically remember and restore the panel width/height

Logfile

@BeatLink BeatLink added the bug It's a bug label Oct 26, 2021
@laurent22 laurent22 added high High priority issues plugins Anything related to Joplin's plugin system backlog We'll get to it... eventually... and removed high High priority issues labels Oct 27, 2021
@msbentley
Copy link

Linked to this issue I guess: cqroot/joplin-outline#33 and a high source of frustration for users of this and similar plugins ;-)

@micmalti
Copy link

This bug didn't bother me until I switched to v3. Now, every time I switch to a note without an outline and then back to another one that does, the panel widths reset. I'll be staying on v2 until this issue is resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog We'll get to it... eventually... bug It's a bug plugins Anything related to Joplin's plugin system
Projects
None yet
Development

No branches or pull requests

4 participants