diff --git a/containments/desktop/package/contents/ui/FolderItemDelegate.qml b/containments/desktop/package/contents/ui/FolderItemDelegate.qml --- a/containments/desktop/package/contents/ui/FolderItemDelegate.qml +++ b/containments/desktop/package/contents/ui/FolderItemDelegate.qml @@ -17,7 +17,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . * ***************************************************************************/ -import QtQuick 2.4 +import QtQuick 2.8 import QtGraphicalEffects 1.0 import org.kde.plasma.plasmoid 2.0 @@ -58,7 +58,13 @@ Loader { id: loader - anchors.fill: parent + // On the desktop we pad our cellSize to avoid a gap at the right/bottom of the screen. + // The padding per item is quite small and causes the delegate to be positioned on fractional pixels + // leading to blurry rendering. The Loader is offset to account for this. + x: -main.x % 1 + y: -main.y % 1 + width: parent.width + height: parent.height visible: status === Loader.Ready @@ -348,7 +354,18 @@ font.italic: model.isLink - visible: !editor || editor.targetItem != main + visible: { + if (editor && editor.targetItem === main) { + return false; + } + + // DropShadow renders this Item already, hide it unless we're not rendering with OpenGL where DropShadow won't function. + if (frameLoader.textShadow && frameLoader.textShadow.visible && GraphicsInfo.api === GraphicsInfo.OpenGL) { + return false; + } + + return true; + } } Component {