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

Konrad Materka <kmate...@wp.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kmate...@wp.pl

--- Comment #2 from Konrad Materka <kmate...@wp.pl> ---
I think we can remove the code responsible for icon scaling from
xembedsniproxy:

if (w != s_embedSize || h != s_embedSize) {
    qCDebug(SNIPROXY) << "Scaling pixmap of window" << m_windowId << Title() <<
"from w*h" << w << h;
    m_pixmap = m_pixmap.scaled(s_embedSize, s_embedSize, Qt::KeepAspectRatio,
Qt::SmoothTransformation);
}

As we are scaling the client window down, it will only be performed on icons
smaller that 32x32. It will be scaled up anyway in the StatusNofierItem.qml,
from systemtray applet - this is a better place for that.

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

Reply via email to