Summary: | find dialog box background color makes it nearly impossible to see text | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | keka <kekapir267> |
Component: | application | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED WORKSFORME | ||
Severity: | major | CC: | christoph, lual |
Priority: | NOR | ||
Version First Reported In: | 20.12.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | screenshot |
Description
keka
2020-12-29 23:38:11 UTC
Created attachment 143447 [details]
screenshot
same problem on my linux mint (with custom theme).
We use the proper color theme colors for that: QPalette background(lineEdit->palette()); switch (matchResult) { case MatchFound: // FALLTHROUGH case MatchWrappedForward: case MatchWrappedBackward: // Green background for line edit KColorScheme::adjustBackground(background, KColorScheme::PositiveBackground); break; case MatchMismatch: // Red background for line edit KColorScheme::adjustBackground(background, KColorScheme::NegativeBackground); break; case MatchNothing: // Reset background of line edit background = QPalette(); break; case MatchNeutral: KColorScheme::adjustBackground(background, KColorScheme::NeutralBackground); break; } For me this works reasonable well, if the color schemes that are used have non-usable colors in these roles, one should report that to the individual desktops/.... that ship them. |