AvengeMedia / AvengeMedia/DankMaterialShell

Battery charge limit: "Apply to Hardware" button text stays in back between color modes

Open Beginner friendly
#3,411 1 comment 0 reactions 0 assignees View on GitHub
bug
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

Source

### Was this your original Installation method?

No (specify below)

### If no, specify

Distro Packaging

### dms doctor -vC

## 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.6.1
- /usr/bin/dms
- [ok] Quickshell: Quickshell 0.3.1 (revision , distributed by Arch Linux)
- /usr/bin/qs
- [ok] DMS Shell: v1.7-beta
- ~/Projects/DankMaterialShell/quickshell

**Installation**
- [ok] DMS Configuration: Found
- ~/Projects/DankMaterialShell/quickshell
- [ok] shell.qml: Present
- ~/Projects/DankMaterialShell/quickshell/shell.qml
- [info] Install Type: Unknown
- ~/Projects/DankMaterialShell/quickshell

**Compositor**
- [ok] Hyprland: 0.56.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
- [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, JP2, ICNS (/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: ghostty, kitty
- [ok] Network: NetworkManager
- NetworkManager present; iwd also running (likely NM's Wi-Fi backend). Using NM API.
- [ok] matugen: Installed
- Dynamic theming
- [ok] cava: Installed
- Audio visualizer
- [info] khal: Not installed
- Calendar events
- [info] danksearch: Not installed
- File search
- [info] dankcalendar: Not installed
- Calendar app
- [ok] fprintd: Installed
- Fingerprint auth
- [ok] adw-gtk3: Installed
- GTK3 dynamic theming (user copy)

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

**Services**
- [ok] dms.service: enabled, active
- [info] greetd: disabled

**Environment**
- [info] QT_QPA_PLATFORMTHEME: Not set
- [info] QT_QPA_PLATFORMTHEME_QT6: Not set
- [info] QS_ICON_THEME: Not set
- [info] XDG_MENU_PREFIX: Not set

**Fonts**
- [ok] Normal Font: Inter Variable
- /home/jerry/Projects/DankMaterialShell/quickshell/DankCommon/assets/fonts/inter/InterVariable.ttf
- [ok] Monospace Font: Fira Code
- /home/jerry/Projects/DankMaterialShell/quickshell/DankCommon/assets/fonts/nerd-fonts/FiraCodeNerdFont-Regular.ttf

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

### Description

Theme: generic blue light.
Under Settings > Power & Security > Protection, the text "Apply to Hardware" is in black regardless of color mode.

### Expected Behavior

The text should switch between white and black, or it could be invisible to users.

### Steps to Reproduce

1. Install DMS.
2. Go to Settings > Power & Security > Protection
3. Switch between color modes

### Error Messages/Logs

_No response_

### Screenshots/Recordings

# Light mode:
Image

# Dark mode:
Image

# Invisible case:
Image

Contributor guide

Open the contributing guide

Research direction

Start at Settings > Power & Security > Protection and inspect the color bindings for the "Apply to Hardware" button text. Reproduce the issue by switching between light and dark modes, then verify that the text remains readable in both modes.

Written by the indexing model from the issue text.

Assessment

Domain
desktop
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
70/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.