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

            Bug ID: 436543
           Summary: Kvantum config overrides colors no matter what is set
           Product: filelight
           Version: 21.04.0
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: martin.sandsm...@kde.org
          Reporter: michal.dybc...@gmail.com
  Target Milestone: ---

Created attachment 138119
  --> https://bugs.kde.org/attachment.cgi?id=138119&action=edit
filelight_screenshot_unreadable_info

SUMMARY

If kvantum.kvconfig is present, it overrides the proper system colors, NO
MATTER IF KVANTUM WINDOW THEME IS EVEN TURNED ON OR OFF.

STEPS TO REPRODUCE
1. Install Kvantum and ensure that there is ~/.config/Kvantum/kvantum.kvconfig
present.
2. Set for example WhiteSur-light kvantum theme.
3. You can check it when Kvantum is enabled and then when Breeze style is
enabled - in both cases the issue exists.

OBSERVED RESULT

Gray background with gray fonts create unreadable info-fields.

EXPECTED RESULT

Info fields (whatever they are properly called) should take colors from system
colors and be readable at any time (Kvantum themes should have no effect in the
text fields).

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2
Kernel Version: 5.12.1-2-MANJARO
OS Type: 64-bit
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 530

ADDITIONAL INFORMATION

I noticed, that info is unreadable, see the screenshot. When trying to figure
out what is wrong I discovered, that setting any color theme in system settings
was immediately fixing the issue for the present diagram window. However, when
a new diagram/analysis is invoked, the same issue with unreadable fields
happen.

So it looks like when the color theme is by default being overwritten by mere
presence of kvantum.kvconfig EVEN IF SYSTEM HAS SET BREEZE STYLE OF WINDOWS (so
kvantum style is not applied)!!!

This is easy to check. Rename or remove kvantum.kvconfig, then the issue
disappears. If it shows up, we get again unreadable fields.

This is clearly inappropriate behavior. I'm not sure if the kvantum theme
should change anything in filelight, but it definitely shouldn't change when
Breeze style is chosen. And the fact that the fact of applying any color theme
is fixing it for a moment suggests that those text fields should read color
themes, not Kvantum theme.

Anyway, this is a serious issue, because:

1. With Kvantum, filelight is unusable (info is unreadable so filelight is
working properly)
2. Because Filelight incorrectly reads the kvantum.kvconfig even if kvantum
theme is inactive, makes Filelight and Kvantum to conflict when then shouldn't

In my opinion, filelight info fields should have nothing to do with kvatum
theme and should read system color themes, as they are somehow doing, but not
entirely.

The content of my ~/.config/Kvantum/kvantum.kvconfig:

[General]
theme=WhiteSur

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

Reply via email to