Repository navigation
Colour animation overshoot causes flicker on UI element active/inactive transitions #2720
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Compositor
Niri
Distribution
CachyOS
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 ReportSystem
- [ok] Operating System: CachyOS
- ID: cachyos, Version: rolling, Arch: amd64
- [ok] Architecture: amd64
- [ok] Display Server: Wayland
- WAYLAND_DISPLAY=wayland-1
Versions
- [ok] DMS CLI: dms v1.4.0-751-g16111812
- /usr/bin/dms
- [ok] Quickshell: Quickshell 0.3.0 (revision 7d1c9a9c6721606b129829134d6f614f015621e2, distributed by AUR (package: quickshell-git))
- /usr/bin/qs
- [ok] DMS Shell: v1.5-beta
- /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
- [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
- [ok] I2C/DDC: 3 monitor(s) detected
- External monitor brightness control
- [ok] qt6-imageformats: Installed (1 formats)
- Formats: GIF (/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, kitty, alacritty
- [ok] Network: NetworkManager
- NetworkManager present. Using NM API.
- [ok] matugen: Installed
- Dynamic theming
- [ok] dgop: Installed
- System monitoring
- [ok] cava: Installed
- Audio visualizer
- [ok] khal: Installed
- Calendar events
- [ok] danksearch: Installed
- File search
- [ok] fprintd: Installed
- Fingerprint auth
Config Files
- [ok] settings.json: Present
- /home/user/.config/DankMaterialShell/settings.json
- [info] clsettings.json: Not yet created
- /home/user/.config/DankMaterialShell/clsettings.json
- [ok] plugin_settings.json: Present
- /home/user/.config/DankMaterialShell/plugin_settings.json
- [ok] session.json: Present
- /home/user/.local/state/DankMaterialShell/session.json
- [ok] dms-colors.json: Present
- /home/user/.cache/DankMaterialShell/dms-colors.json
Services
- [ok] dms.service: enabled, active
- [ok] greetd: enabled
Environment
- [info] QT_QPA_PLATFORMTHEME: qt6ct
- [info] QS_ICON_THEME: Not set
Fonts
- [ok] Normal Font: Adwaita Sans
- Available
- [ok] Monospace Font: JetBrains Mono
- Available
Summary: 0 error(s), 0 warning(s), 38 ok
Description
When colour transitions happen it overshoots causing a distracting flicker that looks wrong.
Expected Behavior
The colour transitions smoothly between states using standard interpolation without exceeding the target colour values.
Steps to Reproduce
Pick a grey and dark colour for the workspace switcher and change focus between the two.
Error Messages/Logs
No response
Screenshots/Recordings
watch the lower pill
https://github.com/user-attachments/assets/0ac69d85-cc59-4812-bd91-b4d712a62c2f
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Activity
fix(WorkspaceSwitcher): color handling w/animation transition
animations: add DankColorAnimation helper to properly animate between