Skip to content

Increase contrast of "Select board" text in the GUI in Linux #2009

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

Closed
3 tasks done
aliphys opened this issue Apr 11, 2023 · 10 comments
Closed
3 tasks done

Increase contrast of "Select board" text in the GUI in Linux #2009

aliphys opened this issue Apr 11, 2023 · 10 comments
Assignees
Labels
topic: code Related to content of the project itself topic: theme Related to GUI theming type: imperfection Perceived defect in any part of project

Comments

@aliphys
Copy link

aliphys commented Apr 11, 2023

Describe the request

Make the "Select board" text more clear by using the same colour scheme in Windows (dark grey text on light grey background)

Describe the current behavior

The "Select Board" element is white on a light grey background and very difficult to see.

nls.localize('arduino/board/selectBoard', 'Select Board');

image
This is also the case when a board is selected as well.
image

Arduino IDE version

2.0.4

Operating system

Linux

Operating system version

Ubuntu 22.04

Additional context

No response

Issue checklist

  • I searched for previous requests in the issue tracker
  • I verified the feature was still missing when using the latest nightly build
  • My request contains all necessary details
@aliphys aliphys added the type: enhancement Proposed improvement label Apr 11, 2023
@aliphys
Copy link
Author

aliphys commented Apr 11, 2023

The lack of contrast is only problematic on the default Light (Arduino) theme. For example, this is the Light (Theia) theme in which the text is clear.
image

@kittaakos
Copy link
Contributor

Make the "Select board" text more clear by using the same colour scheme in Windows (dark grey text on light grey background)

Thank you for taking the time to report the issue, @aliphys 👍

This issue is related to the eclipse-theia/theia#11151 upstream defect. We have a pending fix for the problem, but it will be available after the next IDE2 release: #1994.

Please check if you can fix the problem locally. I am going to provide the steps:

  • Start IDE2,
  • When the window has loaded, please press Ctrl/⌘+Alt+I,
  • The right-hand side of the window the developer tools opens,
  • If you do not see the Console, press Esc,
  • Type the following into the console indexedDB.deleteDatabase('theia-monaco') and press Enter.
  • Restart IDE2.
delete_indexedDB.mp4

Thank you!

@kittaakos kittaakos added status: waiting for information More information must be provided before work can proceed topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project topic: theme Related to GUI theming and removed type: enhancement Proposed improvement labels Apr 11, 2023
@aliphys
Copy link
Author

aliphys commented Apr 11, 2023

Thanks @kittaakos for your explanation and clear steps. I followed your steps, did not see any changes locally

Screencast.from.04-11-2023.11.13.15.PM.webm

@aliphys
Copy link
Author

aliphys commented Apr 11, 2023

Following the same steps on the nightly build Version: 2.0.5-nightly-20230403 Date: 2023-04-03T03:03:24.048Z, also does not fix the contrast.
image
Hope you have fun working on #1994 😃 Do let me know if I can provide additional information from my side @kittaakos

@kittaakos
Copy link
Contributor

Thank you for trying it. Could you please zip up the ~/.config/arduino-ide folder and attach it to the issue if it's not too large? On my macOS, it's less than 2 MB. We will figure out another way to share this folder if it's impossible.

@kittaakos kittaakos removed the status: waiting for information More information must be provided before work can proceed label Apr 12, 2023
@kittaakos kittaakos self-assigned this Apr 12, 2023
@aliphys
Copy link
Author

aliphys commented Apr 12, 2023

Here you go!
arduino-IDE folder.zip

Both the arduino-ide and Arduino IDE folders are included in the zip file.
image

@aliphys aliphys changed the title Increase contrast of "Select board" text in the GUI in Linux [AE-63] Increase contrast of "Select board" text in the GUI in Linux Apr 12, 2023
@kittaakos
Copy link
Contributor

I copied the arduino-ide folder content to the macOS location (/Users/a.kitta/Library/Application Support/arduino-ide), and I could reproduce the strange coloring on macOS with 2.0.4.

Screen Shot 2023-04-12 at 14 35 54

@kittaakos
Copy link
Contributor

I followed your steps, did not see any changes locally

Strange. It worked for me.

reset.mp4

@aliphys, could you please double-check you have executed the command in the Console without any typos?

@aliphys
Copy link
Author

aliphys commented Apr 12, 2023

I entered exactly this command into the console:

indexedDB.deleteDatabase('theia-monaco')

image

@aliphys
Copy link
Author

aliphys commented Apr 27, 2023

The themes included in IDE 2.1.0, do not have the problem stated in this issues anymore.

  • Light
    • image
  • Dark
    • image
  • High Contrast
    • image

Marking issue as completed! Thanks @kittaakos 🎉

@aliphys aliphys closed this as completed Apr 27, 2023
@per1234 per1234 changed the title [AE-63] Increase contrast of "Select board" text in the GUI in Linux Increase contrast of "Select board" text in the GUI in Linux Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself 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