Skip to content

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

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

Closed
ubidefeo opened this issue Jul 8, 2021 · 1 comment · Fixed by #1102
Assignees
Labels
conclusion: resolved Issue was resolved criticality: high Of high impact priority: high Resolution is a high priority topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@ubidefeo
Copy link

ubidefeo commented Jul 8, 2021

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)

@cmaglie cmaglie removed the type: bug label Sep 16, 2021
@rsora rsora added the type: imperfection Perceived defect in any part of project label Sep 22, 2021
@ubidefeo ubidefeo added priority: high Resolution is a high priority topic: code Related to content of the project itself labels Oct 22, 2021
@rsora rsora added criticality: high Of high impact and removed priority: high Resolution is a high priority labels Nov 2, 2021
@ubidefeo ubidefeo added the priority: high Resolution is a high priority label Nov 4, 2021
@fstasi fstasi added this to the arduino-ide rc5 milestone Jan 25, 2022
@AlbyIanna
Copy link
Contributor

AlbyIanna commented Mar 14, 2022

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.

@fstasi fstasi modified the milestones: arduino-ide rc5, arduino-ide rc6 Mar 24, 2022
@fstasi fstasi removed this from the arduino-ide rc6 milestone Jun 21, 2022
@per1234 per1234 added the conclusion: resolved Issue was resolved label Jul 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved criticality: high Of high impact priority: high Resolution is a high priority topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
6 participants