Hyperclaw79 / vssticky

Attach sticky notes on your files, from inside VS Code.
GNU General Public License v3.0
5 stars 4 forks source link

[BUG] Notes panel opens after being hidden #7

Open crouchcd opened 1 year ago

crouchcd commented 1 year ago

Describe the bug The "Notes" panel pops up anytime I enter an editor containing a note regardless if I have collapsed the bottom panel group and explicitly hidden the "Notes" panel.

To Reproduce Steps to reproduce the behavior:

  1. Add a sticky note to an editor
  2. Click hide "Notes" from the bottom panel group and collapse the bottom panel group
  3. Navigate to an editor that doesn't contain a note
  4. Navigate back to the editor containing a note
  5. The bottom panel group opens automatically with the Notes panel displayed

Expected behavior I expect that when I have either collapsed the bottom panel group or have hidden the "Notes" panel that it will not display on its own. Only when I intentionally show the "Notes" in the panel do I expect to see the notes displayed.

Screenshots https://user-images.githubusercontent.com/19394466/197000665-dc8dc2dd-b62d-4db8-bcab-7d292d946433.mov

Desktop (please complete the following information):

Hyperclaw79 commented 1 year ago

At the time of development, there was no way to track if a user explicitly closes a panel. Will look into this later to see if it's doable as of now.