Have just installed 2.0 beta and have noticed an annoyance with the serial window.
If the serial device (a Nano in my case) sends something to the window then the window seems to scroll up so that the last line is hidden below the bottom of the window. You have to drag the slider down to see the lowermost line. I initially thought this only affected data without a carriage return/line feed but it seems to be all text which is affected regardless.
Hi @davegsm82 . Thanks for taking the time to give the Arduino IDE 2.0.0 release candidate a try, and for your report.
This bug is being tracked by the Arduino IDE developers here:
opened 09:40PM - 26 Apr 22 UTC
closed 10:26AM - 20 Sep 22 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. Upload a sketch that produces sufficient serial output to exceed the height of the "**Serial Monitor**" view.
For example:
```cpp
int counter;
void setup() {
Serial.begin(9600);
}
void loop() {
Serial.print("hello #");
Serial.println(counter++);
delay(500);
}
```
1. Open the "**Serial Monitor**" view.
1. Select "**9600 baud**" from the dropdown baud rate menu at the top right corner of the "**Serial Monitor**" view.
1. Select the "**Toggle Autoscroll**" icon at the right side of the bottom panel toolbar if it is not already.
1. Wait for the serial output to exceed the visible height of the view.
🐛 The most recently printed line is only partly visible:
![image](https://user-images.githubusercontent.com/8572152/165396962-bd486181-f69f-46b8-ad9e-b2eda1eb65ba.png)
This is especially problematic when the line contains data that is important for the user to see at the time it is printed vs a constant data stream where the previous line serves just as well at the moment as the unreadable one.
### Expected behavior
The most recently printed line is always shown above the bottom edge of the Serial Monitor view.
### Arduino IDE version
2.0.0-rc6
### Operating system
Windows
### Operating system version
10
### Additional context
I bisected the issue to https://github.com/arduino/arduino-ide/commit/aba9db6a6b8b26c768ae6da09fabab58f382a9f1 (it does not occur when using the build from https://github.com/arduino/arduino-ide/commit/e5b34624ac297dd7f9d237342988848818c3b66b)
---
The line does become fully visible if I manually scroll the Serial Monitor down.
---
Originally reported at:
- 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
### 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://github.com/arduino/arduino-ide#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.
system
Closed
March 7, 2023, 10:08pm
3
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.