Skip to content

Selected board/port displays white on white #6702

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
LightningStalker opened this issue Sep 6, 2017 · 10 comments
Closed

Selected board/port displays white on white #6702

LightningStalker opened this issue Sep 6, 2017 · 10 comments
Labels
Component: IDE user interface The Arduino IDE's user interface Component: IDE The Arduino IDE OS: Linux Specific to the Linux version of the Arduino IDE Type: Bug Type: Wontfix Arduino has decided that it will not resolve the reported issue or implement the requested feature

Comments

@LightningStalker
Copy link

Not a major issue, but slightly annoying, as it is a bit difficult to tell what board and port is selected since it is completely unreadable. Occurs in Linux, running Linux Mint 18.4 Xenial, cinnamon desktop, the same behavior occurs in latest hourly build

@facchinm facchinm added Component: IDE user interface The Arduino IDE's user interface OS: Linux Specific to the Linux version of the Arduino IDE labels Sep 6, 2017
@facchinm
Copy link
Member

facchinm commented Sep 6, 2017

Hi @LightningStalker ,
could you provide a screenshot? I'm unable to reproduce in my current environment. Thanks!

@facchinm facchinm added the Waiting for feedback More information must be provided before we can proceed label Sep 6, 2017
@PaulStoffregen
Copy link
Contributor

Colors are correct when I run it on Ubuntu 14.04 (64 bit) and Raspbian "jessie".

@LightningStalker
Copy link
Author

LightningStalker commented Sep 6, 2017

Here is a screenshot:

Image

@facchinm
Copy link
Member

facchinm commented Sep 8, 2017

It looks more "white on orange" than white on white. I think it's due to the gtk color theme chosen by your distro; I'd close it as "wontsolve"

@facchinm facchinm closed this as completed Sep 8, 2017
@facchinm facchinm added Type: Wontfix Arduino has decided that it will not resolve the reported issue or implement the requested feature and removed Waiting for feedback More information must be provided before we can proceed labels Sep 8, 2017
@PaulStoffregen
Copy link
Contributor

Agreed, this is almost certainly a Mint issue.

However, one possible workaround for @LightningStalker might involve editing the arduino start script. Deleting "-Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel" might cause the JRE to revert to some Java default rendering that looks wrong for Mint, but probably doesn't suffer from low contrast color choices.

@LightningStalker
Copy link
Author

LightningStalker commented Sep 8, 2017

@facchinm I thought it was the theme too, but changing themes does not solve the issue. And what do you mean "white on orange"? Are you looking where the board is selected next to the little dot? It definitely looks like white on white to my eyes.

@PaulStoffregen Removing that from the script does make it visible, however the text in the menus becomes really small and difficult to read.
https://imgur.com/a/sEEYW

@per1234
Copy link
Collaborator

per1234 commented Sep 8, 2017

I believe this is the issue @LightningStalker is reporting:
5efptxm
The text "Arduino/Genuino Micro" should be displayed in the blank white space I have circled in red.

@LightningStalker
Copy link
Author

Yep that's it. ☺

@facchinm
Copy link
Member

Oh, I see, sorry but I was looking at the highlighted "Leonardo ETH", my bad.

I had a small review of the code we use to setup the GTK look and feel and we don't explicitly set the "selected item" color, so it's a theme issue indeed (or some setting even more buried in system GTK settings).

I also found an old issue about the same problem on an ancient Mint #1540 , they could be doing something nasty with the gtk theme at a distribution level

@PaulStoffregen
Copy link
Contributor

Just for reference, it looks fine on Ubuntu.

sc

@per1234 per1234 added the Component: IDE The Arduino IDE label Feb 8, 2025
@per1234 per1234 marked this as a duplicate of #7144 Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: IDE user interface The Arduino IDE's user interface Component: IDE The Arduino IDE OS: Linux Specific to the Linux version of the Arduino IDE Type: Bug Type: Wontfix Arduino has decided that it will not resolve the reported issue or implement the requested feature
Projects
None yet
Development

No branches or pull requests

4 participants