diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-29 13:33:03 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-29 13:33:03 +0200 |
| commit | 0da34c765da9b9c831befdab659c9eb0c79c9079 (patch) | |
| tree | 8746369fb1e6f78da04fa1d9ab5c4300c9c45774 /desktop/modules/sound/SoundPage.qml | |
| parent | b33c7f5ec094469becd4f842e2bed37efb85dcfb (diff) | |
| download | quickshell-0da34c765da9b9c831befdab659c9eb0c79c9079.tar.gz quickshell-0da34c765da9b9c831befdab659c9eb0c79c9079.zip | |
fix(sound): swap background cover when the track changes
The crossfade only brought a loaded cover to the front when the image's
source compared equal to the wanted URL. It never did for a title with
spaces or brackets: the URL carries the title as a percent-encoded
fragment cache buster, and QUrl reads it back decoded, so "#Foo%20Bar"
came back as "#Foo Bar". The load finished, loaded() bailed, and the old
cover stayed. Confirmed with a standalone qml test.
The slot being loaded is now tracked by index instead. Stale status
changes cannot match: only the back image is ever reloaded, and a newer
want resets it before assigning.
Seen working on screen by the user.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'desktop/modules/sound/SoundPage.qml')
0 files changed, 0 insertions, 0 deletions
