Image 01
profile-image

MisterSir

Mister Sir
test
Photo of the Day

Plasma 4 Extensions 67 comments

Score 68.0%
Dec 04 2010
None of the photos seem to scale smoothly--they all look horribly jagged. Comparing it to the Flickr photo widget, the difference is harsh.

I don't know how Qt works, but I wonder if there's a bug in this code in potd.cpp:

// Respect the smooth-scaling setting
p->setRenderHint(QPainter::SmoothPixmapTransform, m_smoothScaling);
// draw our pixmap into the computed rectangle
Qt::TransformationMode trMode = m_smoothScaling ? Qt::SmoothTransformation : Qt::FastTransformation;

// get photo
QPixmap pm;
if ( false == m_bAnimating )
{
pm = m_pPhoto->scaled( drawingRect.size().toSize(), Qt::KeepAspectRatio, trMode );
}
else
{
QPixmap from = m_pOldPhoto->scaled( drawingRect.size().toSize(), Qt::IgnoreAspectRatio, Qt::FastTransformation );
QPixmap to = m_pPhoto->scaled( drawingRect.size().toSize(), Qt::IgnoreAspectRatio, Qt::FastTransformation );

pm = Plasma::PaintUtils::transition( from, to, m_transtionOpacity );
}

p->drawPixmap(drawingRect.toRect(), pm);
p->restore();

p->setRenderHint(QPainter::SmoothPixmapTransform, true); - May 16 2011
Ambiance plasma

Plasma Themes 44 comments

Score 81.0%
Jan 10 2011
Thanks, it works now. Nice work! Plasma needs more simple, thin themes like this! The ones that come with KDE are ostentatious and bloated-looking. You ought to send this to Kubuntu and ask them to include it in Natty. - Jan 02 2011
I installed it via Get Hot New Stuff in KDE 4.5.4 but it doesn't show up in the Plasma theme list. - Jan 02 2011
Score 75.5%
9   Jun 29 2012
Ambiance plasma

Plasma Themes
by Scnd101

Score 81.0%
9   Jan 02 2011