AvengeMedia / AvengeMedia/DankMaterialShell
Volume alert does not show the correct volume level
- Dominant language
- QML
- Stars
- 8.1k
- Forks
- 515
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 102
Description
### Compositor
Niri
### Distribution
Arch Linux
### If Other, please specify
_No response_
### Select your Installation Method
DankInstaller
### 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 v1.4.3
- /usr/bin/dms
- [warn] Quickshell: quickshell 0.2.1, revision , distributed by: Arch Linux
- /usr/bin/qs
- [ok] DMS Shell: v1.4.3
- /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] niri: 25.11
- /usr/bin/niri
- [info] Active: niri
**Quickshell Features**
- [info] Polkit: Not available
- Authentication prompts
- [info] IdleMonitor: Not available
- Idle detection
- [info] IdleInhibitor: Not available
- Prevent idle/sleep
- [info] ShortcutInhibitor: Not available
- Allow shortcut management (niri)
**Optional Features**
- [ok] accountsservice: Available
- User accounts
- [warn] power-profiles-daemon: Not available
- Power profile management
- [ok] logind: Available
- Session management
- [warn] cups-pk-helper: Not available (install cups-pk-helper)
- Printer management
- [ok] I2C/DDC: 1 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: kitty
- [ok] Network: NetworkManager
- NetworkManager present. Using NM API.
- [ok] matugen: Installed
- Dynamic theming
- [ok] dgop: Installed
- System monitoring
- [warn] cava: Missing
- 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/roxy/.config/DankMaterialShell/settings.json
- [ok] clsettings.json: Present
- /home/roxy/.config/DankMaterialShell/clsettings.json
- [ok] plugin_settings.json: Present
- /home/roxy/.config/DankMaterialShell/plugin_settings.json
- [ok] session.json: Present
- /home/roxy/.local/state/DankMaterialShell/session.json
- [ok] dms-colors.json: Present
- /home/roxy/.cache/DankMaterialShell/dms-colors.json
**Services**
- [warn] dms.service: Disabled
- [info] greetd: Not installed
- Optional greeter service
**Environment**
- [info] QT_QPA_PLATFORMTHEME: qt6ct
- [info] QS_ICON_THEME: Not set
---
**Summary:** 0 error(s), 5 warning(s), 22 ok
### Description
I just update today from 1.2 to 1.4 and then i realize that the number showing the volume level on the alert is now capped to 100%
### Expected Behavior
I expected it to continue working as before without the cap so i dont need to open the dms menu to see the volume level i have, or at least make a config option to restore that behavior
### Steps to Reproduce
1. increase volume with `wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.1+`
2. the number shown is capped at 100% only on volume alert, the one in the dms show the right number
### Error Messages/Logs
_No response_
### Screenshots/Recordings
https://github.com/user-attachments/assets/67257afa-0bd0-44ad-b5b6-4ea6eab4fd07
Contributor guide
Research direction
No source file or test is named. Start by locating the volume alert implementation and compare its displayed level with the DMS menu value, reproducing the issue with `wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.1+`. Done means the alert reports volume above 100% consistently with the menu, with a regression check if this area has tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- arch-linux, linux
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100