diff --git a/applets/taskmanager/package/contents/ui/ToolTipInstance.qml b/applets/taskmanager/package/contents/ui/ToolTipInstance.qml --- a/applets/taskmanager/package/contents/ui/ToolTipInstance.qml +++ b/applets/taskmanager/package/contents/ui/ToolTipInstance.qml @@ -114,6 +114,7 @@ text: generateTitle() textFormat: Text.PlainText opacity: 0.75 + visible: !hasPlayer } // subtext PlasmaExtras.Heading { @@ -169,7 +170,7 @@ width: header.width // similar to 0.5625 = 1 / (16:9) as most screens are // round necessary, otherwise shadow mask for players has gap! - height: Math.round(0.5 * width) + height: Math.round(0.5 * width) + (hasPlayer? theme.mSize(theme.defaultFont).height : 0) anchors.horizontalCenter: parent.horizontalCenter visible: isWin @@ -196,6 +197,21 @@ } } + Image { + id: albumArtBackground + source: albumArt + anchors.fill: parent + fillMode: Image.PreserveAspectCrop + visible: albumArtImage.available + layer.enabled: true + opacity: 0.25 + layer.effect: FastBlur { + source: albumArtBackground + anchors.fill: parent + radius: 30 + } + } + Image { id: albumArtImage // also Image.Loading to prevent loading thumbnails just because the album art takes a split second to load @@ -205,7 +221,7 @@ sourceSize: Qt.size(parent.width, parent.height) asynchronous: true source: albumArt - fillMode: Image.PreserveAspectCrop + fillMode: Image.PreserveAspectFit visible: available ToolTipWindowMouseArea {