diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-15 18:20:33 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-15 18:20:33 +0200 |
| commit | 9c65aeb157fe16ab5a651f39c92902440f2d5344 (patch) | |
| tree | c07d216503c4d278b318d61987bb1998d2bd671b /notifications | |
| parent | 29886e00273127c228054e2b0097e12fe132c07f (diff) | |
| download | quickshell-9c65aeb157fe16ab5a651f39c92902440f2d5344.tar.gz quickshell-9c65aeb157fe16ab5a651f39c92902440f2d5344.zip | |
The sanitizer matched the first \bsrc anywhere in the tag, so a
data-src="file:///tmp/decoy" before a remote src won the match and kept
the whole tag while Qt, which ignores data-src, fetched the remote
image. Scan every src assignment in the tag and keep it only if all of
them are local. Also set cache: false on the balloon preview, since the
daemon overwrites the same path on a replace and QQuickPixmapCache keys
on URL, so a replaced notification could show the previous image.
Diffstat (limited to 'notifications')
| -rw-r--r-- | notifications/NotificationBalloon.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/notifications/NotificationBalloon.qml b/notifications/NotificationBalloon.qml index bfccda3..49ec0b4 100644 --- a/notifications/NotificationBalloon.qml +++ b/notifications/NotificationBalloon.qml @@ -155,5 +155,6 @@ Rectangle { source: visible ? "file://" + b.notification.image : "" fillMode: Image.PreserveAspectFit asynchronous: true + cache: false } } |
