Skip to content

Serial Monitor text highlight invisible when using "Light High Contrast" theme #2266

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
3 tasks done
frankcohen opened this issue Oct 26, 2023 · 4 comments
Open
3 tasks done
Labels
topic: serial monitor Related to the Serial Monitor topic: theme Related to GUI theming type: imperfection Perceived defect in any part of project

Comments

@frankcohen
Copy link

frankcohen commented Oct 26, 2023

Describe the problem

When using the "Light High Contrast" IDE UI theme, no highlight is visible for text selected in the "Serial Monitor" view.

To reproduce

  1. Select File > Preferences... (or Arduino IDE > Settings... for macOS users) from the Arduino IDE menus.
  2. Select "Light" from the "Theme" menu.
  3. Click the "OK" button.
  4. Upload any sketch that produces serial output:
    void setup() {
      Serial.begin(9600);
      while (!Serial) {}
      delay(200);
      Serial.println("The original machine had a base-plate of prefabulated aluminite, surmounted by a\n malleable logarithmic casing in such a way that the two main spurving bearings\n were in a direct line with the pentametric fan. The latter consisted simply of\n six hydrocoptic marzlevanes, so fitted to the ambifacient lunar waneshaft that\n side fumbling was effectively prevented. The main winding was of the normal\n lotus-o-delta type placed in panendermic semi-bovoid slots in the stator, every\n seventh conductor being connected by a non-reversible tremie pipe to the\n differential girdlespring on the \"up\" end of the grammeters.");
    }
    void loop() {}
  5. Open the "Serial Monitor" view.
  6. Click and drag the mouse pointer across the text in the "Serial Monitor" view.
    🙂 The selected text is highlighted by a contrasting background color:
    image
  7. Select File > Preferences... (or Arduino IDE > Settings... for macOS users) from the Arduino IDE menus.
  8. Select "Light High Contrast" from the "Theme" menu.
  9. Click the "OK" button.

🐛 There is no highlight on the selected text:

sm-highlight

Expected behavior

Text selected in "Serial Monitor" is highlighted in some way regardless of which supported theme is selected.

Arduino IDE version

69b7365

Operating system

  • macOS
  • Windows

Operating system version

  • macOS Sonoma 14.0 (23A344)
  • Windows 11

Additional context

Same behavior in:
arduino-ide_nightly-20230804_macOS_64bit
and Arduino IDE 2.2.1


The low level functionality of the highlight works fine even though it is not visible. You can copy the invisibly highlighted text to the clipboard as usual.

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details
@frankcohen frankcohen added the type: imperfection Perceived defect in any part of project label Oct 26, 2023
@per1234 per1234 added the topic: serial monitor Related to the Serial Monitor label Oct 26, 2023
@per1234

This comment was marked as outdated.

@frankcohen

This comment was marked as outdated.

@per1234

This comment was marked as duplicate.

@per1234 per1234 changed the title Serial monitor copy not functional on MacOS Serial Monitor text highlight invisible when using "Light High Contrast" theme Oct 26, 2023
@per1234 per1234 added the topic: theme Related to GUI theming label Oct 26, 2023
@frankcohen
Copy link
Author

Awesome, I confirm that switching to Light theme and I am able to select regions of text in the Serial Monitor panel normally. I tried it on the Dark and Dark High Contract themes and they work correctly too. Just my luck! lol -Frank

P.S. - I just got my appointment for cataract surgery this morning. Thank the team for the high contrast themes, they help me a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: serial monitor Related to the Serial Monitor topic: theme Related to GUI theming type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants