Skip to content

Notifications' app icon doesn't refresh for every new notification #2480

@enderprism

Description

@enderprism

Compositor

Niri

Distribution

Other (specify below)

If Other, please specify

EndeavourOS

Select your Installation Method

Distro Packaging

Was this your original Installation method?

Yes

If no, specify

No response

dms doctor -vC

Click to expand
## DMS Doctor Report

**System**
- [ok] Operating System: EndeavourOS
  - ID: endeavouros, Version: 2023.11.17, Arch: amd64
- [ok] Architecture: amd64
- [ok] Display Server: Wayland
  - WAYLAND_DISPLAY=wayland-1

**Versions**
- [ok] DMS CLI: dms v1.4.6
  - /usr/bin/dms
- [ok] Quickshell: Quickshell 0.3.0 (revision , distributed by Arch Linux)
  - /usr/bin/qs
- [ok] DMS Shell: v1.4.6
  - /usr/share/quickshell/dms

**Installation**
- [ok] DMS Configuration: Found
  - /usr/share/quickshell/dms
- [ok] shell.qml: Present
  - /usr/share/quickshell/dms/shell.qml
- [info] Install Type: System package
  - /usr/share/quickshell/dms

**Compositor**
- [ok] Hyprland: 0.55.2
  - /usr/bin/hyprland
- [ok] niri: 26.04
  - /usr/bin/niri
- [info] Active: niri
- [ok] Background Blur: Supported
  - Compositor supports ext-background-effect-v1

**Quickshell Features**
- [ok] Polkit: Available
  - Authentication prompts
- [ok] IdleMonitor: Available
  - Idle detection
- [ok] IdleInhibitor: Available
  - Prevent idle/sleep
- [ok] ShortcutInhibitor: Available
  - Allow shortcut management (niri)
- [ok] BackgroundBlur: Available
  - Background blur API support in Quickshell

**Optional Features**
- [ok] accountsservice: Available
  - User accounts
- [ok] power-profiles-daemon: Available
  - Power profile management
- [ok] logind: Available
  - Session management
- [warn] cups-pk-helper: Not available (install cups-pk-helper)
  - Printer management
- [ok] I2C/DDC: 2 monitor(s) detected
  - External monitor brightness control
- [ok] qt6-imageformats: Installed (5 formats)
  - Formats: WebP, TIFF, GIF, JP2, ICNS (/usr/lib/qt6/plugins/imageformats:/usr/lib64/qt6/plugins/imageformats)
- [ok] kimageformats: Installed (4 formats)
  - Formats: AVIF, HEIF, JXL, EXR (/usr/lib/qt6/plugins/imageformats:/usr/lib64/qt6/plugins/imageformats)
- [ok] Terminal: ghostty
- [ok] Network: NetworkManager
  - NetworkManager present. Using NM API.
- [warn] matugen: Missing
  - Dynamic theming
- [ok] dgop: Installed
  - System monitoring
- [ok] cava: Installed
  - Audio visualizer
- [info] khal: Not installed
  - Calendar events
- [info] danksearch: Not installed
  - File search
- [info] fprintd: Not installed
  - Fingerprint auth

**Config Files**
- [ok] settings.json: Present
  - /home/enderprism/.config/DankMaterialShell/settings.json
- [info] clsettings.json: Not yet created
  - /home/enderprism/.config/DankMaterialShell/clsettings.json
- [ok] plugin_settings.json: Present
  - /home/enderprism/.config/DankMaterialShell/plugin_settings.json
- [ok] session.json: Present
  - /home/enderprism/.local/state/DankMaterialShell/session.json
- [info] dms-colors.json: Not yet created
  - /home/enderprism/.cache/DankMaterialShell/dms-colors.json

**Services**
- [ok] dms.service: enabled, active
- [info] greetd: Not installed
  - Optional greeter service

**Environment**
- [info] QT_QPA_PLATFORMTHEME: kde
- [info] QS_ICON_THEME: Not set

---
**Summary:** 0 error(s), 2 warning(s), 30 ok

Description

I use mpv as my media player and more specifically to play music. I have an mpv script set up to send a notification when the track changes, and it sets the app icon to the cover art of the new track.
With dunst, the app icon was always the cover art of the new track, but with DMS' notification daemon, the cover art is the same throughout notifications, unless I wait some time (I'd say ~30s) between notifications.

Expected Behavior

The notification should always reflect the right app icon.

Steps to Reproduce

  1. Play a music playlist in mpv with the mpv-notify script.
  2. Change tracks in quick succession
  3. Observe the app icon always being the same instead of properly reflecting the cover art of the track.

Error Messages/Logs

No response

Screenshots/Recordings

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions