Skip to content

Sketchbook sidebar: opening a sketch will not show the last state of the sidebar in the new window #442

Closed
@ubidefeo

Description

@ubidefeo

Describe the bug
When double-clicking or selecting "Open Sketch in New Window" the new window with the Sketch will open,
but the last state of the Sketchbook Explorer (or Remote Sketchbook Explorer) is not preserved.
It either closes the sidebar or switches to the local Sketchbook

To Reproduce
Steps to reproduce the behavior:

  1. launch IDE
  2. expand Sketchbook
  3. select Remote Sketchbook (sign in if necessary)
  4. double-click a Sketch which is not open
  5. it will open to another window but the state of the sidebar will change

Expected behavior
The sidebar will automatically open to the last view the user had when double-clicking (or opening from the 3 dots menu)

Activity

added and removed
priority: highResolution is a high priority
on Nov 2, 2021
added this to the arduino-ide rc5 milestone on Jan 25, 2022
AlbyIanna

AlbyIanna commented on Mar 14, 2022

@AlbyIanna
Contributor

I discussed it with @91volt and we defined a slightly more detailed behavior.

Expected behavior
Whenever a sketch is opened (by double-clicking it on the sidebar or opening it from the 3 dots menu or when the Arduino IDE is launched from scratch) the sidebar will automatically open at the location of the current sketch; e.g.: if I open a remote sketch, the sidebar will show with the remote sketchbook open.
Note that if I close the editor with another widget open (the Library Manager, for example), when I re-open the IDE I still want the sidebar to show the sketchbook at the sketch location.

EDIT:
Ignore this comment. The expected behavior is the one in the description.

modified the milestone: arduino-ide rc5 on Mar 24, 2022
removed this from the arduino-ide rc6 milestone on Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Participants

    @cmaglie@fstasi@ubidefeo@AlbyIanna@per1234

    Issue actions

      Sketchbook sidebar: opening a sketch will not show the last state of the sidebar in the new window · Issue #442 · arduino/arduino-ide