The size of monitor window is a little bit shorter or the last line positioning is miscalculating.
On picture you can see the last line is partially printed.
I running Arduino IDE 2.0.0-rc9.1 on Windows 10 Pro 2H21
Hi @CamargoF . Thanks for your report. The Arduino IDE developers are tracking this bug 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:

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.
1 Like
system
Closed
February 1, 2023, 2:20am
3
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.