qtrvsim
qtrvsim copied to clipboard
Text in the text field is not visible when using dark mode
Description
I have the problem that my text is not really visible when typing in the text field.
https://github.com/cvut/qtrvsim/assets/24459435/02092af0-d5f9-4736-8451-75029caa8b99
Workaround
I discovered that it's related to the system theme. Using light mode doesn't have this issue.
Light Mode | Dark Mode |
---|---|
System: MacBook Pro M1, macOS 13.6, I'm using v0.9.5 of qtrvsim
Maybe related to #78
Hi @nilsreichardt,
I have trouple reproducing your problem. I have checked the code and it should you named colors Qt::black
and Qt::white
for text and background respectively. I have a dark theme and I do not have such issues. I have verified , that the highlighter does not break the base text color either.
What theme do you use? Can you check what colors does it define for Qt::black
and Qt::white
?
https://github.com/cvut/qtrvsim/assets/24459435/de03aa4e-c78e-4611-95e6-2a741d63dfc1
Here is a reproducible case:
- Create a new file
- Write some characters
- Delete them
- Write again