Submission checklist
Bug description
If in Noctalia settings, the corner radius is set to 0, it doesn't get exported to /var/lib/noctalia-greeter/sync.toml.
The corners are then rounded to a default value.
Different from #89, since it's not related to the manual config
Steps to reproduce
- In noctalia settings, set appearance -> corner roundness to 0.00
- Sync noctalia settings to greeter
cat /var/lib/noctalia-greeter/sync.toml
- No corner_radius_scale` field
Expected behavior
When syncing with corner rounding at 0 from noctalia settings, a line looking like corner_radius_scale = 0 appears in /var/lib/noctalia-greeter/sync.toml
Actual behavior
When syncing with corner rounding at 0 from noctalia settings, no corner_radius_scale field is present in /var/lib/noctalia-greeter/sync.toml
Logs / error output
noctalia-greeter version
1.1.0-1
Distribution
Arch-based
Environment information
Installation method: CachyOS Repos
18:36:35 $ printf "With corner rounding at 0.20\n\n" && head /var/lib/noctalia-greeter/sync.toml
With corner rounding at 0.20
# noctalia-greeter sync.toml (UI + Sync; not managed by Nix)
# [session] last, [session.power] suspend/reboot/shutdown, [[session.actions]] action/command/label/glyph
# [appearance] scheme, theme_mode, corner_radius_scale, font_family
# [appearance.palette] full color role table, [appearance.wallpaper]/[appearance.wallpapers.<connector>]
# [output] layout/transforms
[appearance]
corner_radius_scale = 0.20000000298023224
font_family = "Fira Sans"
scheme = "Synced"
curry@splatsville ~
18:37:58 $ printf "With corner rounding at 0.00\n\n" && head /var/lib/noctalia-greeter/sync.toml
With corner rounding at 0.00
# noctalia-greeter sync.toml (UI + Sync; not managed by Nix)
# [session] last, [session.power] suspend/reboot/shutdown, [[session.actions]] action/command/label/glyph
# [appearance] scheme, theme_mode, corner_radius_scale, font_family
# [appearance.palette] full color role table, [appearance.wallpaper]/[appearance.wallpapers.<connector>]
# [output] layout/transforms
[appearance]
font_family = "Fira Sans"
scheme = "Synced"
theme_mode = "light"
Additional context
No response
Submission checklist
Bug description
If in Noctalia settings, the corner radius is set to 0, it doesn't get exported to
/var/lib/noctalia-greeter/sync.toml.The corners are then rounded to a default value.
Different from #89, since it's not related to the manual config
Steps to reproduce
cat /var/lib/noctalia-greeter/sync.tomlExpected behavior
When syncing with corner rounding at 0 from noctalia settings, a line looking like
corner_radius_scale = 0appears in/var/lib/noctalia-greeter/sync.tomlActual behavior
When syncing with corner rounding at 0 from noctalia settings, no
corner_radius_scalefield is present in/var/lib/noctalia-greeter/sync.tomlLogs / error output
noctalia-greeter version
1.1.0-1
Distribution
Arch-based
Environment information
Additional context
No response