[kaddressbook] [Bug 357374] Huge Skype and Google Talk icons in Contacts panel view

Jonathan Marten via KDE Bugzilla bugzilla_noreply at kde.org
Wed Jan 6 19:35:07 GMT 2016


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

Jonathan Marten <jjm at keelhaul.me.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jjm at keelhaul.me.uk

--- Comment #4 from Jonathan Marten <jjm at keelhaul.me.uk> ---
Think I implemented the display of these icons, 2 years ago for KDE4.  Assuming
that the code is mostly unchanged, it does:

const QString iconUrl = KUrl::fromPath( KIconLoader::global()->iconPath(
      IMProtocols::self()->icon( typeKey ), -KIconLoader::SizeSmall) ).url();
const QString url = QString::fromLatin1( "<img src=\"%1\" align=\"top\"/>"
).arg( iconUrl );

It tries to force the appropriate small size, but it's not certain what happens
if there is no icon of that size available, only larger ones - if the returned
path points to a larger icon then that is what will be seen.  If so, would
setting an explicit width= and height= in the HTML fragment work?

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list