Sketchbook folder depth

with IDE 2.0.3 (on linux 64-bit), the new IDE doesn't show deep folders. for example i have
sketchbook/teensy/tests/linpack/linpack.ino
the "tests" folder is not shown in the dropdown. if i use the "Open" option, i can reach the deeper folders (and the older IDE had no problems with deep folders )

Exactly where does it not show deep folders ?
Which dropdown ?

In the IDE i click on File then Sketchbook then teensy ....then i have a long dropdown list of my folders in teensy/ but there is no "tests" listed. (To see "Sketchbook" in File dropdown menu i have to have a device plugged into the USB)

I thought I would try it out, using todays nightly build 1220

So I have a very large set of stuff in
Sketchbook/Teensy Tests/....

So I created a folder ST77 tests and moved all of the ST77xx test sketches into it.
I closed the IDE and then reopened. You can see the sketches using the File -> Open menu

Now if I try to open it through the sketchbook, it looks like maybe logically it moved all of them back up to "Teensy Tests" level

And if I open up the sketchbook pane
This time they are showing up:

The previous run (I closed and reopened the IDE), this pain would not allow me to scroll down to this point. It kept scrolling me back up to to top of Teensy tests. Maybe it was still enumerating or the like, and deciding to scroll. Not sure.

Hi @mantoui. This bug is being tracked by the Arduino IDE developers here:

If you have a GitHub account, you can subscribe to that issue to get notifications of any new developments related to this subject.

@KurtE I do not know whether we are talking about the same thing.

When I select an entry in the sketchbook list it gets highlighted. It could be a folder. Now whenever I use the scroll bar to move away and then move the cursor back into the panel, the list keeps jumping to show the selected entry, it becomes almost impossible to select anything far away from that selection.

I found if you press the escape key the selection is removed and you can again scroll. Hope I explained what I am trying to say :wink:.

1 Like

There is a known bug with similar symptoms:

But note this is specifically about scrolling the "Sketchbook" view using the scrollwheel on the mouse. It does not occur if you are using the scrollbar to scroll.

@Willem43 that appears to be the one I was hitting. Did not realize that maybe I had selected one.
But sure enough, when one is slected and I use the scroll wheel of the mouse, as soon as I stop scrolling, it jumps back up to the highlighted one.

@ptillisch same problem. If you use the scrollbar it does the same jump to the selected one as soon as the cursor enters the sketchbook panel.

Press escape key, to cancel the selection, and all scrolls correctly again.

Thanks. I didn't notice that the fault occurs any time the mouse pointer is over the view (that is guaranteed when scrolling via the mouse wheel, but I didn't happen to do it when using the scrollbar).

I have updated the issue report to reflect the full scope of the bug.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.