Your Android phone and your Windows PC, working as one. Local-first, end-to-end encrypted, no account.
Fix album art going blank when the media card switches
Bee394079a2a3a8
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex e30d706..202ac58 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -4,6 +4,14 @@ All notable changes to Nectarlink. Versions follow[semantic versioning](https://semver.org); before 1.0, a minor version maychange things that need a step from you, and its notes say so.+## Unreleased++### Fixed++- Windows: album art no longer goes blank on the Home media card after the track+ changes or the card switches between the phone and this PC. The same fix covers+ rounded images elsewhere (notifications, calls, messages, the shelf).+## 0.1.3 (2026-10-15)Hive, a new theme for both apps, and updates to the Windows app that work ondiff --git a/desktop/app/qml/components/RoundedImage.qml b/desktop/app/qml/components/RoundedImage.qmlindex 55279ea..369d1dd 100644--- a/desktop/app/qml/components/RoundedImage.qml+++ b/desktop/app/qml/components/RoundedImage.qml@@ -13,10 +13,6 @@ Item {property alias implicitImageWidth: image.implicitWidthproperty alias implicitImageHeight: image.implicitHeightproperty real radius: Theme.radiusMd- // The layers must exist before the effect samples them. Gating them on the image's- // status leaves the effect blank after the source changes (a new track's artwork).- readonly property bool active: root.visible && root.width > 0 && root.height > 0- && String(image.source).length > 0Image {id: image@@ -24,26 +20,26 @@ Item {asynchronous: truemipmap: truefillMode: Image.PreserveAspectCrop- visible: false- layer.enabled: root.active+ opacity: status === Image.Ready ? 1 : 0+ Behavior on opacity { enabled: !Theme.reduceMotion; NumberAnimation { duration: Theme.fadeNormal } }+ // The mask runs as the image's own layer effect, so it redraws whenever the image+ // does: a new track's artwork, a switch between sources, or the card being shown+ // again. A separate MultiEffect sampling a hidden layer kept a stale, blank texture.+ layer.enabled: root.width > 0 && root.height > 0+ layer.smooth: true+ layer.effect: MultiEffect {+ maskEnabled: true+ maskSource: mask+ maskThresholdMin: 0.5+ maskSpreadAtMin: 1.0+ }}Rectangle {id: maskanchors.fill: parentradius: root.radiusvisible: false- layer.enabled: root.active+ layer.enabled: truelayer.smooth: true}- MultiEffect {- visible: root.active- anchors.fill: parent- source: image- maskEnabled: true- maskSource: mask- maskThresholdMin: 0.5- maskSpreadAtMin: 1.0- opacity: image.status === Image.Ready ? 1 : 0- Behavior on opacity { enabled: !Theme.reduceMotion; NumberAnimation { duration: Theme.fadeNormal } }- }}