DankMaterialShell icon indicating copy to clipboard operation
DankMaterialShell copied to clipboard

Skipping to a track on the same album makes the popup notification stale

Open tenzinplatter opened this issue 3 weeks ago • 2 comments

Compositor

Niri

Distribution

Arch Linux

If Other, please specify

No response

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: Arch Linux
    • ID: arch, Version: rolling, Arch: amd64
  • [ok] Architecture: amd64
  • [ok] Display Server: Wayland
    • WAYLAND_DISPLAY=wayland-1

Versions

  • [ok] DMS CLI: dms v2.1.2
    • /usr/bin/dms
  • [ok] Quickshell: Quickshell 0.3.2 (revision , distributed by Arch Linux)
    • /usr/bin/qs
  • [ok] DMS Shell: v2.1.2
    • /run/user/1000/dms-shell/c1d9d6b0acd2e1e4

Installation

  • [ok] DMS Configuration: Found
    • /run/user/1000/dms-shell/c1d9d6b0acd2e1e4
  • [ok] shell.qml: Present
    • /run/user/1000/dms-shell/c1d9d6b0acd2e1e4/shell.qml
  • [info] Install Type: Unknown
    • /run/user/1000/dms-shell/c1d9d6b0acd2e1e4

Compositor

  • [ok] Hyprland: 0.57.2
    • /usr/bin/hyprland
  • [ok] niri: 25.11
    • /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
  • [ok] cups-pk-helper: Available
    • Printer management
  • [info] I2C/DDC: No monitors detected
    • External monitor brightness control
  • [ok] qt6-imageformats: Installed (5 formats)
    • Formats: WebP, TIFF, GIF, ICNS, JP2 (/usr/lib/qt6/plugins/imageformats:/usr/lib/qt/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: kitty, alacritty
  • [ok] Network: NetworkManager
    • NetworkManager present. Using NM API.
  • [ok] matugen: Installed
    • Dynamic theming
  • [ok] cava: Installed
    • Audio visualizer
  • [ok] khal: Installed
    • Calendar events
  • [info] dux-search: Not installed
    • File search
  • [info] dux-calendar: Not installed
    • Calendar app
  • [info] dux-files: Not installed
    • File manager
  • [ok] fprintd: Installed
    • Fingerprint auth
  • [ok] adw-gtk3: Installed
    • GTK3 dynamic theming (system copy, applied on next theme apply)

Config Files

  • [ok] settings.json: Present
    • /home/tnezin/.config/dms/settings.json
  • [info] clsettings.json: Not yet created
    • /home/tenzin/.config/dms/clsettings.json
  • [ok] plugin_settings.json: Present
    • /home/tenzin/.config/dms/plugin_settings.json
  • [ok] session.json: Present
    • /home/tenzin/.local/state/dms/session.json
  • [ok] dms-colors.json: Present
    • /home/tenzin/.cache/dms/dms-colors.json

Services

  • [ok] dms.service: enabled, active
  • [info] greetd: Not installed
    • Optional greeter service
  • [ok] xdg-desktop-portal: Settings portal reachable

Environment

  • [info] QT_QPA_PLATFORMTHEME: Not set
  • [info] QT_QPA_PLATFORMTHEME_QT6: Not set
  • [info] QS_ICON_THEME: Not set
  • [warn] XDG_MENU_PREFIX: Not set
    • Dolphin file associations and 'Open with…' dialog may be empty. dms.service and apps launched from DMS only see the systemd user environment, so set XDG_MENU_PREFIX=plasma- in ~/.config/environment.d/; a compositor environment block does not reach them.

Fonts

  • [ok] Normal Font: Google Sans Flex
    • /run/user/1000/dms-shell/c1d9d6b0acd2e1e4/DCommon/assets/fonts/google-sans-flex/GoogleSansFlex.ttf
  • [ok] Monospace Font: Fira Code
    • /run/user/1000/dms-shell/c1d9d6b0acd2e1e4/DCommon/assets/fonts/nerd-fonts/FiraCodeNerdFont-Regular.ttf
  • [ok] Display Font: DM Serif Display
    • /run/user/1000/dms-shell/c1d9d6b0acd2e1e4/DCommon/assets/fonts/dm-serif-display/DMSerifDisplay-Regular.ttf

Summary: 0 error(s), 1 warning(s), 38 ok

Description

When a new song starts playing from the same album the popup notification has stale text (i.e. the last song, not the new playing one). I assume this has something to do with the album art being reused and bad cache invalidation somewhere, though I have not investigated. I also cannot tell whether this is due to the art or the album itself, as I cannot separate those.

Expected Behavior

The newly playing song's title should come up.

Steps to Reproduce

  1. Play a song
  2. Skip to another song on the same album

Error Messages/Logs

No response

Screenshots/Recordings

image As you can see the media player has updated and shows the correct song, but the popup shows the last song that was playing.

tenzinplatter avatar Nov 12 '26 01:11 tenzinplatter

I'd like to take this one too, could one of you assign me? @bbedward @purian23 I'll reproduce it with two tracks from the same album first. The popup waits for the cover to load before it shows, and when the cover stays the same that wait might not finish the way it should, so that's where I'd start looking.

Mario-Mohar avatar Nov 15 '26 09:11 Mario-Mohar

There's some something fishy about this one, I started to track it down earlier but didn't yet follow up. It's yours @Mario-Mohar

purian23 avatar Nov 15 '26 09:11 purian23