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

            Bug ID: 384486
           Summary: Disk Usage does not respect current color theme
           Product: krusader
           Version: Git
          Platform: Kubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: disk-usage
          Assignee: m...@fork.pl
          Reporter: z...@yandex.ru
  Target Milestone: ---

Created attachment 107747
  --> https://bugs.kde.org/attachment.cgi?id=107747&action=edit
DiskUsage widget with a dark theme

When I try to use Disk Usage feature, some parts of the window are displayed
with white background regardless of system color theme. It is easily noticeable
when using a dark scheme (see an attachment).

I've checked this issue on latest git, building Krusader from source, and it
looks like problem is in the following code inside LoaderWidget class:

> krusader/DiskUsage/diskusage.cpp:96
QPalette palette = viewport()->palette();
palette.setColor(viewport()->backgroundRole(), Qt::white);
viewport()->setPalette(palette);

If the code is removed, I see no problems with the widget, it renders correctly
with any color theme.

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

Reply via email to