Image 01
profile-image

MisterSir

Mister Sir
Photo of the Day

Plasma 4 Extensions by taskstruct 67 comments

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 by Scnd101 44 comments

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
Ambiance plasma

Plasma Themes by Scnd101 44 comments

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
7 .6
9   Jun 29 2012
Ambiance plasma

Plasma Themes
by Scnd101

8 .1
9   Jan 02 2011