https://bugs.kde.org/show_bug.cgi?id=416638

            Bug ID: 416638
           Summary: Dark Background detection is not working
           Product: konsole
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: konsole-de...@kde.org
          Reporter: man...@rueg.eu
  Target Milestone: ---

Created attachment 125318
  --> https://bugs.kde.org/attachment.cgi?id=125318&action=edit
ColorScheme-Fix-DarkBackground-Detection.patch

Commit
https://github.com/KDE/konsole/commit/dc29be39a640e9300204f5f1ec676e7b09a2fa08#diff-29f711eecf64b2a15f382213e5b36a77R407
changed the way a dark background is detected in the color scheme.

STEPS TO REPRODUCE
1. Set to dark background
2. Check COLORFGBG variable


OBSERVED RESULT
Dark Background is not detected and COLORFGBG is set to 0;15

EXPECTED RESULT
Dark Background is detected and COLORFGBG is set to 15;0

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Gentoo Linux
KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.66.0
Qt Version: 5.13.2


I believe the luminance returned by rgb2hsluv is actually between 0 and 100 and
not a percentage that is between 0 and 1.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to