In dark mode or in the dark high contrast modes the icon to reveal the passphrase is close to invisible.
High contrast mode in Windows 10:
In dark mode or in the dark high contrast modes the icon to reveal the passphrase is close to invisible.
High contrast mode in Windows 10:
| rP Pinentry | |||
| rPf264aaae1074 qt: Replace icons for dark mode with 16x16 icons | |||
| rPf4be34f83fd2 qt: Add dark mode icon variants and detection | |||
Tested on Linux, modern Windows and Windows 10 2016.
I was curious to test if this all worked by using the new Qt6 dark mode query:
/* Check for dark scheme to determine the icons */
#if QT_VERSION >= QT_VERSION_CHECK(6, 5, 0)
QStyleHints *styleHints = qApp->styleHints();
if (styleHints && styleHints->colorScheme() == Qt::ColorScheme::Dark) {
mIconSuffix = QStringLiteral("_dark");
}
#endifAnd it worked in the high contrast and dark mode scenarios.