<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi everybody,</p>
<p>regarding this bug: <a class="moz-txt-link-freetext"
href="https://bugs.kde.org/show_bug.cgi?id=387943">https://bugs.kde.org/show_bug.cgi?id=387943</a>
(icons cut off / not shown on the home screen of KPA) I did quite
a few experiments such as amending the Ubuntu install with lots of
files from Kubuntu, but none were successful.</p>
<p>Finally I dug around in the code and found in <b>Browser/OverviewPage.cpp</b>
starting at line 148 some code, that adds icons to the home
screen:</p>
<p>1. I noticed that sometimes QString::fromLatin1 and sometimes
QString::fromUtf8 is used. (does it matter??)</p>
<p>2 The icons are pulled from some theme "QIcon::fromTheme" ... and
this does not work. So most probably a dependency is missing, that
adds this theme and the corresponding icons. Or the respective
icons are not there in gtk-*</p>
<p>3. I replaced the lines with <b>QIcon::fromTheme </b>with <b>QIcon(QString::fromUtf8("some
abs. filename, known to exist") </b>and got the screenshot as
appended. If the icons were from the 64x64 folder. With smaller
icons, all the icons are cut off, depending on image size. In the
original code all icons are cut off to the hight of the text line.<br>
</p>
<p>I did not find the place in the code, where the icon for Media
Type is set. This seems to happen somewhere else (??).</p>
<p>So the issue seems to find a set of really existing icons of size
64x64 - maybe set some image shipped with KPA as the default. And
find the correct dependency for the icons from the theme.</p>
<p>I hope this helps nailing the bug above.</p>
<p>Happy New Year, Andreas<br>
</p>
</body>
</html>