From: AJ F. <gol...@gm...> - 2018-01-23 07:09:31
|
Hello WSJT-X devs! This could be considered a bug so I'm going to post this like a bug report: Pertinent System Info: Program Version: 1.8.0 OS: Arch Linux (x64) [though this should be universally reproducible] DE: KDE Plasma QT Theme: Breeze-Dark Reproduction: Use a dark theme that sets font colors to white, I use the default Breeze-Dark QT theme You can evidently see the behavior pretty clearly in this image: https://i.imgur.com/NENfJLj.png It appears that the background for certain text entry box backgrounds are hard coded to white rather than using the defalt theme text box background causing light fonts to be almost unreadable. Optimally they should be using whatever the QT equivalent of inherit background color is OR if they could be set in a similar way to the other background colors that would also be perfect. I've pinpointed the two most troublesome parts of the code, making the changes I outline below impoves usability massively on dark themes, I was working off the WSJT-X 1.8 branch of the SVN: displaytext.cpp line 186 changed from: QColor bg {Qt::white}; to: QColor bg {Qt::transparent}; mainwindow.cpp line 4508 changed from: p.setColor(QPalette::Base,Qt::white); to: p.setColor(QPalette::Base,Qt::transparent); In theory these changes shouldn't effect light themes as their backgrounds are already white or a light color, they significantly help dark themes. 73 AJ Fite N7AJF |