Created attachment 107747 [details] 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.
@zenw@yandex.ru If you already found the problematic code, would you like to write a patch for it by yourself? I really don't have much time for this project.
I checked both v2.6 and Git with Breeze Dark and I can't confirm the issue. Loading usage dialog is dark for me. The only white thing I noticed is circle diagram (called Filelight view) background, however I'm not sure if this is by design or not. Removing the code @zenw suggested doesn't help with the Filelight view. @zenw, can you test again? What theme do you use?
Created attachment 110739 [details] Disk Usage screenshot with Breeze Dark
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!