When I have many files, so I have to scroll down or up to open other files in explorer tab. But the problem is that I can't scroll anywhere, scrollbar comes to the current opend file always, if i just select other files (down or up to currently opened files) so then only i am able to scroll a bit down or up. That's is first problem, second is related to Serial monitor.
While I have to print many lines continously in every delay of time, i am unable to see last line and it just gets hidden downward. If i scroll down it can be seen then only. I think printing area to be shifted some upwards. When the another line(or new line) is sent from Arduino, the previous line gets vissible but the line sent just now is not hidden. This process continues when other line is sent form arduino uno, same as above previous line now vissible but last line hidden. In my case I had made the Arduino UNO and numeric keypad circuit. Project is like that whenever I press any key in numeric keypad so its printed alphabet is printed on Serial monitor. But whenever i press new key it is not shown in Serial monitor instantly but previous key press becomes vissible (earlier which was invissible). I think its issue with new Arduino IDE 2.0.3 as this was not with older IDE 1. Thank you, I hope that my problem will be resolved in next update of Arduino ide 2.0.3
Hi @piyushsuteri . Thanks for your reports.
The Arduino IDE developers are tracking this bug here:
opened 10:48PM - 12 Dec 22 UTC
closed 08:47AM - 02 Mar 23 UTC
conclusion: resolved
priority: medium
topic: code
type: imperfection
### Describe the problem
If an item is selected in the "**Sketchbook** view a… nd the view is scrolled until that item goes off screen, the scroll jumps back to bring the selected item into visibility if the mouse pointer is over the view.
### To reproduce
1. If you don't already, create enough sketches in the sketchbook to make the "**Sketchbook**" view scrollable.
**ⓘ** You can reduce the necessary number of sketches by resizing the IDE window to the minimum vertical size.
1. Click the folder icon on the Activity Bar to open the Sketchbook view.
1. Click on any item in the view that can be scrolled off screen.

