Page 1 of 1

Menus in OpenMV IDE are black on black text

Posted: Fri May 11, 2018 4:24 am
by able_archer
I just installed the OpenMV IDE on Kubuntu 18.04.
I'm using the Breezy Dark theme, which is one of the 3 default themes.
The IDE works fine, but the text in the menus are black on a very dark background, making it nearly impossible to read.
Could you create a setting to change the color of the font in the menus, or detect a darktheme usage in some way?
Thanks in advance

Image

Image

Re: Menus in OpenMV IDE are black on black text

Posted: Fri May 11, 2018 11:19 am
by kwagyeman
Hi, it looks like your loading up the wrong theme. There's a way to fix this without recompiling but I'll have to get back to you tonight.

Re: Menus in OpenMV IDE are black on black text

Posted: Sun May 13, 2018 3:33 pm
by kwagyeman
Hi, it looks like your loading up the flat theme. Um, You can fix this manually by going into the install dir and editing the theme files:

$OPENMV_INSTALL_DIR/share/qtcreator/themes/

Inside that directory you'll find 3 theme files. A default, flat, and dark one. The flat theme is the one that's loaded by default. Please edit the menu colors in that file and restart OpenMV IDE.

I'm not sure why the text color is wrong... or the menus are black. I feel like the IDE is picking the wrong color because of an OS level hint was not handled. The issue where this bug in the IDE is is likely very deep in the code base and I can't reliably fix it without a test system install.

Re: Menus in OpenMV IDE are black on black text

Posted: Sun May 13, 2018 3:35 pm
by kwagyeman
Not sure what color the text is pulling from. Most likely:

[Palette]
text=ff000000

Note that if you change anything in there it will likely affect other things...

Re: Menus in OpenMV IDE are black on black text

Posted: Sun May 13, 2018 3:36 pm
by kwagyeman
Anyway, can you put a bug on the openmv ide github for this? This will track it being a problem.

https://github.com/openmv/openmv-ide/issues

Thanks,

Re: Menus in OpenMV IDE are black on black text

Posted: Wed May 16, 2018 1:04 pm
by able_archer
I opened an issue on Github.

Thanks for the support.

Re: Menus in OpenMV IDE are black on black text

Posted: Fri Jun 22, 2018 12:37 pm
by able_archer
Any update?

Re: Menus in OpenMV IDE are black on black text

Posted: Fri Jun 22, 2018 1:03 pm
by kwagyeman
IDE fixes will be processed after we release the firmware image. We hope to finalize all the commits by the end of the week.