Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.13.0
-
None
-
e371eafd4bde6f83ca7c9dd1373e41017851fe42 (qt-creator/qt-creator/4.13)
Description
I use a dark IDE / light editor combination of themes to help me focus on the code without going fullscreen code. This generally works quite well except that warning text marks are barely legible - see the screenshot.
Looking into the Qt Creator code (https://code.woboq.org/qt5/qt-creator/src/plugins/texteditor/textmark.cpp.html#142) it seems that instead of using the background colour from the current editor style the general background colour (configured by PaletteBase setting in the theme file - playing with it confirms this guess) is used to ensure that the warning foreground colour is distinct on the text mark background. It would be more correct to use the editor background colour to calculate the warning foreground colour.
Attachments
For Gerrit Dashboard: QTCREATORBUG-24644 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
313975,3 | Editor: Calculate annotation color based on editor color scheme | 4.13 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
313976,1 | Editor: Calculate annotation color based on editor color scheme | master | qt-creator/qt-creator | Status: ABANDONED | 0 | 0 |