How can you tell if autoscroll is turned on in the serial monitor (IDE V2)?
Hi @allenm001 . It is indicated by the background color of the icon.
Here you can see the darker background of the icon when autoscroll is enabled (using the "Light (Arduino) " theme):
Here you can see the light background when it is disabled:
The exception is when using the "High Contrast (Theia) " theme, it is indicated by a border around the icon when it is enabled:
Thank you! I'll have to try a different theme. Mine does not change. I so rarely use themes, it never occurred to me that it could be that simple.
Yes! Changing themes fixed it! Thanks again.
You are welcome. I'm glad it is working now.
Were you using the "Light (Theia) " or "Dark (Theia) " themes? There is a known bug in those themes that causes the icon state to not be visible:
opened 05:02AM - 13 Jun 22 UTC
closed 10:03PM - 03 Aug 22 UTC
conclusion: declined
topic: code
type: imperfection
topic: theme
topic: serial monitor
### Describe the problem
The behavior of the Arduino IDE's Serial Monitor can… be controlled by the user via icons on the toolbar:
- "**Toggle Autoscroll**"
- "**Toggle Timestamp**"
- "**Clear Output**"
The first two of these are toggles, where they alternate between an enabled and a disabled state on each click.
The current state of those two controls is indicated by coloration, most prominently by the background color (the foreground color does change, but almost imperceptibly).
🐛 When using the "**Dark (Theia)**" or "**Light (Theia)**" themes in the Arduino IDE, the background color of the icon no longer changes to indicate its state.
Icons enabled and disabled coloration with "**Dark (Theia)**" theme in Arduino IDE 2.0.0-rc6-snapshot-b8c718c:

(note the gray background of the "**Toggle Autoscroll**" indicates it is enabled, while the black background of "**Toggle Timestamp**" indicates it is disabled)
Icons enabled and disabled coloration with "**Dark (Theia)**" theme in Arduino IDE 2.0.0-rc7:

(note the "**Toggle Autoscroll**" icon has a black background even though it is enabled)
### To reproduce
1. Select **File > Preferences...** from the Arduino IDE menus.
1. Select "**Dark (Theia)**" from the "**Theme**" menu.
1. Click the <kbd>**OK**</kbd> button.
1. Select **Tools > Serial Monitor** from the Arduino IDE menus to open the "**Serial Monitor**" view, if it is not already open.
1. Click on the "**Toggle Autoscroll**" and "**Toggle Timestamp**" toolbar icons.
🐛 The background color does not change.
1. Select **File > Preferences...** from the Arduino IDE menus.
1. Select "**Light (Theia)**" from the "**Theme**" menu.
1. Click the <kbd>**OK**</kbd> button.
1. Click on the "**Toggle Autoscroll**" and "**Toggle Timestamp**" toolbar icons.
🐛 The background color does not change.
### Expected behavior
Serial Monitor control icon background color reflects the state.
### Arduino IDE version
#### Original report
2.0.0-rc7
#### Last verified with
2.0.0-rc8-snapshot-f4a68e7
### Operating system
Windows, Linux
### Operating system version
Windows 10, Ubuntu 20.04
### Additional context
I bisected the introduction of the issue to 1ae60ec9bcd8a9941285849dcb7c914bd60b69d3 (does not occur when using the build for b8c718ce9e53db81cffa5d4b32b61efc51ac1950).
---
Originally reported at https://forum.arduino.cc/t/monitor-toggle-autoscroll/1001575
---
The issue does not affect the other themes ("High Contrast (Theia)", "Light (Arduino)", "Dark (Arduino)")
### 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
Since those themes are deprecated anyway, and the maintained themes are not affected, the project managers decided it was not worth investing the resources into fixing the bug.
I was using "Dark Theia." Now I am using "Arduino Dark" and it works fine. Thanks again.
1 Like
system
Closed
October 15, 2023, 2:47pm
7
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.