1. Drag the scroll bar until the selected item is off screen.
1. Move the mouse pointer over the Sketchbook view.
🐛 The view jumps pack to the scroll position that makes the selected item visible.
1. Use the mouse wheel to scroll the Sketchbook view until the selected item is off screen.
🐛 The view jumps pack to the scroll position that makes the selected item visible.
### Expected behavior
You are able to scroll farther down the list and then click what you are interested in. You should be able to scroll what you selected up out of sight.
### Arduino IDE version
76f9f63
### Operating system
Windows
### Operating system version
10
### Additional context
This behavior is not obvious and you can keep scrolling for a few moments until you realize you are getting nowhere.
---
You can scroll using the arrow keys, but this moves the highlight down the list of files, which is different behavior.
---
The **Boards Manager** and **Library Manager** views do not have this problem (possibly because their contents are not selectable in the same way as the **Sketchbook** view.
---
Additional reports:
- https://github.com/arduino/arduino-ide/issues/1891
- https://github.com/arduino/arduino-ide/issues/1900
- https://forum.arduino.cc/t/sketchbook-folder-depth/1068392/4
- https://forum.arduino.cc/t/sketchbook-folder-depth/1068392/6
### Issue checklist
- [X] I searched for previous reports in [the issue tracker](https://github.com/arduino/arduino-ide/issues?q=)
- [X] I verified the problem still occurs when using the latest [nightly build](https://www.arduino.cc/en/software#nightly-builds)
- [X] My report contains all necessary details
If you have a GitHub account, you can subscribe to that issue to get notifications of any new developments related to this subject.
The Arduino IDE developers are tracking this bug here:
opened 08:25AM - 04 Dec 22 UTC
closed 03:11PM - 07 Mar 23 UTC
conclusion: resolved
topic: code
type: imperfection
topic: serial monitor
### Describe the problem
The Arduino IDE "**Serial Monitor**" view has a "**T… oggle Autoscroll**" control. When this is enabled, the view automatically scrolls down as the number of lines of data exceed the visible height of the view.
🐛 The autoscroll is not done completely, resulting in the most recently printed line only being partly visible.
### To reproduce
#### Equipment
- Any Arduino board capable of serial output.
#### Steps
1. Create a sketch that produces sufficient serial output to exceed the height of the "**Serial Monitor**" view:
```cpp
void setup() {
Serial.begin(9600);
delay(10000);
for (byte counter = 0; counter <= 100; counter++) {
Serial.print("hello #");
Serial.println(counter);
}
}
void loop() {}
```
1. Connect the Arduino board to your computer.
1. Select the board and port in Arduino IDE.
1. Open the "**Serial Monitor**" view if it is not already open.
1. Select "**9600 baud**" from the dropdown baud rate menu at the top right corner of the "**Serial Monitor**" view.
1. If it is not already enabled, click the "**Toggle Autoscroll**" icon near the top left corner of the "**Serial Monitor**" view to enable autoscroll.
1. Select **Sketch > Upload** from the Arduino IDE menus.
1. Wait for the upload to finish successfully.
1. Immediately select the "**Serial Monitor**" tab in the bottom panel.
**ⓘ** The "immediately" instruction, as well as the delay in the sketch, are required to avoid the demo's result being affected by a separate autoscroll-related bug `https://github.com/arduino/arduino-ide/issues/1724`
1. Wait until the sketch program's 10 s delay has passed.
🐛 The line shown at the bottom of the "**Serial Monitor**" view is not `hello #100` as expected:

1. Scroll the output field of the "**Serial Monitor**" view downward.
🐛 The field was not scrolled all the way to the end of the output even though autoscroll was enabled.
### Expected behavior
The most recently printed line is always shown above the bottom edge of the Serial Monitor view when autoscroll is enabled.
### Arduino IDE version
#### Original report
5695fd8
#### Last verified with
76f9f63
### Operating system
Windows
### Operating system version
10
### Additional context
I bisected the issue to https://github.com/arduino/arduino-ide/commit/ac9cce1 / https://github.com/arduino/arduino-ide/pull/1662 (it does not occur when using the build from https://github.com/arduino/arduino-ide/commit/c0af1e6)
---
This bug also occurred in previous versions of Arduino IDE: https://github.com/arduino/arduino-ide/issues/972, but was fixed by https://github.com/arduino/arduino-ide/pull/1446
#### Additional reports
(from current incarnation of the bug)
- https://github.com/arduino/arduino-ide/issues/1891
- https://github.com/arduino/arduino-ide/issues/1602#issuecomment-1368299055
- https://forum.arduino.cc/t/arduino-2-0-3-serial-monitor-autoscroll-inoperative/1062358
- https://forum.arduino.cc/t/auto-scroll-wont-scroll-all-the-way/1089933
- https://forum.arduino.cc/t/bug-arduino-2-0-0-serial-monitor-scrolling-hides-last-line/1042690/7
- https://forum.arduino.cc/t/arduino-ide-2-0-4-is-now-available/1095650/4
(from time of the previous incarnation of the bug: https://github.com/arduino/arduino-ide/issues/972)
- https://github.com/arduino/arduino-ide/issues/1267
- https://github.com/arduino/arduino-ide/issues/1198
- https://github.com/arduino/arduino-ide/issues/812#issuecomment-1196261344
- https://forum.arduino.cc/t/ide-2-0-rc6-serial-monitor-window-clipping-on-bottom-line/984677
- https://forum.arduino.cc/t/serial-monitor-never-shows-the-last-line/1003734
- https://forum.arduino.cc/t/serial-monitor-still-not-showing-last-line/1091388
- https://forum.arduino.cc/t/arduino-ide-2-0-4-is-now-available/1095650/4
- https://forum.arduino.cc/t/serial-monitor-not-scrolling-properly-in-version-23-1-6049-build-23-1-7883-775/1097581
#### Related
- https://github.com/arduino/arduino-ide/issues/1724
### Issue checklist
- [X] I searched for previous reports in [the issue tracker](https://github.com/arduino/arduino-ide/issues?q=)
- [X] I verified the problem still occurs when using the latest [nightly build](https://www.arduino.cc/en/software#nightly-builds)
- [X] My report contains all necessary details
You'll be glad to know that someone has already submitted a proposed fix for the bug so hopefully it will be resolved soon:
arduino:main
← sfe-SparkFro:#1736
opened 11:45PM - 15 Feb 23 UTC
### Motivation
The serial monitor auto-scroll doesn't go all the way down, as d… iscussed in #1736
### Change description
`componentDidUpdate()` has been added to the serial monitor code, which calls `scrollToBottom()`. This ensures the serial monitor goes to the bottom whenever new messages are received.
### Other information
I have very little experience with React and TypeScript, so this may not be the best solution. But it works on my end, and no one else seemed to be working on this bug.
### Reviewer checklist
* [x] PR addresses a single concern.
* [x] The PR has no duplicates (please search among the [Pull Requests](https://github.com/arduino/arduino-ide/pulls) before creating one)
* [x] PR title and description are properly filled.
* [x] Docs have been added / updated (for bug fixes / features)
system
Closed
August 17, 2023, 2:08pm
3
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.