faustlive icon indicating copy to clipboard operation
faustlive copied to clipboard

Text labels for arbitrary numbers are invisible on macOS Mojave

Open 1l0 opened this issue 6 years ago • 5 comments

It can be selected to see what number is but normally white text on white background on any themes. Screen Shot 2019-06-03 at 12 50 13

1l0 avatar Jun 03 '19 09:06 1l0

it seems this is a more general issue with macOS's dark mode being incompletely supported, resulting also in black text on a dark grey background etc.

i worked around this by adding NSRequiresAquaSystemAppearance = YES to the app's Info.plist, which enforces the light mode.

ahihi avatar Mar 13 '20 12:03 ahihi

I've noticed that text is unreadable on my Arch Linux installation as well, presumably due to similar incomplete support for the dark theme set in my GUI toolkit.

DocSunset avatar Jun 22 '22 14:06 DocSunset

Are you able to compile yourself: https://github.com/grame-cncm/faustlive and https://github.com/grame-cncm/faustlive/tree/master/Build and possibly hack the code to fix it?

sletz avatar Jun 22 '22 15:06 sletz

I had a bit of trouble compiling because I forgot to git submodule update --init --recursive, but I managed it in the end. After a bit of poking around, I noticed that the default stylesheets are overridden in a number of places with calls to setStyleSheet. Considering at least one text label was overridden to have color: black, I thought this might be related to the problem, so I commented out all of the stylesheet overrides. This significantly improved the situation, enough so that I'm willing to state with certainty that these stylesheet overrides are the problem.

I leave it to you lovely maintainers to decide how best to proceed. Personally I don't mind the default styles.

DocSunset avatar Jun 22 '22 16:06 DocSunset

Can you prepare a pull request with your changes ?

sletz avatar Jun 22 '22 16:06 sletz