fix: address audit findings — blur channel mismatch, logout quit, config error logging
- Fix BGRA→RGBA channel swap in apply_blur so image::RgbaImage semantics match the actual pixel data from GDK texture download - Logout now calls app.quit() like lock does, via new quit_after field on ActionDef (replaces fragile magic string comparison) - Log TOML parse errors to stderr instead of silently ignoring - Remove pointless zlib compression of JPEG wallpaper in GResource - Add tests for quit_after behavior and config error handling
This commit is contained in:
@@ -3,6 +3,19 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
Format based on [Keep a Changelog](https://keepachangelog.com/).
|
||||
|
||||
## [0.4.1] - 2026-03-28
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fix pixel format mismatch in blur path — `texture.download()` yields BGRA but was passed to `RgbaImage` without channel swap, now explicitly converts B↔R
|
||||
- Logout action now calls `app.quit()` to dismiss the menu immediately (previously only Lock did)
|
||||
- Log TOML parse errors to stderr instead of silently falling back to defaults
|
||||
|
||||
### Changed
|
||||
|
||||
- Replace magic string `"lock"` comparison with `quit_after` field on `ActionDef` for type-safe action dispatch
|
||||
- Remove `compressed="true"` from JPEG wallpaper in GResource — JPEG is already compressed, zlib overhead hurts startup for negligible size savings
|
||||
|
||||
## [0.4.0] - 2026-03-28
|
||||
|
||||
### Added
|
||||
|
||||
Reference in New Issue
Block a user