[KDE/Mac] Fixing graphics problems in KDE/Qt on Apple OS X

Ian Wadham iandw.au at gmail.com
Sat May 3 04:11:31 UTC 2014


Hi Marko,

This is a new problem, but hopefully not one we will see in a lot
of KDE apps. Please stick it in the wiki.

On 02/05/2014, at 7:08 AM, mk-lists at email.de wrote:
> I just tested kde4-filelight and it looks like it might also suffer from the transparency issue.
> 
> When the tool is searching for files in the filesystem it shows the number of the currently found files in a central box which is so dark that the black number in there is hardly to be seen…
> 
> Appending "--args -graphicssystem raster” to the open call did NOT solve the problem though.

The progress thingy in the center of the diagram gets its background color from
http://api.kde.org/4.12-api/kdelibs-apidocs/kdeui/html/classKColorScheme.html
It is choosing colors for Active status in a Tooltip (usually yellow?). Visibility was
much improved when I inserted a line in the paintEvent() method of
kdeutils/filelight/src/part/progressBox.cpp, which said:

    paint.setPen(view.foreground().color());

The text then came out in white. The default pen is black. See bug report and patch at:

https://bugs.kde.org/show_bug.cgi?id=334261
https://bugs.kde.org/attachment.cgi?id=86423&action=edit

Cheers, Ian W.

P.S. Nice little utility that one!




More information about the kde-mac mailing list